fl_chart
A highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.
1.2.0
1.7M downloads/mo
#272 most downloaded on pub.dev
imaNNeo/fl_chart
What this package is like to depend on
Last release 5 months ago
13 Mar 2026
Release timing varies
gaps range from 9 days to 6 months
Nearly every release is documented
notes for 102 of 103 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
105 releases · first in 2019
3 releases in the last 12 months
see the full history below
Release timeline
105 releases · Jun 2019 to Mar 2026Releases
latest 60 of 105-
1.2.013 Mar 2026Release notes
Open source →- BUGFIX (by @imaNNeo) Consider the
enabledproperty in LineTouchData, BarTouchData, PieTouchData, ScatterTouchData, RadarTouchData and CandlestickTouchData, #1676 - BUGFIX (by @artshooter) Fix wrong bar chart color with small value, #1757
- FEATURE (by @3ph) Add
horizontalMirroredandverticalMirroredproperties in ourLabelDirectionenum which is used in (HorizontalLineLabel and VerticalLineLabel), #1890 - FEATURE (by @Vizten18) Add
cornerRadiusproperty in the PieChartSectionData, #1175 - IMPROVEMENT (by @imaNNeo) Add convention and linter (checker) for PRs title and updated contributing guideline. We're gonna have automated changelog generation from the next release
- BUGFIX (by @diymelvin) Fix inverted lowerBy/upperBy in error range calculation, #2031
- FEATURE (by @imaNNeo) Add
labelproperty in the BarChartRodData to allow you to show a label on top of each bar rod, #2071, #84
Release notes
Open source →- BUGFIX (by @imaNNeo) Consider the
enabledproperty in LineTouchData, BarTouchData, PieTouchData, ScatterTouchData, RadarTouchData and CandlestickTouchData, #1676 - BUGFIX (by @artshooter) Fix wrong bar chart color with small value, #1757
- FEATURE (by @3ph) Add
horizontalMirroredandverticalMirroredproperties in ourLabelDirectionenum which is used in (HorizontalLineLabel and VerticalLineLabel), #1890 - FEATURE (by @Vizten18) Add
cornerRadiusproperty in the PieChartSectionData, #1175 - IMPROVEMENT (by @imaNNeo) Add convention and linter (checker) for PRs title and updated contributing guideline. We're gonna have automated changelog generation from the next release
- BUGFIX (by @diymelvin) Fix inverted lowerBy/upperBy in error range calculation, #2031
- FEATURE (by @imaNNeo) Add
labelproperty in the BarChartRodData to allow you to show a label on top of each bar rod, #2071, #84
- BUGFIX (by @imaNNeo) Consider the
-
1.1.115 Sep 2025Release notes
Open source →- IMPROVEMENT (by @imaNNeo) Upgrade
vector_mathdependency to2.2.0, #1985 - IMPROVEMENT (by @imaNNeo) Upgrade
build_runner(dev) dependency to2.8.0 - IMPROVEMENT (by @imaNNeo) Upgrade
mockito(dev) dependency to5.5.1 - IMPROVEMENT (by @imaNNeo) Upgrade
very_good_analysis(dev) dependency to9.0.0
- IMPROVEMENT (by @imaNNeo) Upgrade
-
1.1.031 Aug 2025Release notes
Open source →- 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), ),
Release notes
Open source →- 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), ), - FEATURE (by @kamilJ96) Add
-
1.0.008 May 2025Release notes
Open source →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
Release notes
Open source →<img width="600" alt="Image" src="https://github.com/user-attachments/assets/3d8b58f4-4ce7-489f-ba45-27ece063f57c" />
-
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 <img width="400" alt="Image" src="https://github.com/user-attachments/assets/f71b9e4f-3aa8-4688-a5c1-ffd8ff12fba1" />
-
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.015 Apr 2025Release notes
Open source →- 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
Release notes
Open source →- 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
- IMPROVEMENT (by @MattiaPispisa) Add a new property called
-
0.70.216 Jan 2025Release notes
Open source →- 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
Release notes
Open source →- 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
- FEATURE (by @imaNNeo) Add error range feature in our axis-based charts. You can set
-
0.70.106 Jan 2025Release notes
Open source →- 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
Release notes
Open source →- 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
- FEATURE (by @Peetee06) Add
-
0.70.019 Dec 2024Release notes
Open source →- 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
Release notes
Open source →- 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.221 Nov 2024Release notes
Open source →Release notes
Open source →- IMPROVEMENT (by @imaNNeo) Fix the analyzer warnings (to have maximum score in the pub.dev)
-
0.69.120 Nov 2024Release notes
Open source →- 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
Release notes
Open source →- 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
- IMPROVEMENT (by @moshe5745) Update the docs related to line chart's
-
0.69.026 Aug 2024Release notes
Open source →- 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
-
0.68.009 May 2024Release notes
Open source →- Improvement (by @imaNNeo) Update LineChartSample6 to implement a way to show a tooltip on a single spot, #1620
- Feature (by @herna) Add
titleSunbeamLayoutinside the BarChartData to allow the user to customize the layout of the title sunbeam - Improvement (by @imaNNeo) Add LineChart and BarChart explanation videos on top of the respective documentation pages (LineChart video, BarChart video)
-
0.67.028 Mar 2024Release notes
Open source →- FEATURE (by @julien4215) Add direction property to the HorizontalLineLabel and VerticalLineLabel, #1574
- FEATURE (by @apekshamehta) Added new method called getTooltipColor for axis charts (bar,line,scatter) to change background color of tooltip dynamically, #1279.
- BREAKING (by @apekshamehta) Removed tooltipBgColor property from Bar, Line and Scatter Charts (you can now use
getTooltipColorwhich provides more customizability), checkout the full migration guide here.
/// Migration guide: /// This is the old way: BarChartData( barTouchData: BarTouchData( touchTooltipData: BarTouchTooltipData( tooltipBgColor: Colors.blueGrey, ) ) ) /// This is the new way: BarChartData( barTouchData: BarTouchData( touchTooltipData: BarTouchTooltipData( getTooltipColor: (BarChartGroupData group) => Colors.blueGrey, ) ) ) -
0.66.210 Feb 2024 -
0.66.122 Jan 2024Release notes
Open source →- BUGFIX (by @imaNNeo) Fix PieChart blackout issue, #1538
- BUGFIX (by @imaNNeo) Fix memory leak in LineChart and BarChart, #1106
-
0.66.025 Dec 2023Release notes
Open source →- IMPROVEMENT (by @imaNNeo) Add Flutter sdk constraints to the pubspec.yaml to force the user/developer to upgrade the Flutter version to 3.16.0 (latest), #1509
- IMPROVEMENT (by @imaNNeo) Add
dotPainterproperty to ScatterSpot to allow customizing the dot painter, #568 - BREAKING (by @imaNNeo) Remove
colorandradiusproperties from ScatterSpot (usedotPainterinstead), #568 - BREAKING (by @imaNNeo) Change the default value of FlDotCirclePainter.
strokeWidthto 0.0
/// Migration guide: /// This is the old way: ScatterSpot( 2, 5, color: Colors.red, radius: 12, ) /// This is the new way: ScatterSpot( 2, 8, dotPainter: FlDotCirclePainter( color: Colors.red, radius: 22, ), ),- BUGFIX (by @imaNNeo) Fix barChart tooltip for values below or above the 0 point, #1462
- BUGFIX (by @imaNNeo) Fix pieChart drawing single section on iPhone, #1515
- IMPROVEMENT (by @imaNNeo) Add gradient property to the HorizontalLine and VerticalLine, #1525
- FEATURE (by @raldhafiri) Add gradient property to the PieChartSectionData, #1511
- IMPROVEMENT (by @imaNNeo) Rename default branch
mastertomain - IMPROVEMENT (by @imaNNeo) Update flutter sdk constraints to remove the upper bound limit (Read more here).
-
0.65.024 Nov 2023Release notes
Open source →- FEATURE (by @Dartek12) Added gradient to FlLine, #1197
- BUGFIX (by @imaNNeo) Fix bar line shadow crash when we have only one (or zero) spot, #1466
- BUGFIX (by @imaNNeo) Fix having negative
toY(or positivefromY) in BarChart'sminYandmaxYcalculations, #1470 - BUGFIX (by @bobatsar) Fix bars drawn outside of diagram
- FEATURE (by @k0psutin) Add dashed border to BarChartRodData, #1144
- FEATURE (by @imaNNeo) Allow to show single point line in LineChart, #1438
-
0.64.007 Oct 2023Release notes
Open source →- BUGFIX (by @Anas35) Fix Tooltip not displaying when value from BackgroundBarChartRodData is less than zero. #1345.
- BUGFIX (by @imaNNeo) Fix Negative BarChartRodStackItem are not drawn correctly bug, #1347
- BUGFIX (by @imaNNeo) Fix bar_chart_helper minY calculation bug, #1388
- IMPROVEMENT (by @imaNNeo) Consider fraction digits when formatting chart side titles, #1267
-
0.63.010 Jun 2023Release notes
Open source →- BUGFIX (by @imaNNeo) Fix PieChart crash on web-renderer html by ignoring
sectionsSpacewhenPath.combine()does not work (it's flutter engine issue), #955 - BUGFIX (by @imaNNeo) Fix ScatterChart long-press interaction bug (disappears when long-pressing on the chart), #1318
- FEATURE (by @imaNNeo) Upgrade dart version to 3.0
- BUGFIX (by @imaNNeo) Fix PieChart crash on web-renderer html by ignoring
-
0.62.015 Apr 2023Release notes
Open source →- BUGFIX (by @JoshMart) Fix extra lines not painting when at chart min or max, #1255.
- BUGFIX (by @imaNNeo) Check if mounted before calling setState in _handleBuiltInTouch methods in bar, line and scatter charts, #1101
- FEATURE (by @MagdyYacoub1): Added gradient color to RangeAnnotations by adding gradient attribute to horizontalRangeAnnotations and VerticalRangeAnnotation, #1195.
- BUGFIX (by @Motionz-Von)Fix windows build for example app
- FEATURE (by @Motionz-Von)BarChart groupSpace also takes effect when alignment is BarChartAlignment.end or BarChartAlignment.start.
- FEATURE (by @Motionz-Von) supports setting line StrokeCap on HorizontalLine/VerticalLine
- BUGFIX (by @nav-28) Fix radar chart tick and graph point not matching #1078
- IMPROVEMENT (by @imaNNeo) Update LineChartSample5 to demonstrate click to toggle show/hide tooltip, #118
-
0.61.021 Feb 2023Release notes
Open source →- IMPROVEMENT (by @imaNNeo) Remove assertion to check to provide only one of
colororgradientproperty in the BarChartRodData and BackgroundBarChartRodData, #1121. - IMPROVEMENT (by @imaNNeo) Make
drawBehindEverythingproperty default totruein AxisTitles class, #1097. - BUGFIX (by @imaNNeo) Show
0instead of-0in some edge-cases in the default titles - FEATURE (by @tamasapps): Add
tooltipHorizontalAlignmentandtooltipHorizontalOffsetproperty in [LineTouchTooltipData], [BarTouchTooltipData], [ScatterTouchTooltipData]. - FEATURE (by @dhiyaaulauliyaa) Add ability to force SideTitle to be placed inside its corresponding axis bounding box, #603.
- IMPROVEMENT (by @imaNNeo) Remove assertion to check to provide only one of
-
0.60.026 Jan 2023Release notes
Open source →- IMPROVEMENT (by @lsaudon) Replace flutter_lints by very_good_analysis
- BREAKING (by @lsaudon) Update dart sdk to 2.17.0 (flutter 3.0.0)
- BUGFIX (by @imaNNeo) Fix indicator out of range error in line chart, #1187
- FEATURE (by @HTsuruo): Add
longPressDurationoptional property that allows to control the duration LongPress gesture occurs, #1114 #1127. - IMPROVEMENT (by @imaNNeo) Add some screenshots in
pubspec.yamlto support new pub.dev feature. Read more about it here and here. - IMPROVEMENT (by @imaNNeo) Update the homepage url in
pubspec.yaml(I just renamed my username) - FEATURE (by @JoshMart) Add ability to draw extra horizontal lines on BarChart, #476
- FEATURE (by @soraef) Add a
positionPercentageOffsetoptional property to RadarChartTitle to allow individual title positioning - BUGFIX (by @imaNNeo) Allow to draw empty radarChart (with all zero values), #1217
- IMPORTANT IRAN NEEDS YOU. SPREAD THE NEWS. <img src="https://github.com/imaNNeo/fl_chart/raw/main/repo_files/images/tmp_iran_banner.png" width=500 />
-
0.55.223 Sep 2022Release notes
Open source →- BUGFIX (by @imaNNeo): Fix inner border of pieChart with single section, #1089
- IMPORTANT IRAN NEEDS HELP
<img src="https://github.com/imaNNeo/fl_chart/raw/main/repo_files/images/tmp_iran_banner.png" width=500 />
As you might know, Islamic Republic of Iran is murdering people in silence right now in Iran They shut the Internet down to do that. That’s why I cannot maintain this library for a while. Now we need your help, please be our voice by spreading news in your media to support us Search these hashtags:
Also, this article might help.
-
0.55.103 Aug 2022Release notes
Open source →- BUGFIX (by @ateich): Fix infinite loop in RadarChart when all values in RadarDataSet are equal, #882.
- BUGFIX (by @ateich): Fix uneven titles in RadarChart when using titlePositionPercentageOffset, #1074.
- BUGFIX (by @imaNNeo): Fix PieChart single section stroke issue, #1089
-
0.55.017 Jun 2022Release notes
Open source →- FEATURE (by @emelinepal): Add
tooltipBorderproperty in [LineTouchTooltipData], [BarTouchTooltipData], [ScatterTouchTooltipData], #692. - BUGFIX (by @imaNNeo): Fix tooltip issue on negative bar charts, #978.
- IMPROVEMENT (by @imaNNeo): Use Container to draw axis-based charts border.
- FEATURE (by @FlorianArnould) Add the ability to select the RadarChart shape (circle or polygon), #1047.
- BUGFIX (by @imaNNeo): Fix LineChart titles problem with single FlSpot, #1053.
- FEATURE (by @FlorianArnould) Add the ability to rotate the RadarChar titles, #883.
- BREAKING (by @FlorianArnould) RadarChartData.getTitle have a new parameter
angleand now returns a RadarChartTitle instead of a simplestring. (Read our Migration Guide to learn more about it)
- FEATURE (by @emelinepal): Add
-
0.51.030 May 2022Release notes
Open source →- FEATURE (by @imaNNeo): Add
SideTitleWidgetto help you use it in [SideTitles.getTitlesWidget]. It's a wrapper around your widget. It keeps your providedchildwidget close to the chart. It hasangleandspaceproperties to handle margin and rotation. There is aaxisSideproperty that you should fill, it has provided to you in the MetaData object. Check the below sample:
getTitlesWidget: (double value, TitleMeta meta) { return SideTitleWidget( axisSide: meta.axisSide, space: 8.0, angle: 0.0, child: const Text("This is your widget"), ); },- IMPROVEMENT (by @imaNNeo): Fix default LineChart interval issue on small view sizes, #909.
- FEATURE (by @imaNNeo): Add
-
0.50.617 May 2022 -
0.50.513 May 2022 -
0.50.413 May 2022 -
0.50.313 May 2022Release notes
Open source →- IMPROVEMENT Fix order of drawing lineChart bar indicator problem, #198.
- FEATURE Add
isStrokeJoinRoundproperty in LineChartBarData. - IMPROVEMENT Upgrade to Flutter 3, #997.
- FEATURE Add
chartRendererKeyproperty to the LineChart, BarChart, and ScatterChart. We pass it directly to our chart renderers that are responsible to render the chart itself (without anything around it like titles), #987.
-
0.50.102 Apr 2022 -
0.50.025 Mar 2022Release notes
Open source →This release has some breaking changes. So please check out the migration guide here
- IMPROVEMENT Allow to return a Widget in SideTitles.getTitlesWidget instead of a
String. For example, you can pass an Icon widget as a title, #183. Check below samples:
LineChartSample 8 (Source Code) <img src="https://github.com/imaNNeo/fl_chart/raw/main/repo_files/images/line_chart/line_chart_sample_8.png" width="300" >
BarChartSample 7 (Source Code)
<img src="https://github.com/imaNNeo/fl_chart/raw/main/repo_files/images/bar_chart/bar_chart_sample_7.gif" width="300" >
- BREAKING Structure of
FlTitlesData,AxisTitles, andSideTitlesare changed. Because we are using a new system which allows you to pass any Flutter Widget as a title instead of passingstring,textStyle,textAlign,rotation, ... (Read our Migration Guide) - FEATURE Now we can use any Gradient such as LinearGradient and RadialGradient everywhere we have gradient.
- BUGFIX Fix BarChart rods gradient problem, #703.
- BREAKING
colorsproperty renamed tocolorto keep only one solid color. And now we have agradientfield instead ofcolorStops,gradientFromandgradientToin following classes: BarChartRodData, BackgroundBarChartRodData, BarAreaData, BetweenBarsData, LineChartBarData. (Read our Migration Guide to learn more about it)
- IMPROVEMENT Allow to return a Widget in SideTitles.getTitlesWidget instead of a
-
0.46.011 Mar 2022Release notes
Open source →- BUGFIX Fix drawing BetweenBarsArea problem when there are
nullSpotsin fromLine and toLine, #912. - FEATURE Allow to have vertically grouped BarChart using
fromYandtoYproperties in BarChartRodData It means you can have a negative and a positive bar chart at the same X location. #334, #875. Check BarChartSample5 and [BarChartSample6](https://github.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/bar_chart.md#sample-6-source-code. - BREAKING Renamed
yproperty totoYin BarChartRodData and BackgroundBarChartRodData due to the above feature. - BUGFIX Fix smaller radius bubble hiding behind bigger radius bubble in ScatterChart, #930.
- BUGFIX Fix tooltip text alignment and direction in line chart, #927.
- BUGFIX Fix drawing BetweenBarsArea problem when there are
-
0.45.103 Mar 2022Release notes
Open source →- IMPORTANT Fuck Vladimir Putin
- BUGFIX Fix
FlSpot.nullSpotat the first of list bug, #912. - FEATURE Add
scatterLabelSettingsproperty in ScatterChart which lets you to add titles on the spots, #902.
-
0.45.012 Feb 2022Release notes
Open source →- BUGFIX Fix
clipDataimplementation 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
baselineXandbaselineYproperty in our axis-based charts, It fixes a problem aboutintervalwhich mentioned in #893 (check this sample. - IMPROVEMENT Added
distanceCalculatortoLineTouchDatawhich is used to calculate the distance between spots and touch events, #716, #261, #892 - BREAKING
LineTouchResponseresponse now contains a list ofTouchLineBarSpotinstead ofLineBarSpot. They are ordered based on their distance to the touch event and also contain that distance.
- BUGFIX Fix
-
0.41.009 Jan 2022Release notes
Open source →- BUGFIX Fix getNearestTouchedSpot. Previously it returned the first occurrence of a spot within the threshold, and not the nearest, #641, #645.
- FEATURE Add
textAlignproperty in the SideTitles, #784. - IMPROVEMENT Write some unit-tests and enable code coverage reports in our CI
-
0.40.609 Dec 2021Release notes
Open source →- 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.503 Dec 2021Release notes
Open source →- 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.214 Oct 2021Release notes
Open source →- IMPROVEMENT Use 80 characters for code format line-length instead of 100 (because pub.dev works with 80 and decreased our score).
-
0.40.114 Oct 2021Release notes
Open source →- 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.026 Aug 2021Release notes
Open source →- BUGFIX Fixed pieChart
centerRadius = double.infinityproblem, #747.c - BREAKING Charts touchCallback signature has changed to
(FlTouchEvent event, BaseTouchResponse? response)which FlTouchEvent determines which touch/pointer event happened (such asFlTapUpEvent,FlPanUpdateEvent, ...), and BaseTouchResponse gives us the chart response. - BREAKING Chart touchResponse classes don't have
touchInputandclickHappenedproperties anymore. Use FlTouchEvent provided in the callback instead oftouchInput. Checkevent is FlTapUpEventto detect touch events instead of checkingclickHappened; - IMPROVEMENT Again we support
longPresstouch events. check FlTouchEvent to see all kind of supported touch/pointer events (which can beFlLongPressStart,FlLongPressMoveUpdate,FlLongPressEnd, ...). Also you can check out touch handling doc, #649. - IMPROVEMENT Added
mouseCursorResolvercallback 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
ScatterChartdefault 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.spaceEvenlyasalignmentproperty 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
textStyleof ScatterTooltipItem is now nullable and optional.bottomMarginis 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_chartand resolve more issues. Now you can buy me a coffee!
- BUGFIX Fixed pieChart
-
0.36.419 Aug 2021Release notes
Open source →- IMPROVEMENT Added
borderSideproperty 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
getTextStylescallback now give you acontextandvalue(previously it was only avalue). - BUGFIX Fixed
colorStopscalculation which used in gradient colors, #732.
- IMPROVEMENT Added
-
0.36.322 Jul 2021Release notes
Open source →- IMPROVEMENT Show proper error message when there is less than 3 RadarEntry in RadarChart, #694.
- IMPROVEMENT Added
borderSideproperty in PieChartSectionData to draw strokes around each section, #606.
-
0.36.217 Jun 2021Release notes
Open source →- IMPROVEMENT Support
onMouseExitevent in all charts. - IMPROVEMENT Add
rotateAngleproperty in LineTouchTooltipData, BarTouchTooltipData, ScatterTouchTooltipData, #260, #679. - BUGFIX Fix PieChart section index problem, when there is a section with 0 value, #697.
- IMPROVEMENT Support
-
0.36.107 May 2021Release notes
Open source →- 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 of0.36.0) - BREAKING Remove unused
lineIndexproperty from (ShowingTooltipIndicators)[https://github.com/imaNNeoFighT/fl_chart/blob/main/repo_files/documentations/line_chart.md#showingtooltipindicators].
-
0.36.030 Apr 2021Release notes
Open source →- BUGFIX Fixed bug of lerping FlSpot.nullSpot, #487.
- BUGFIX Fixed showing tooltip problem when animating chart, #647.
- BUGFIX Fixed RadarChart drawing problem, #627.
- IMPROVEMENT Now SideTitles.
intervalis working correctly in bottomTitles in the BarChart, #648. - BREAKING You should provide
spotsIndicesinstead ofshowingSpotsin ShowingTooltipIndicators.
-
0.35.001 Apr 2021Release notes
Open source →- IMPROVEMENT Added
childrenproperty in the LineTooltipItem, BarTooltipItem and ScatterTooltipItem which accepts a list of TextSpan. It allows you to have more customized texts inside the tooltip. See BarChartSample1 and ScatterSample2, #72, #294. - IMPROVEMENT Added
getTouchLineStartandgetTouchLineEndin LineTouchData to give more customizability over showing the touch lines. see SampleLineChart9. - IMPROVEMENT Enabled
sectionsSpacein PieChart for the web. - IMPROVEMENT Added Makefile commands which makes it comfortable for verifying your code before push (It is related to contributors, red more about it in CONTRIBUTING.md).
- IMPROVEMENT Added
FlDotCrossPainterwhich extendsFlDotPainterto paint X marks on line chart spots. - IMPROVEMENT Added
textDirectionproperty in LineTooltipItem, BarTooltipItem and ScatterTooltipItem. It allows you to support rtl languages in tooltips. - IMPROVEMENT Added
textDirectionproperty in SideTitles class, #531. It allows you to support rtl languages in side titles. - IMPROVEMENT Added
textDirectionproperty in AxisTitles class. It allows you to support rtl languages in axis titles. - BUGFIX Fixed some bugs on drawing PieChart (for example when we have only one section), #582,
- BREAKING Border of pieChart now is hide by default (you can show it using
borderData: FlBorderData(show: true). - BREAKING You cannot set
0value on PieChartSectionData.value anymore, instead remove it from list. - BREAKING Removed
fullHeightTouchLineproperty from LineTouchData. Now you can have a full line with following snippet:
LineTouchData( ... getTouchLineStart: (barData, index) => -double.infinity // default: from bottom, getTouchLineEnd: (barData, index) => double.infinity //to top, ... ) - IMPROVEMENT Added
-
0.30.022 Mar 2021Release notes
Open source →- [IMPROVEMENT] We now use RenderObject as our default drawing system. It brings a lot of stability. Such as size handling, hitTest handling (touches), and It makes us possible to paint Widgets inside our chart (It might fix #383, #556, #582, #584, #591).
- [IMPROVEMENT] Added Radar Chart Documentations
- [IMPROVEMENT] Added
textAlignproperty in the BarTooltipItem, LineTooltipItem, and ScatterTooltipItem, default isTextAlign.center. - [IMPROVEMENT] Added
directionproperty in the BarTouchTooltipData, and LineTouchTooltipData to specify the position of the tooltip (can beauto,top,bottom), default isauto. - [IMPROVEMENT] Updated touch flow, we now use hitTest for handling touch and interactions.
- [IMPROVEMENT] Added 'clickHappened' property in all of our TouchResponses (such as LineTouchResponse, BarTouchResponse, ...), #210.
- [IMPROVEMENT] Added
swapAnimationCurveproperty to all chart widgets which handles the built-in animation Curve, #436. - [BREAKING] Some properties in ScatterTouchResponse, and PieTouchResponse moved to a wrapper class, you need to access them through that wrapper class.
- [BREAKING] Renamed
tooltipBottomMargintotooltipMarginproperty in the BarTouchTooltipData, and LineTouchTooltipData - [Bugfix] Fixed
double.infinityin PieChartData .centerSpaceRadius, #584.
-
0.20.103 Mar 2021Release notes
Open source →- [BREAKING] We now support flutter version 2.0 (null-safety), check out the migration guide.
- [NEW_CHART] We have added RadarChart. Thanks to Payam Zahedi!
-
0.20.0-nullsafety119 Feb 2021 pre-releaseRelease notes
Open source →- [BREAKING] We have migrated our project to null-safety. You may need to change your source-code to compile. check migration guide.
- [BREAKING] You cannot set null value on FlSpot any more (use FlSpot.nullSpot instead).
-
0.12.317 Feb 2021Release notes
Open source →- [Bugfix] Fixed PieChart exception bug on sections tap, #514.
- [Bugfix] Fixed PieChart badges problem, #538.
- [Bugfix] Fixed Bug of drawing lines with strokeWidth zero, #558.
- [Improvement] Updated example app to support web.
- [Improvement] Show tooltips on mouse hover on Web, and Desktop.
-
0.12.224 Dec 2020Release notes
Open source →- [Bugfix] Fixed PieChart badges draw in first frame problem, #513.
- [Improvement] Use CanvasWrapper to proxy draw functions (It does not have any effect on the result, it makes the code testable)
-
0.12.111 Dec 2020Release notes
Open source →- [Bugfix] Fixed PieChart badges bug with re-implementing the solution, #507
- [Bugfix] Fix the setState issue using PieChart in the ListView, #467
- [Bugfix] Fixed formatNumber bug for negative numbers, #486.
- [Improvement] Added applyCutOffY property in BarAreaSpotsLine to inherit cutOffY property of its parent, #478.
-
0.12.006 Oct 2020Release notes
Open source →- [Improvement] [BREAKING] Replaced
colorproperty withcolorsin BarChartRodData, and BackgroundBarChartRodData to support gradient in BarChart, instead of solid color, #166. Check BarChartSample3 - [Improvement] Improved gradient stops calculating algorithm.
- [Improvement] [BREAKING] Changed SideTitle's
textStyleproperty togetTextStylesgetter (it gives you the axis value, and you must return a TextStyle based on it), It helps you to have a different style for specific text, #439. Check it here LineChartSample3 - [Improvement] Added
badgeWidget, andbadgePositionPercentageOffsetin each PieChartSectionData to provide a widget to show in the chart, see this sample, #443. Providing a widget is an important step in our library, if it works perfectly, we will aplly this solution on other parts. Then I appreciate any feedback. - [Bugfix] Fixed aboveBarArea flickers after setState, #440.
- [Improvement] [BREAKING] Replaced
-
0.11.129 Aug 2020Release notes
Open source →- [Bugfix] Fixed drawing BarChart rods with providing minY (for positive), maxY (for negative) values bug, #404.
- [Bugfix] Fixed example app build fail error, by upgrading flutter_svg package to
0.18.1
-
0.11.026 Jul 2020Release notes
Open source →- [Bugfix] Prevent show ScatterSpot if show is false, #385.
- [Improvement] Set default centerSpaceRadius to double.infinity in PieChartData, #384.
- [Improvement] Allowed to have topTitles in the BarChart, see BarChartSample5, #394.
- [Improvement] Added
touchedStackItemandtouchedStackItemIndexproperties in the BarTouchedSpot to determine in which BarChartRodStackItem click happened, #393. - [Improvement] [BREAKING] Renamed
rodStackItemtorodStackItemsin BarChartRodData.
-
0.10.129 Jun 2020Release notes
Open source →- [Improvement] Show barGroups
xvalue instead ofindexin bottom titles, #342. - [Improvement] [BREAKING] Use
double.infinityinstead ofdouble.nanfor lettingenterSpaceRadiusbe as large as possible in the (PieChartData)[https://github.com/imaNNeoFighT/fl_chart/blob/main/repo_files/documentations/pie_chart.md#piechartdata], #377. - [Bugfix] Fixed PieChart bug with 1 section, #368.
- [Improvement] Show barGroups
-
0.10.002 Jun 2020Release notes
Open source →- [IMPORTANT] BLACK LIVES MATTER
- [Improvement] Auto calculate interval in SideTitles and FlGridData, instead of hard coding 1, to prevent some performance issues like #101, #322. see BarChartSample4.
- [Bugfix] drawing dot on null spots
- [Bugfix] Fixed LineChart have multiple NULL spot bug.
- [Feature] Added
checkToShowTitleproperty to the SideTitles, for checking show or not show titles in the provided value, #331. see LineChartSample8. - [Feature] Added compatibily to have customized shapes for FlDotData, just override
FlDotData.etDotPainterand pass your own painter or use built-in ones, see this sample. - [Improvement] [BREAKING] Replaced
clipToBorderwithclipDatain LineChartData to support clipping 4 sides of a chart separately.
-
0.9.401 May 2020Release notes
Open source →- [Bugfix] Fixed showing PieChart on web (we've ignored
groupSpaceon web, because some BlendModes are not working yet)
- [Bugfix] Fixed showing PieChart on web (we've ignored
-
0.9.323 Apr 2020Release notes
Open source →- [BugFix] Fixed groupBarsPosition exception, #313.
- [Improvement] Shadows default off, #316.