candlestick_chart 0.4.3
candlestick_chart: ^0.4.3 copied to clipboard
A candlestick chart that supports hand gestures such as pinch-to-zoom and panning.
0.4.3 #
-
Fixes:
- Out-of-range error by validating start and end indices in candlestick chart.
-
Updates:
- Improved scaling.
0.4.2 #
-
Fixes:
- Y-axis offset of the current price mark below the candle area.
- Intersection of events between horizontal scroll and scaling.
-
New Features:
- Added
prevOffsetparam intoXAxisOffsetDetails. - Added
disableInteractiontoCandlestickChartfor disabling user interaction with the chart.
- Added
-
Updates:
- Horizontal scroll has been redesigned.
0.4.1 #
-
Fixes:
- Reset to initial state if the new widget has fewer candles.
- Increase offset to keep the current position when new candles are added.
-
New Features:
- Added
animationDurationparameter to control the duration of animations.
- Added
0.4.0 #
-
Breaking Changes:
volumeColorhas been separated intovolumeGainColorandvolumeLossColor.
-
New Features:
- Added
enableGridLinesparameter to allow users to toggle the grid lines. - Added
lineColortocurrentPriceStyleto customize the color of the current price line. - Added
logoparams to ChartStyle to allow users to add a logo to the chart. - Added
minVisibleCandleCountandmaxVisibleCandleCountto control the number of visible candles in the chart. - Added
volumeLabelfor better volume data representation. - Added
currentVolumeLabelfor real-time volume data representation. - Added
priceLabelPositionstoCandlestickChartfor better customization. - Added
distanceBetweenCandletoCandlestickChartfor better customization.
- Added
-
Changes:
- Changed min candles length to 1.
0.3.7 #
- expose currentPrice to InteractiveChart.
0.3.6 #
- Added the ability to track changes in horizontal scrolling of the chart.
- Added the ability to display the current price on the right side of the chart.
- Now the chart is updated when the size of the list of candles changes.
0.3.5 #
- Update dependency: intl to ^0.19.0.
0.3.4 #
- Fix a potential crash if volume numbers are null.
0.3.3 #
- Fix an issue where
onTapevent was not firing. (Issue #8)
0.3.2 #
- Add
initialVisibleCandleCountparameter for setting a default zoom level. (Issue #6)
0.3.1 #
- Allow web and desktop users to zoom the chart with mouse scroll wheel. (Issue #4)
0.3.0 #
- BREAKING: Add support for multiple trend lines. (Issue #2)
- The old
trendproperty is changed totrends, to support multiple data points perCandleData. - The old
trendLineColorproperty is changed totrendLineStyles. - The
CandleData.computeMAhelper function no longer modifies data in-place. To migrate, changeCandleData.computeMA(data)to the following two lines:final ma = CandleData.computeMA(data);andfor (int i = 0; i < data.length; i++) { data[i].trends = [ma[i]]; }. - Update example project to reflect above changes.
0.2.1 #
- Add
onTapevent andonCandleResizeevent. - Allow
overlayInfoto return an empty object. - Update example project.
0.2.0 #
- BREAKING: Organize folder structures, now you only need to
import
package:interactive_chart/interactive_chart.dart. - BREAKING: Change CandleData
timestampto milliseconds, you might need to multiply your data by 1000 when creating CandleData objects. - Fix an issue where zooming was occasionally not smooth.
- Fix an issue where overlay panel was occasionally clipped.
0.1.1 #
- Improve performance.
- Allow
highandlowprices to be optional. - Align date/time labels towards vertical bottom.
0.1.0 #
- Initial Open Source release.