Releases: tradingview/lightweight-charts-android
v4.0.0
v3.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.
Enhancement
- ProGuard configuration (see #101)
- 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) - Custom color for items of candlestick and line series (see tradingview/lightweight-charts#195)
- 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
- Remove clearing message buffers on detach of view (see #89, #40)
- 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)
v3.7.0
In this version the library have migrated to backend v3.7.0.
Enhancement
- Migrate kotlin version to 1.6.0 (see #82)
- The new baseline series chart (see tradingview/lightweight-charts#151)
- Documentation about time zones support (see tradingview/lightweight-charts#781)
- Added methods to get time axis size and subscribe on size change (see tradingview/lightweight-charts#853)
- Improved performance of setting/updating series data (see tradingview/lightweight-charts#418 and tradingview/lightweight-charts#838)
- Use lowerbound in TimeScale timeToIndex search (see tradingview/lightweight-charts#767)
Fixed
- Fix support of ES6 below Chrome 62 (see #84)
- Fix kdoc for KineticScrollOptions (see #86)
- Increased min price tick mark step up to 1e-14 (from 1e-9) (see tradingview/lightweight-charts#841)
- Fix typo in customization docs (see tradingview/lightweight-charts#844)
- Do not paint time axis if it not visible (see tradingview/lightweight-charts#865)
- Remove color customisation from settings.json (see tradingview/lightweight-charts#869)
v.3.6.1
In this version the library have migrated to backend v3.6.1.
v3.6.0
In this version the library have migrated to backend v3.6.0.
Enhancement
- Gradient chart background color (see tradingview/lightweight-charts#831)
- How to add buffer animation to price jump (see tradingview/lightweight-charts#567)
- Kinetic scroll (see tradingview/lightweight-charts#832)
Fixed
- Incorrect initial barSpacing when both fixRightEdge and fixLeftEdge are enabled (see tradingview/lightweight-charts#823)
- Time axis label get cut on the edge if a fix edge option is enabled (see tradingview/lightweight-charts#835)
- Price axis doesn't respect the width of crosshair label (see tradingview/lightweight-charts#834)
- Fixed both timescale edges make lockVisibleTimeRangeOnResize turn wrong (see tradingview/lightweight-charts#814)
Error: Value is null
error while set the data is container has 0x0 size (see tradingview/lightweight-charts#821, #51)
v3.5.1
v3.5.0
Enhancement
- Add option to fix right edge (see tradingview/lightweight-charts#218)
- Drop restriction for min bar spacing value (see tradingview/lightweight-charts#558)
- Add stack trace from javascript. Also improve collecting of native stack trace in order to make available grouping of crashes in error trackers like Firebase Crashlytics. (see #58)
- Add method for taking screenshots (see #50)
- Add delegation of touch events to external listeners (see #64)
Breaking changes
-
Add option to reset color (see #41).
IntColor
is now an inheritance ofColorable
interface. Migration available through the extensiontoIntColor()
.Before:
layout = layoutOptions { backgroundColor = Color.LTGRAY textColor = Color.BLACK }
Now:
layout = layoutOptions { backgroundColor = Color.LTGRAY.toIntColor() textColor = Color.BLACK.toIntColor() }
-
ChartsView
is now an inheritance ofFrameLayout
. If you need WebView's API please consider to open an issue. (see #38)
Fixes
- Fix kdoc (see #39)
v3.3.2
v3.3.1
v3.3.0
Enhancement
- Add type predicates for series type (see tradingview/lightweight-charts#670)
- Add possibility to chose crosshairMarker color, so it will be independent from line-series color (see tradingview/lightweight-charts#310)
- Implement option not to shift the time scale at all when data is added with
setData
(see tradingview/lightweight-charts#584)