Releases: imaNNeo/fl_chart
Releases · imaNNeo/fl_chart
1.1.1
1.1.0
- FEATURE (by @kamilJ96) Add
gradientproperty inside ourBarChartRodStackItemto be able to render gradient (along with the possibility to render a solid color), #919 - FEATURE (by @alettsy) Add
sideTitleAlignmentproperty in ourAxisTitlesto allow you to control the alignment of side titles (for example show them inside the chart), #1946 - FEATURE (by @huanghui1998hhh) Add
gradientAreaproperty toLineChartBarDatato allow you to control the scope of gradient effects, #1925 - FEATURE (by @alikhavarii13) Add
labelandlabelStyleproperties in ourBarChartRodStackItemto allow you to show labels on each stack item, #598 - BREAKING
⚠️ (by @alikhavarii13)borderSidenow is a named parameter (instead of a optional positional parameter inBarChartRodStackItemconstructor. 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
1.0.0
- 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
- BREAKING (by @imaNNeo) Remove the deprecated
tooltipRoundedRadiusproperty -> you should usetooltipBorderRadiusinstead. - 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
- IMPROVEMENT (by @MattiaPispisa) Add a new property called
BorderRadius tooltipBorderRadiusinstead of (deprecated)double tooltipRoundedRadiusinBarTouchTooltipData,LineTouchTooltipDataandScatterTouchTooltipData#1715 - FEATURE (by @frybitsinc) Add
childrenproperty in our RadarChartTitle, #1840 - BUGFIX (by @morvagergely) Fix the initial zoom issue in our scrollable LineChart, #1863
0.70.2
- FEATURE (by @imaNNeo) Add error range feature in our axis-based charts. You can set
xErrorandyErrorin the FlSpot ortoYErrorRangein BarChartRodData. Also we haveerrorIndicatorDataproperty in our LineChartData, BarChartData and ScatterChartData that is responsible to render the error bars. You can take a look at the LineChartSample 13 and BarChartSample 8 in our sample app, #1483
CleanShot.2025-01-16.at.01.22.25.mp4

0.70.1
- FEATURE (by @Peetee06) Add
panEnabledandscaleEnabledproperties in the TransformationController, #1818 - FEATURE (by @mitulagr2) Add
renderPriorityfeature in our ScatterSpot, #1545 - FEATURE (by @imaNNeo) Add
rotationQuarterTurnsproperty 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 settingrotationQuarterTurnsto 1 (which rotates the chart 90 degrees clockwise). It works exactly like RotatesBox widget, #113 - FEATURE (by @soraef) Add
isMinValueAtCenterproperty in the RadarChart to allow the user to set the minimum value at the center of the chart, #1351, #1442 - BREAKING (by @imaNNeo) Add
TitleMetaparameter in theSideTitleWidgetinstead ofaxisSide
0.70.0
- 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
FlTransformationConfigclass. You can now enable scaling and panning forLineChart,BarChartandScatterChartusing this class - IMPROVEMENT (by @Peetee06) Added some new unit tests in
bar_chart_data_extensions_test.dart,gradient_extension_test.dartand fixed a typo inbar_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)
BarChartis not const anymore due to adding an assert to check if transformations are allowed depending on theBarChartData.alignmentproperty (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
0.69.1
- IMPROVEMENT (by @moshe5745) Update the docs related to line chart's
durationandcurveproperties, #1618 - IMPROVEMENT (by @imaNNeo) Deprecate
swapAnimationDurationandswapAnimationCurveproperties to usecurveanddurationinstead 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
- 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