github imaNNeo/fl_chart 0.35.0

latest releases: 0.64.0, 0.63.0, 0.62.0...
3 years ago
  • 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,
  ...
)

Don't miss a new fl_chart release

NewReleases is sending notifications on new releases.