File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.3.1
2
+
3
+ * Allow web and desktop users to zoom the chart with mouse scroll wheel.
4
+
1
5
## 0.3.0
2
6
3
7
* BREAKING: Add support for multiple trend lines.
4
8
* The old ` trend ` property is changed to ` trends ` , to support multiple data points per ` CandleData ` .
5
9
* The old ` trendLineColor ` property is changed to ` trendLineStyles ` .
6
- * Updated example project to reflect above changes.
10
+ * The ` CandleData.computeMA ` helper function no longer modifies data in-place. To migrate,
11
+ change ` CandleData.computeMA(data) ` to the following two lines:
12
+ ` final ma = CandleData.computeMA(data); ` and
13
+ ` for (int i = 0; i < data.length; i++) { data[i].trends = [ma[i]]; } ` .
14
+ * Update example project to reflect above changes.
7
15
8
16
## 0.2.1
9
17
13
21
14
22
## 0.2.0
15
23
16
- * BREAKING: Organize folder structures, now you only need to import ` package:interactive_chart/interactive_chart.dart ` .
17
- * BREAKING: Change CandleData ` timestamp ` to milliseconds, you might need to multiply your data by 1000 when creating CandleData objects.
24
+ * BREAKING: Organize folder structures, now you only need to
25
+ import ` package:interactive_chart/interactive_chart.dart ` .
26
+ * BREAKING: Change CandleData ` timestamp ` to milliseconds, you might need to multiply your data by
27
+ 1000 when creating CandleData objects.
18
28
* Fix an issue where zooming was occasionally not smooth.
19
29
* Fix an issue where overlay panel was occasionally clipped.
20
30
Original file line number Diff line number Diff line change 1
1
name : interactive_chart
2
2
description : A candlestick chart that supports hand gestures such as pinch-to-zoom and panning.
3
- version : 0.3.0
3
+ version : 0.3.1
4
4
homepage : https://github.com/h65wang/flutter-interactive-chart
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments