Skip to content

Releases: imaNNeo/fl_chart

0.50.0

25 Mar 09:09
Compare
Choose a tag to compare

This release has some breaking changes. So please check out the migration guide here

LineChartSample 8 (Source Code)

BarChartSample 7 (Source Code)

0.46.0

11 Mar 20:31
Compare
Choose a tag to compare

0.45.1

03 Mar 20:41
Compare
Choose a tag to compare
  • IMPORTANT Fuck Vladimir Putin
  • BUGFIX Fix FlSpot.nullSpot at the first of list bug, #912.
  • FEATURE Add scatterLabelSettings property in ScatterChart which lets you to add titles on the spots, #902.

0.45.0

12 Feb 18:41
Compare
Choose a tag to compare
  • BUGFIX Fix clipData implementation in ScatterChart and LineChart, #897.
  • BUGFIX Fix PieChart changing sections issue (we have disabled semantics for pieChart badgeWidgets), #861.
  • BUGFIX Fix LineChart width smaller width or height lower than 40, #869, #857.
  • BUGFIX Allow to show title when axis diff is zero, #842, #879.
  • IMPROVEMENT Improve iteration over axis values logic (it solves some minor problems on showing titles when min, max values are below than 1.0).
  • IMPROVEMENT Add baselineX and baselineY property in our axis-based charts, It fixes a problem about interval which mentioned in #893 (check this sample.
  • IMPROVEMENT Added distanceCalculator to LineTouchData which is used to calculate the distance between spots and touch events, #716, #261, #892
  • BREAKING LineTouchResponse response now contains a list of TouchLineBarSpot instead of LineBarSpot. They are ordered based on their distance to the touch event and also contain that distance.

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!