Skip to content

Releases: imaNNeo/fl_chart

0.36.0

30 Apr 19:07
Compare
Choose a tag to compare
  • 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.

0.35.0

01 Apr 13:12
Compare
Choose a tag to compare
  • 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,
  ...
)

0.30.0

22 Mar 10:50
Compare
Choose a tag to compare

0.20.1

03 Mar 22:51
Compare
Choose a tag to compare

0.20.0-nullsafety1

19 Feb 20:14
Compare
Choose a tag to compare
  • [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 anymore (use FlSpot.nullSpot instead).

0.12.3

17 Feb 19:20
Compare
Choose a tag to compare
  • [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.2

24 Dec 21:17
Compare
Choose a tag to compare
  • [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.1

11 Dec 11:38
Compare
Choose a tag to compare
  • [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.0

06 Oct 18:50
Compare
Choose a tag to compare
  • [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.

0.11.1

29 Aug 22:22
81d2717
Compare
Choose a tag to compare
  • [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