Skip to content

Releases: imaNNeo/fl_chart

0.41.0

09 Jan 22:34
Compare
Choose a tag to compare
  • BUGFIX Fix getNearestTouchedSpot. Previously it returned the first occurrence of a spot within the threshold, and not the nearest, #641, #645.
  • FEATURE Add textAlign property in the SideTitles, #784.
  • IMPROVEMENT Write some unit-tests and enable code coverage reports in our CI

0.40.6

09 Dec 09:53
Compare
Choose a tag to compare
  • IMPROVEMENT Fix showing zero value in side titles and grid lines when we add negative value. Now we always go through the zero value in each axis, #739.
  • BUGFIX Fix example app unsupported operation problem on web, #844.

0.40.5

03 Dec 17:11
Compare
Choose a tag to compare
  • BUGFIX Fix BarChart empty groups state error, #797.
  • BUGFIX Fix drawTooltipOnTop direction minor bug, #815.
  • BUGFIX Fix section with zero value problem in PieChart (disabled animation on changing value to zero and from zero), #817
  • BUGFIX Fix pie chart stroke problem when adding space between sections (using new approach), #818.
  • IMPROVEMENT Fix interval below one, #811

0.40.2

14 Oct 22:47
Compare
Choose a tag to compare
  • IMPROVEMENT Use 80 characters for code format line-length instead of 100 (because pub.dev works with 80 and decreased our score).

0.40.1

14 Oct 21:11
Compare
Choose a tag to compare
  • IMPROVEMENT Fix pub.dev determining web support, #780.
  • IMPROVEMENT Implement flutter_lints in the code.
  • BUGFIX Fix below/above area data transparency issue, #770.

0.40.0

26 Aug 19:23
Compare
Choose a tag to compare
  • BUGFIX Fixed pieChart centerRadius = double.infinity problem, #747.c
  • BREAKING Charts touchCallback signature has changed to (FlTouchEvent event, BaseTouchResponse? response) which FlTouchEvent determines which touch/pointer event happened (such as FlTapUpEvent, FlPanUpdateEvent, ...), and BaseTouchResponse gives us the chart response.
  • BREAKING Chart touchResponse classes don't have touchInput and clickHappened properties anymore. Use FlTouchEvent provided in the callback instead of touchInput. Check event is FlTapUpEvent to detect touch events instead of checking clickHappened;
  • IMPROVEMENT Again we support longPress touch events. check FlTouchEvent to see all kind of supported touch/pointer events (which can be FlLongPressStart, FlLongPressMoveUpdate, FlLongPressEnd, ...). Also you can check out touch handling doc, #649.
  • IMPROVEMENT Added mouseCursorResolver callback in touchData classes such as LineTouchData and BarTouchData. You can change the MouseCursor based on the provided FlTouchEvent and touchResponse using this callback. (We have used this feature in PieChartSample2)
  • BUGFIX Fixed ScatterChart default touchHandling crash
  • BUGFIX Fix text styles when updating the theme. Check this theme-aware-sample.
  • IMPROVEMENT Show narrow horizontal and vertical grid lines by default.
  • IMPROVEMENT Show all left, top (except BarChart), right, bottom titles in Axis based charts by default.
  • IMPROVEMENT Set BarChartAlignment.spaceEvenly as alignment property of BarChartData by default
  • IMPROVEMENT Allow BarChart and LineChart have empty values instead of throwing exception (we don't show anything if there is nothing provided)
  • BREAKING textStyle of ScatterTooltipItem is now nullable and optional. bottomMargin is also optional (default is zero). So both are named parameters now.
  • IMPROVEMENT We improved touch precision of ScatterChart.
  • BUGFIX Fix overlapping last gridlines on border lines problem.
  • NEWS Your donation motivates me to work more on the fl_chart and resolve more issues. Now you can buy me a coffee!

0.36.4

19 Aug 06:47
Compare
Choose a tag to compare
  • IMPROVEMENT Added borderSide property in BarChartRodData and BarChartRodStackItem to draw strokes around each bar and rod stack items, #714.
  • IMPROVEMENT Now all textStyles are nullable and theme-aware by default, #269.
  • BREAKING All getTextStyles callback now give you a context and value (previously it was only a value).
  • BUGFIX Fixed colorStops calculation which used in gradient colors, #732.

0.36.3

22 Jul 08:08
Compare
Choose a tag to compare

0.36.2

17 Jun 18:43
Compare
Choose a tag to compare

0.36.1

07 May 19:14
Compare
Choose a tag to compare
  • IMPROVEMENT Allow to set zero value on PieChartSectionData (we remove zero sections instead of crashing), #640.
  • BUGFIX Fix NPE crash in our renderers touchCallback, #651.
  • BUGFIX Fix line index problem in LineChart, #665. (It has appeared in 0.36.0, we had to revert 2nd change of 0.36.0)
  • BREAKING Remove unused lineIndex property from ShowingTooltipIndicators.