NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #281 most downloaded on pub.dev
A highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.
Last release 6 months ago
13 Mar 2026
Release timing varies
gaps range from 9 days to 6 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
105 releases · first in 2019
[Feature] Added shadow property in LineChartData to have shadow effect in our LineChart, take a look at LineChartSampl5, #304.
shadow property in LineChartData to have shadow effect in our LineChart, take a look at LineChartSampl5, #304.isStepLineChart, and lineChartStepData in the LineChartData to support Step Line Chart, take a look at lineChartSample3, #303.barData parameter to checkToShowDot Function in the FlDotData.One column per quarter.
Added strokeWidth, getStrokeColor, getDotColor in the FlDotData, also removed dotColor from it (you should use getDotColor instead, it gives you more
strokeWidth, getStrokeColor, getDotColor in the FlDotData, also removed dotColor from it (you should use getDotColor instead, it gives you more customizability), now we have more customizability on FlDotData, check line_chart_sample3, and line_chart_sample5, #233, #99, #274.equatable library to solve some equation issues.getDotColor in a proper way, it returns a color based on the LineChartBarData color, #274, #282.showingTooltipIndicators field type to list of ShowingTooltipIndicators to have a clean naming.Added show property in the VerticalLineLabel and set default to false, #256.
show property in the VerticalLineLabel and set default to false, #256.Fixed exception on extraLinesData, #251.
Added fitInsideHorizontally and fitInsideVertically in ScatterTouchTooltipData
fitInsideHorizontally and fitInsideVertically in ScatterTouchTooltipDataclipToBorder functionality basdd on the border sides.BREAKING CHANGE-> changed fitInsideTheChart to fitInsideHorizontally and added fitInsideVertically to support both sides, #225.
preventCurveOvershootingThreshold in LineChartBarData for applying prevent overshooting algorithm, #193.clipToBorder bug in the LineChartData, #228, #214.enableNormalTouch property from all charts TouchData.image, and sizedPicture in the VerticalLine, and the HorizontalLine, check this sample for more information.fitInsideTheChart to fitInsideHorizontally and added fitInsideVertically to support both sides, #225.* Improved documentations
prevent to set BorderRadius with numbers larger than (width / 2), fixed #200.
fitInsideTheChart property inside BarTouchTooltipData and LineTouchTooltipData to force tooltip draw inside the chart (shift it to the chart), fixed #159.added fullHeightTouchLine in LineTouchData to show a full height touch line, see sample in merge request #208.
fullHeightTouchLine in LineTouchData to show a full height touch line, see sample in merge request #208.label (HorizontalLineLabel) inside HorizontalLine and VerticalLine to show a lable text on the lines.yaaay, added some basic unit tests
show is false, #180.double.nan in centerSpaceRadius for the PieChart to let it to be calculated according to the view size, fixed #179.added functionallity to have dashed lines, in everywhere we draw line, there should be a property called dashArray (for example check LineChartBarData
dashArray (for example check LineChartBarData, and see LineChartSample8)showVerticalLines, and showHorizontalLines from ExtraLinesData, if the horizontalLines, or verticalLines is empty we don't show themadded rangeAnnotations in the LineChartData to show range annotations, #163.
isRound fiend in the BarChartRodData to add more customizability, and fixed #147 bug.Fixed drawing borddr bug, #143.
added axisTitleData field to all axis base charts (Line, Bar, Scatter) to show the axes titles, see LineChartSample4 and LineChartSample5.
axisTitleData field to all axis base charts (Line, Bar, Scatter) to show the axes titles, see LineChartSample4 and LineChartSample5.added betweenBarsData property in LineChartData, fixed #93.
betweenBarsData property in LineChartData, fixed #93.fixed calculating size for handling touches bug, #126
rotateAngle property to rotate the SideTitles, fixed issue #75 , see in this sampledrawHorizontalGrid -> drawHorizontalLine, getDrawingHorizontalGridLine -> getDrawingHorizontalLine, checkToShowHorizontalGrid -> checkToShowHorizontalLine (and same for vertical properties), fixed issue #92drawing titles using targetData instead of animating data, fixed issue #130.
prevent to show touch indicators if barData.show is false in LineChart, #125.
💥 Added ScatterChart (read about it) 💥
direction support for gradient on the LineChart (added gradientFrom and gradientTo in the LineChartBarData).
gradientFrom and gradientTo in the LineChartBarData).implemented stacked bar chart, check the samples
fixed handling disabled handleBuiltInTouches state bug
handleBuiltInTouches state bugThere is no FlChart class anymore, instead use LineChart, BarChart, and PieChart directly as a widget.
FlChart class anymore, instead use LineChart, BarChart, and PieChart directly as a widget.touchedResultSink anymore and use touchCallback function which is added to each TouchData like (LineTouchData), read more.TouchTooltipData class inside LineTouchData and BarTouchData renamed to LineTouchTooltipData and BarTouchTooltipData respectively, and also TooltipItem class renamed to LineTooltipItem and BarTooltipItem.spots inside LineTouchResponse renamed to lineBarSpots and type changed from LineTouchedSpot to LineBarSpot.FlTouchNormapInput renamed to FlTouchNormalInput (fixed typo)showingTooltipIndicators in LineChartData to show manually tooltips in LineChart.showingIndicators in LineChartBarData to show manually indicators in LineChart.showingTooltipIndicators in BarChartGroupData to show manually tooltips in BarChart.swapped horizontal and vertical semantics in FlGridData, fixed this issue.
added support for drawing below and above areas separately in LineChart
aboveBarData in LineChartBarDataBelowBarData class renamed to BarAreaData to reuse for both above and below areasbelowSpotsLine renamed to spotsLine in BarAreaDatacutOffY and applyCutOffY fields are added in BarAreaData to handle cutting of drawing below or above areaBelowSpotsLine renamed to BarAreaSpotsLine, and inside it checkToShowSpotBelowLine renamed to checkToShowSpotLineadded interval field in SideTitles, fixed this issue
interval field in SideTitles, fixed this issue💥 Added Animations 💥, read about it.
reformatted dart files with flutter format command
flutter format commandfixed #64, added a technical debt :(
fixed a critical got stuck in draw loop bug,
BarChartGroupData x as required property to keep consistency and prevent unpredictable bugsadded enableNormalTouch property to chart's TouchData to handle normal taps, and enabled by default.
enableNormalTouch property to chart's TouchData to handle normal taps, and enabled by default.reverted getPixelY() on axis_chart_painter to solve the regression bug (fixed issue #48)
bugfix -> fixed draw bug on BarChart when y value is very low in high scale y values (#43).
added SideTitles class to hold titles representation data, and used in FlTitlesData to show left, top, right, bottom titles, instead of legacy direct
SideTitles class to hold titles representation data, and used in FlTitlesData to show left, top, right, bottom titles, instead of legacy direct parameters, and implemented a reversed chart sample using this update.added preventCurveOverShooting on BarData, check this issue
preventCurveOverShooting on BarData, check this issue* nothing important
added Touch Interactivity, read more about it here
added backgroundColor to axis based charts (LineChart, BarChart) to draw a solid background color behind the chart
added ExtraLinesData in the LineChartData to draw extra horizontal and vertical lines on LineChart
fixed charts repainting bug, #16
added clipToBorder to the LineChartData to clip the drawing to the border, #3
fixed bug of adding bar with y = 0 on bar chart #13
renamed FlChartWidget to FlChart (our main widget) and now you have to import package:fl_chart/fl_chart.dart instead of package:fl_chart/fl_chart_widg
FlChartWidget to FlChart (our main widget) and now you have to import package:fl_chart/fl_chart.dart instead of package:fl_chart/fl_chart_widget.dartFlChart* to BaseChart* (parent class of our charts like PieChart)FlAxisChart* to AxisChart*fixed minX, maxX functionality on LineChart
minX, maxX functionality on LineChartNothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →