Fl Chart Versions Save

FL Chart is a highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.

0.46.0

2 years ago

0.45.1

2 years ago
  • 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

2 years ago
  • 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

2 years ago
  • 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

2 years ago
  • 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

2 years ago
  • 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

2 years ago
  • 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

2 years ago
  • 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

2 years ago
  • 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

2 years ago
  • 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.