Skip to content

Commit 3ec0fea

Browse files
committed
0.2.1: Update docs for pub release
1 parent d28577b commit 3ec0fea

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

CHANGELOG.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
## 0.2.1
2+
3+
* Add `onTap` event and `onCandleResize` event.
4+
* Allow `overlayInfo` to return an empty object.
5+
* Update example project.
6+
17
## 0.2.0
28

3-
* BREAKING: Organize folder structures, now you only need to import `package:interactive_chart/interactive_chart.dart`
4-
* BREAKING: Change CandleData `timestamp` to milliseconds, you might need to multiple your data by 1000 when creating CandleData objects
5-
* Fix an issue where zooming was occasionally not smooth
6-
* Fix an issue where overlay panel was occasionally clipped
9+
* BREAKING: Organize folder structures, now you only need to import `package:interactive_chart/interactive_chart.dart`.
10+
* BREAKING: Change CandleData `timestamp` to milliseconds, you might need to multiple your data by 1000 when creating CandleData objects.
11+
* Fix an issue where zooming was occasionally not smooth.
12+
* Fix an issue where overlay panel was occasionally clipped.
713

814
## 0.1.1
915

example/lib/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class _MyAppState extends State<MyApp> {
7272
// timeLabel: (timestamp, visibleDataCount) => "📅",
7373
// priceLabel: (price) => "${price.round()} 💎",
7474
/** Customize overlay (tap and hold to see it)
75-
** Or return a blank object to disable it. */
75+
** Or return an empty object to disable overlay info. */
7676
// overlayInfo: (candle) => {
7777
// "💎": "🤚 ",
7878
// "Hi": "${candle.high?.toStringAsFixed(2)}",

example/pubspec.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ packages:
7373
path: ".."
7474
relative: true
7575
source: path
76-
version: "0.2.0"
76+
version: "0.2.1"
7777
intl:
7878
dependency: transitive
7979
description:

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.2.0
3+
version: 0.2.1
44
homepage: https://github.com/h65wang/flutter-interactive-chart
55

66
environment:

0 commit comments

Comments
 (0)