Releases: imaNNeo/fl_chart
Releases · imaNNeo/fl_chart
0.69.2
0.69.1
- IMPROVEMENT (by @moshe5745) Update the docs related to line chart's
duration
andcurve
properties, #1618 - IMPROVEMENT (by @imaNNeo) Deprecate
swapAnimationDuration
andswapAnimationCurve
properties to usecurve
andduration
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
0.69.0
- BUGFIX (by @imaNNeo) Fix a memory leak issue in the axis-based charts, there was a logic to calculate and cache the minX, maxX, minY and maxY properties to reduce the computation cost. But it caused some memory issues, as we don't have a quick solution for this, we disabled the caching logic for now, later we can move the calculation logic to the render objects to keep and update them only when the data is changed, #1106, #1693
- BUGFIX (by @imaNNeo) Fix showing grid lines even when there is no line to show in the LineChart, #1691
- IMPROVEMENT (by @sczesla) Allow users to control minIncluded and maxIncluded using SideTitles, #906
- IMPROVEMENT (by @elizabethzhenliu) Reverse the touch order in ScatterChart, so now the top spots are touched first, #1675
- IMPROVEMENT (by @ksw2000) Remove redundant math import, #1683
- IMPROVEMENT (by @Neer-Pathak) Fix linux example build issue, #1668
- IMPROVEMENT (by @TobiasRump) Update the bar chart documentation, #1662
0.68.0
- 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)
0.67.0
- 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
0.66.1
0.66.0
- 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
andradius
properties from ScatterSpot (usedotPainter
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
tomain
- IMPROVEMENT (by @imaNNeo) Update flutter sdk constraints to remove the upper bound limit (Read more here).
0.65.0
- 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'sminY
andmaxY
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
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