Fl Chart Versions Save

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

0.67.0

1 month ago
  • 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.issue.
  • 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,
    )
  )
)

0.66.2

3 months ago
  • BUGFIX (by @stwarwas) Remove dart.io to fix web platform issue, #1577

0.66.1

3 months ago
  • BUGFIX (by @imaNNeo) Fix PieChart blackout issue, #1538
  • BUGFIX (by @imaNNeo) Fix memory leak in LineChart and BarChart, #1106

0.66.0

4 months ago
  • 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).

0.65.0

5 months ago
  • 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

0.64.0

7 months ago

0.64.0

  • 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.0

11 months ago
  • 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

0.62.0

1 year ago
  • 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.0

1 year ago
  • 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.

0.60.0

1 year ago
  • 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.