Skip to content

Releases: imaNNeo/fl_chart

1.1.1

15 Sep 20:30

Choose a tag to compare

  • IMPROVEMENT (by @imaNNeo) Upgrade vector_math dependency to 2.2.0, #1985
  • IMPROVEMENT (by @imaNNeo) Upgrade build_runner (dev) dependency to 2.8.0
  • IMPROVEMENT (by @imaNNeo) Upgrade mockito (dev) dependency to 5.5.1
  • IMPROVEMENT (by @imaNNeo) Upgrade very_good_analysis (dev) dependency to 9.0.0

1.1.0

31 Aug 13:02

Choose a tag to compare

  • FEATURE (by @kamilJ96) Add gradient property inside our BarChartRodStackItem to be able to render gradient (along with the possibility to render a solid color), #919
  • FEATURE (by @alettsy) Add sideTitleAlignment property in our AxisTitles to allow you to control the alignment of side titles (for example show them inside the chart), #1946
  • FEATURE (by @huanghui1998hhh) Add gradientArea property to LineChartBarData to allow you to control the scope of gradient effects, #1925
  • FEATURE (by @alikhavarii13) Add label and labelStyle properties in our BarChartRodStackItem to allow you to show labels on each stack item, #598
  • BREAKING ⚠️ (by @alikhavarii13) borderSide now is a named parameter (instead of a optional positional parameter in BarChartRodStackItem constructor. As it is a very minor breaking change, we decided to include it in this minor release (instead of doing a major release based on the semantic versioning. Sorry about that!
    So you just need to change this:
BarChartRodStackItem(
  0,
  10,
  Colors.green,
  BorderSide(color: Colors.white),
),

to this:

BarChartRodStackItem(
  0,
  10,
  Colors.green,
  borderSide: BorderSide(color: Colors.white),
),

1.0.0

08 May 22:22

Choose a tag to compare

1.0.0

Image
  • FEATURE (by @imaNNeo) Implement a new chart type called CandlestickChart. You can take a look at the documentation here. And I just implemented a basic example to show the Bitcoin price in 2024, you can take a look at it in our sample app here. #433, #1143
Image
  • BREAKING (by @imaNNeo) Remove the deprecated tooltipRoundedRadius property -> you should use tooltipBorderRadius instead.
  • BUGFIX (by @imaNNeo) Fix the BarChartData mismatch issue when changing the data, #1911
  • FEATURE (by @frybitsinc) Add fillGradient property in RadarDataSet
  • BREAKING (by @imaNNeo) Upgrade the min flutter version to 3.27.4. So please make sure that your project is not using an old flutter version, #1846
  • IMPORTANT (by @imaNNeo) You can read more about this release and the history of fl_chart here in my blog post

0.71.0

15 Apr 22:22

Choose a tag to compare

  • IMPROVEMENT (by @MattiaPispisa) Add a new property called BorderRadius tooltipBorderRadius instead of (deprecated) double tooltipRoundedRadius in BarTouchTooltipData, LineTouchTooltipData and ScatterTouchTooltipData #1715
  • FEATURE (by @frybitsinc) Add children property in our RadarChartTitle, #1840
  • BUGFIX (by @morvagergely) Fix the initial zoom issue in our scrollable LineChart, #1863

0.70.2

16 Jan 00:26

Choose a tag to compare

CleanShot.2025-01-16.at.01.22.25.mp4
image

0.70.1

06 Jan 21:16

Choose a tag to compare

  • FEATURE (by @Peetee06) Add panEnabled and scaleEnabled properties in the TransformationController, #1818
  • FEATURE (by @mitulagr2) Add renderPriority feature in our ScatterSpot, #1545
  • FEATURE (by @imaNNeo) Add rotationQuarterTurns property in our Axis-Based charts (such as LineChart, BarChart and ScatterChart). It allows you to rotate the chart 90 degrees (clockwise) in each turn. For example you can have Horizontal Bar Charts by setting rotationQuarterTurns to 1 (which rotates the chart 90 degrees clockwise). It works exactly like RotatesBox widget, #113
  • FEATURE (by @soraef) Add isMinValueAtCenter property in the RadarChart to allow the user to set the minimum value at the center of the chart, #1351, #1442
  • BREAKING (by @imaNNeo) Add TitleMeta parameter in the SideTitleWidget instead of axisSide

0.70.0

19 Dec 18:53

Choose a tag to compare

  • FEATURE (by @Peetee06) Implemented a 5 years-old feature request about scroll and zoom support in our axis-based charts. Special thanks to @Peetee06 who made it happen, #71
  • IMPROVEMENT (by @Peetee06) Added functionality to control the transformation of axis-based charts using FlTransformationConfig class. You can now enable scaling and panning for LineChart, BarChart and ScatterChart using this class
  • IMPROVEMENT (by @Peetee06) Added some new unit tests in bar_chart_data_extensions_test.dart, gradient_extension_test.dart and fixed a typo in bar_chart_data.dart
  • BREAKING (by @Peetee06) Fixed the equatable functionality in our BarChart. We hope it will not affect anything in our chart, but because the behaviour is changed, we marked it as a breaking change. (read more here)
  • BREAKING (by @Peetee06) BarChart is not const anymore due to adding an assert to check if transformations are allowed depending on the BarChartData.alignment property (read more here)
  • IMPROVEMENT (by @Peetee06) Upgrade to the new Flutter version (3.27.0), #1804
  • IMPROVEMENT (by @AliAkberAakash) Minor typo fix in our line chart documentation, #1795
  • IMPROVEMENT (by @imaNNeo) Fixed the code coverage API rate-limit issue
  • Improvement (by @imaNNeo) Published the example app in Google Play and App Store. Other stores (such as snap store and Microsoft Store) will come next. You can download the Android version here in Google Play and the iOS version here in App Store

0.69.2

21 Nov 21:51

Choose a tag to compare

  • IMPROVEMENT (by @imaNNeo) Fix the analyzer warnings (to have maximum score in the pub.dev)

0.69.1

20 Nov 18:43

Choose a tag to compare

  • IMPROVEMENT (by @moshe5745) Update the docs related to line chart's duration and curve properties, #1618
  • IMPROVEMENT (by @imaNNeo) Deprecate swapAnimationDuration and swapAnimationCurve properties to use curve and duration instead to keep the consistency over the project, #1618
  • BUGFIX (by @aimawari) Fixed lots of issues related to the zero value in the PieChartSectionData, #697, #817 and #1632

0.69.0

26 Aug 22:58

Choose a tag to compare

  • BUGFIX (by @imaNNeo) Fix a memory leak issue in the axis-based charts, there was a logic to calculate and cache the minX, maxX, minY and maxY properties to reduce the computation cost. But it caused some memory issues, as we don't have a quick solution for this, we disabled the caching logic for now, later we can move the calculation logic to the render objects to keep and update them only when the data is changed, #1106, #1693
  • BUGFIX (by @imaNNeo) Fix showing grid lines even when there is no line to show in the LineChart, #1691
  • IMPROVEMENT (by @sczesla) Allow users to control minIncluded and maxIncluded using SideTitles, #906
  • IMPROVEMENT (by @elizabethzhenliu) Reverse the touch order in ScatterChart, so now the top spots are touched first, #1675
  • IMPROVEMENT (by @ksw2000) Remove redundant math import, #1683
  • IMPROVEMENT (by @Neer-Pathak) Fix linux example build issue, #1668
  • IMPROVEMENT (by @TobiasRump) Update the bar chart documentation, #1662