PackageTrack
Sign in Get early access

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 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 105
  1. 1.2.0 13 Mar 2026
    Release notes
    Open source →
    Release notes
    • BUGFIX (by @imaNNeo) Consider the enabled property 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 horizontalMirrored and verticalMirrored properties in our LabelDirection enum which is used in (HorizontalLineLabel and VerticalLineLabel), #1890
    • FEATURE (by @Vizten18) Add cornerRadius property 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 label property in the BarChartRodData to allow you to show a label on top of each bar rod, #2071, #84
    Open source →
  2. 1.1.1 15 Sep 2025
    Release notes
    • 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
    Open source →
    Release notes
    • 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
    Open source →
  3. 1.1.0 31 Aug 2025
    Release notes
    • 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),
    ),
    Open source →
    Release notes
    • 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),
    ),
    
    Open source →
  4. 1.0.0 08 May 2025
    Release notes

    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 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
    Open source →
    Release notes

    <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 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

    Open source →
  5. 0.71.0 15 Apr 2025
    Release notes
    • 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
    Open source →
    Release notes
    • 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
    Open source →
  6. 0.70.2 16 Jan 2025
    Release notes
    CleanShot.2025-01-16.at.01.22.25.mp4
    Open source →
    Release notes
    Open source →
  7. 0.70.1 06 Jan 2025
    Release notes
    • 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
    Open source →
    Release notes
    • 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
    Open source →
  8. 0.70.0 19 Dec 2024
    Release notes
    • 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
    Open source →
    Release notes
    • 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
    Open source →
  9. 0.69.2 21 Nov 2024
    Release notes
    • IMPROVEMENT (by @imaNNeo) Fix the analyzer warnings (to have maximum score in the pub.dev)
    Open source →
    Release notes
    • IMPROVEMENT (by @imaNNeo) Fix the analyzer warnings (to have maximum score in the pub.dev)
    Open source →
  10. 0.69.1 20 Nov 2024
    Release notes
    • 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
    Open source →
    Release notes
    • 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
    Open source →
  11. 0.69.0 26 Aug 2024
    Release notes
    • 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
    Open source →
  12. 0.68.0 09 May 2024
    Release notes
    • Improvement (by @imaNNeo) Update LineChartSample6 to implement a way to show a tooltip on a single spot, #1620
    • Feature (by @herna) Add titleSunbeamLayout inside 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)
    Open source →
  13. 0.67.0 28 Mar 2024
    Release notes
    • 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 getTooltipColor which 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,
        )
      )
    )
    
    Open source →
  14. 0.66.2 10 Feb 2024
    Release notes
    • BUGFIX (by @stwarwas) Remove dart.io to fix web platform issue, #1577
    Open source →
  15. 0.66.1 22 Jan 2024
    Release notes
    • BUGFIX (by @imaNNeo) Fix PieChart blackout issue, #1538
    • BUGFIX (by @imaNNeo) Fix memory leak in LineChart and BarChart, #1106
    Open source →
  16. 0.66.0 25 Dec 2023
    Release notes
    • 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 dotPainter property to ScatterSpot to allow customizing the dot painter, #568
    • BREAKING (by @imaNNeo) Remove color and radius properties from ScatterSpot (use dotPainter instead), #568
    • BREAKING (by @imaNNeo) Change the default value of FlDotCirclePainter.strokeWidth to 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 master to main
    • IMPROVEMENT (by @imaNNeo) Update flutter sdk constraints to remove the upper bound limit (Read more here).
    Open source →
  17. 0.65.0 24 Nov 2023
    Release notes
    • 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 positive fromY) in BarChart's minY and maxY calculations, #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
    Open source →
  18. 0.64.0 07 Oct 2023
    Release notes
    • 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
    Open source →
  19. 0.63.0 10 Jun 2023
    Release notes
    • BUGFIX (by @imaNNeo) Fix PieChart crash on web-renderer html by ignoring sectionsSpace when Path.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
    Open source →
  20. 0.62.0 15 Apr 2023
    Release notes
    • 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
    Open source →
  21. 0.61.0 21 Feb 2023
    Release notes
    • IMPROVEMENT (by @imaNNeo) Remove assertion to check to provide only one of color or gradient property in the BarChartRodData and BackgroundBarChartRodData, #1121.
    • IMPROVEMENT (by @imaNNeo) Make drawBehindEverything property default to true in AxisTitles class, #1097.
    • BUGFIX (by @imaNNeo) Show 0 instead of -0 in some edge-cases in the default titles
    • FEATURE (by @tamasapps): Add tooltipHorizontalAlignment and tooltipHorizontalOffset property in [LineTouchTooltipData], [BarTouchTooltipData], [ScatterTouchTooltipData].
    • FEATURE (by @dhiyaaulauliyaa) Add ability to force SideTitle to be placed inside its corresponding axis bounding box, #603.
    Open source →
  22. 0.60.0 26 Jan 2023
    Release notes
    • 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 longPressDuration optional property that allows to control the duration LongPress gesture occurs, #1114 #1127.
    • IMPROVEMENT (by @imaNNeo) Add some screenshots in pubspec.yaml to 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 positionPercentageOffset optional 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 />
    Open source →
  23. 0.55.2 23 Sep 2022
    Release notes
    • 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:

    #MahsaAmini مهسا_امینی OpIran

    Also, this article might help.

    Open source →
  24. 0.55.1 03 Aug 2022
    Release notes
    • 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
    Open source →
  25. 0.55.0 17 Jun 2022
    Release notes
    • FEATURE (by @emelinepal): Add tooltipBorder property 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 angle and now returns a RadarChartTitle instead of a simple string. (Read our Migration Guide to learn more about it)
    Open source →
  26. 0.51.0 30 May 2022
    Release notes
    • FEATURE (by @imaNNeo): Add SideTitleWidget to help you use it in [SideTitles.getTitlesWidget]. It's a wrapper around your widget. It keeps your provided child widget close to the chart. It has angle and space properties to handle margin and rotation. There is a axisSide property 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.
    Open source →
  27. 0.50.6 17 May 2022
    Release notes
    • IMPROVEMENT Fix a backward compatibility issue with Flutter 3.0, #1016
    Open source →
  28. 0.50.5 13 May 2022
    Release notes
    • IMPROVEMENT Fix test coverage problem again :/
    Open source →
  29. 0.50.4 13 May 2022
    Release notes
    • IMPROVEMENT Fix test coverage problem
    Open source →
  30. 0.50.3 13 May 2022
    Release notes
    • IMPROVEMENT Fix order of drawing lineChart bar indicator problem, #198.
    • FEATURE Add isStrokeJoinRound property in LineChartBarData.
    • IMPROVEMENT Upgrade to Flutter 3, #997.
    • FEATURE Add chartRendererKey property 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.
    Open source →
  31. 0.50.1 02 Apr 2022
    Release notes
    • BUGFIX Allow to show axisTitle without sideTitles, #963
    Open source →
  32. 0.50.0 25 Mar 2022
    Release notes

    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" >

    Open source →
  33. 0.46.0 11 Mar 2022
    Release notes
    • BUGFIX Fix drawing BetweenBarsArea problem when there are nullSpots in fromLine and toLine, #912.
    • FEATURE Allow to have vertically grouped BarChart using fromY and toY properties 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 y property to toY in 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.
    Open source →
  34. 0.45.1 03 Mar 2022
    Release notes
    • 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.
    Open source →
  35. 0.45.0 12 Feb 2022
    Release notes
    • 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.
    Open source →
  36. 0.41.0 09 Jan 2022
    Release notes
    • 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
    Open source →
  37. 0.40.6 09 Dec 2021
    Release notes
    • 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.
    Open source →
  38. 0.40.5 03 Dec 2021
    Release notes
    • 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
    Open source →
  39. 0.40.2 14 Oct 2021
    Release notes
    • IMPROVEMENT Use 80 characters for code format line-length instead of 100 (because pub.dev works with 80 and decreased our score).
    Open source →
  40. 0.40.1 14 Oct 2021
    Release notes
    • IMPROVEMENT Fix pub.dev determining web support, #780.
    • IMPROVEMENT Implement flutter_lints in the code.
    • BUGFIX Fix below/above area data transparency issue, #770.
    Open source →
  41. 0.40.0 26 Aug 2021
    Release notes
    • 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!
    Open source →
  42. 0.36.4 19 Aug 2021
    Release notes
    • 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.
    Open source →
  43. 0.36.3 22 Jul 2021
    Release notes
    • IMPROVEMENT Show proper error message when there is less than 3 RadarEntry in RadarChart, #694.
    • IMPROVEMENT Added borderSide property in PieChartSectionData to draw strokes around each section, #606.
    Open source →
  44. 0.36.2 17 Jun 2021
    Release notes
    Open source →
  45. 0.36.1 07 May 2021
    Release notes
    • 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 of 0.36.0)
    • BREAKING Remove unused lineIndex property from (ShowingTooltipIndicators)[https://github.com/imaNNeoFighT/fl_chart/blob/main/repo_files/documentations/line_chart.md#showingtooltipindicators].
    Open source →
  46. 0.36.0 30 Apr 2021
    Release notes
    • 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.interval is working correctly in bottomTitles in the BarChart, #648.
    • BREAKING You should provide spotsIndices instead of showingSpots in ShowingTooltipIndicators.
    Open source →
  47. 0.35.0 01 Apr 2021
    Release notes
    • IMPROVEMENT Added children property 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 getTouchLineStart and getTouchLineEnd in LineTouchData to give more customizability over showing the touch lines. see SampleLineChart9.
    • IMPROVEMENT Enabled sectionsSpace in 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 FlDotCrossPainter which extends FlDotPainter to paint X marks on line chart spots.
    • IMPROVEMENT Added textDirection property in LineTooltipItem, BarTooltipItem and ScatterTooltipItem. It allows you to support rtl languages in tooltips.
    • IMPROVEMENT Added textDirection property in SideTitles class, #531. It allows you to support rtl languages in side titles.
    • IMPROVEMENT Added textDirection property 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 0 value on PieChartSectionData.value anymore, instead remove it from list.
    • BREAKING Removed fullHeightTouchLine property 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,
      ...
    )
    
    Open source →
  48. 0.30.0 22 Mar 2021
    Release notes
    • [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 textAlign property in the BarTooltipItem, LineTooltipItem, and ScatterTooltipItem, default is TextAlign.center.
    • [IMPROVEMENT] Added direction property in the BarTouchTooltipData, and LineTouchTooltipData to specify the position of the tooltip (can be auto, top, bottom), default is auto.
    • [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 swapAnimationCurve property 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 tooltipBottomMargin to tooltipMargin property in the BarTouchTooltipData, and LineTouchTooltipData
    • [Bugfix] Fixed double.infinity in PieChartData .centerSpaceRadius, #584.
    Open source →
  49. 0.20.1 03 Mar 2021
    Release notes
    Open source →
  50. 0.20.0-nullsafety1 19 Feb 2021 pre-release
    Release notes
    • [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).
    Open source →
  51. 0.12.3 17 Feb 2021
    Release notes
    • [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.
    Open source →
  52. 0.12.2 24 Dec 2020
    Release notes
    • [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)
    Open source →
  53. 0.12.1 11 Dec 2020
    Release notes
    • [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.
    Open source →
  54. 0.12.0 06 Oct 2020
    Release notes
    • [Improvement] [BREAKING] Replaced color property with colors in 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 textStyle property to getTextStyles getter (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, and badgePositionPercentageOffset in 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.
    Open source →
  55. 0.11.1 29 Aug 2020
    Release notes
    • [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
    Open source →
  56. 0.11.0 26 Jul 2020
    Release notes
    • [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 touchedStackItem and touchedStackItemIndex properties in the BarTouchedSpot to determine in which BarChartRodStackItem click happened, #393.
    • [Improvement] [BREAKING] Renamed rodStackItem to rodStackItems in BarChartRodData.
    Open source →
  57. 0.10.1 29 Jun 2020
    Release notes
    • [Improvement] Show barGroups x value instead of index in bottom titles, #342.
    • [Improvement] [BREAKING] Use double.infinity instead of double.nan for letting enterSpaceRadius be 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.
    Open source →
  58. 0.10.0 02 Jun 2020
    Release notes
    • [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 checkToShowTitle property 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.etDotPainter and pass your own painter or use built-in ones, see this sample.
    • [Improvement] [BREAKING] Replaced clipToBorder with clipData in LineChartData to support clipping 4 sides of a chart separately.
    Open source →
  59. 0.9.4 01 May 2020
    Release notes
    • [Bugfix] Fixed showing PieChart on web (we've ignored groupSpace on web, because some BlendModes are not working yet)
    Open source →
  60. 0.9.3 23 Apr 2020
    Release notes
    • [BugFix] Fixed groupBarsPosition exception, #313.
    • [Improvement] Shadows default off, #316.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive