Skip to content

Commit d1bd294

Browse files
committed
0.3.1: Update version and changelog
1 parent c6f8975 commit d1bd294

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

CHANGELOG.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1+
## 0.3.1
2+
3+
* Allow web and desktop users to zoom the chart with mouse scroll wheel.
4+
15
## 0.3.0
26

37
* BREAKING: Add support for multiple trend lines.
48
* The old `trend` property is changed to `trends`, to support multiple data points per `CandleData`.
59
* 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.
715

816
## 0.2.1
917

@@ -13,8 +21,10 @@
1321

1422
## 0.2.0
1523

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.
1828
* Fix an issue where zooming was occasionally not smooth.
1929
* Fix an issue where overlay panel was occasionally clipped.
2030

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: interactive_chart
22
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
44
homepage: https://github.com/h65wang/flutter-interactive-chart
55

66
environment:

0 commit comments

Comments
 (0)