Releases: imaNNeo/fl_chart
Releases · imaNNeo/fl_chart
0.36.0
- 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 ofshowingSpots
in ShowingTooltipIndicators.
0.35.0
- 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
andgetTouchLineEnd
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 extendsFlDotPainter
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
- [IMPROVEMENT] We now use RenderObject as our default drawing system. It brings a lot of stability. Such as size handling, hitTest handling (touches), and It makes us possible to paint Widgets inside our chart (It might fix #383, #556, #582, #584, #591).
- [IMPROVEMENT] Added Radar Chart Documentations
- [IMPROVEMENT] Added
textAlign
property in the BarTooltipItem, LineTooltipItem, and ScatterTooltipItem, default isTextAlign.center
. - [IMPROVEMENT] Added
direction
property in the BarTouchTooltipData, and LineTouchTooltipData to specify the position of the tooltip (can beauto
,top
,bottom
), default isauto
. - [IMPROVEMENT] Updated touch flow, we now use hitTest for handling touch and interactions.
- [IMPROVEMENT] Added 'clickHappened' property in all of our TouchResponses (such as LineTouchResponse, BarTouchResponse, ...), #210.
- [IMPROVEMENT] Added
swapAnimationCurve
property to all chart widgets which handles the built-in animation Curve, #436. - [BREAKING] Some properties in ScatterTouchResponse, and PieTouchResponse moved to a wrapper class, you need to access them through that wrapper class.
- [BREAKING] Renamed
tooltipBottomMargin
totooltipMargin
property in the BarTouchTooltipData, and LineTouchTooltipData - [Bugfix] Fixed
double.infinity
in PieChartData .centerSpaceRadius, #584.
0.20.1
- [BREAKING] We now support flutter version 2.0 (null-safety), check out the migration guide.
- [NEW_CHART] We have added RadarChart. Thanks to Payam Zahedi!
0.20.0-nullsafety1
- [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
0.12.2
0.12.1
- [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
- [Improvement] [BREAKING] Replaced
color
property withcolors
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 togetTextStyles
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
, andbadgePositionPercentageOffset
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.