Skip to content

Releases: imaNNeo/fl_chart

0.70.0

19 Dec 18:53
Compare
Choose a tag to compare
  • 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

0.69.2

21 Nov 21:51
Compare
Choose a tag to compare
  • IMPROVEMENT (by @imaNNeo) Fix the analyzer warnings (to have maximum score in the pub.dev)

0.69.1

20 Nov 18:43
Compare
Choose a tag to compare
  • 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

0.69.0

26 Aug 22:58
Compare
Choose a tag to compare
  • 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

09 May 01:03
Compare
Choose a tag to compare
  • 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

28 Mar 22:05
Compare
Choose a tag to compare
/// 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

10 Feb 11:59
Compare
Choose a tag to compare
  • BUGFIX (by @stwarwas) Remove dart.io to fix web platform issue, #1577

0.66.1

22 Jan 21:28
Compare
Choose a tag to compare

0.66.0

25 Dec 14:51
Compare
Choose a tag to compare
  • 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,
  ),
),

0.65.0

24 Nov 22:28
Compare
Choose a tag to compare
  • 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