3.8.0
We're happy to announce the next release of Lightweight Charts library. This release includes many improvements and bug fixes (as usual), but we are thrilled to say that from this version the library has its own documentation website that replaces the documentation in the repository. Check it out and share your feedback in tradingview/lightweight-charts#921.
Breaking Changes
- Custom color for items of candlestick and line series (see #39, tradingview/lightweight-charts#195)
Enhancement
- Documentation website (see tradingview/lightweight-charts#875, tradingview/lightweight-charts#918, tradingview/lightweight-charts#411, tradingview/lightweight-charts#919, tradingview/lightweight-charts#922, tradingview/lightweight-charts#983, tradingview/lightweight-charts#980, tradingview/lightweight-charts#1006)
- Quick tracking mode (see tradingview/lightweight-charts#830)
Improved mouse behaviour on touch devices (like mouse connected to mobile phone/tablet) (see tradingview/lightweight-charts#106) - Labels might be cut off when disabling scale and scroll (tradingview/lightweight-charts#947)
- Add ability to disable visibility of price line line (see tradingview/lightweight-charts#969)
Fixed
- timeScale.fitContent is not working correctly (see tradingview/lightweight-charts#966)
- Delegate.unsubscribeAll method works in opposite way (see tradingview/lightweight-charts#995)
- Last price animation is active when no data added to the right (but to the left) (see tradingview/lightweight-charts#886)
- subscribeClick on mobile always get the last index of all the items (see tradingview/lightweight-charts#657)
- Incorrect crosshair position on scrolling by dragging by mouse (see tradingview/lightweight-charts#987)
- A painting slows down after a while with tons of updates (see tradingview/lightweight-charts#946)
- Bars disappear with devicePixelRatio less than 1 (see tradingview/lightweight-charts#982)
- There are no tick marks on the price axis (see tradingview/lightweight-charts#939)
- Disabling scrolling by disabled horzTouchDrag and vertTouchDrag options disables moving crosshair in tracking mode (see tradingview/lightweight-charts#434)
- Reducing precision doesn't update price scale width (see tradingview/lightweight-charts#550)
- Chart width is jumping on series change from area to candles (see tradingview/lightweight-charts#943)
- Log axis is not scaling on small number (see tradingview/lightweight-charts#874)
- Overlay series title is not rendered when no series use right price scale (see tradingview/lightweight-charts#926)
- scrollToPosition with big negative value and when no data breaks the chart (see tradingview/lightweight-charts#889)
- When rendering multiple charts with baseline series, baseValue of the last element is used on all charts series. (see tradingview/lightweight-charts#898)