Releases: imaNNeo/fl_chart
Releases · imaNNeo/fl_chart
0.41.0
- BUGFIX Fix getNearestTouchedSpot. Previously it returned the first occurrence of a spot within the threshold, and not the nearest, #641, #645.
- FEATURE Add
textAlign
property in the SideTitles, #784. - IMPROVEMENT Write some unit-tests and enable code coverage reports in our CI
0.40.6
0.40.5
- BUGFIX Fix BarChart empty groups state error, #797.
- BUGFIX Fix drawTooltipOnTop direction minor bug, #815.
- BUGFIX Fix section with zero value problem in PieChart (disabled animation on changing value to zero and from zero), #817
- BUGFIX Fix pie chart stroke problem when adding space between sections (using new approach), #818.
- IMPROVEMENT Fix interval below one, #811
0.40.2
0.40.1
0.40.0
- BUGFIX Fixed pieChart
centerRadius = double.infinity
problem, #747.c - BREAKING Charts touchCallback signature has changed to
(FlTouchEvent event, BaseTouchResponse? response)
which FlTouchEvent determines which touch/pointer event happened (such asFlTapUpEvent
,FlPanUpdateEvent
, ...), and BaseTouchResponse gives us the chart response. - BREAKING Chart touchResponse classes don't have
touchInput
andclickHappened
properties anymore. Use FlTouchEvent provided in the callback instead oftouchInput
. Checkevent is FlTapUpEvent
to detect touch events instead of checkingclickHappened
; - IMPROVEMENT Again we support
longPress
touch events. check FlTouchEvent to see all kind of supported touch/pointer events (which can beFlLongPressStart
,FlLongPressMoveUpdate
,FlLongPressEnd
, ...). Also you can check out touch handling doc, #649. - IMPROVEMENT Added
mouseCursorResolver
callback in touchData classes such as LineTouchData and BarTouchData. You can change the MouseCursor based on the provided FlTouchEvent and touchResponse using this callback. (We have used this feature in PieChartSample2) - BUGFIX Fixed
ScatterChart
default touchHandling crash - BUGFIX Fix text styles when updating the theme. Check this theme-aware-sample.
- IMPROVEMENT Show narrow horizontal and vertical grid lines by default.
- IMPROVEMENT Show all left, top (except BarChart), right, bottom titles in Axis based charts by default.
- IMPROVEMENT Set
BarChartAlignment.spaceEvenly
asalignment
property of BarChartData by default - IMPROVEMENT Allow BarChart and LineChart have empty values instead of throwing exception (we don't show anything if there is nothing provided)
- BREAKING
textStyle
of ScatterTooltipItem is now nullable and optional.bottomMargin
is also optional (default is zero). So both are named parameters now. - IMPROVEMENT We improved touch precision of
ScatterChart
. - BUGFIX Fix overlapping last gridlines on border lines problem.
- NEWS Your donation motivates me to work more on the
fl_chart
and resolve more issues. Now you can buy me a coffee!
0.36.4
- IMPROVEMENT Added
borderSide
property in BarChartRodData and BarChartRodStackItem to draw strokes around each bar and rod stack items, #714. - IMPROVEMENT Now all textStyles are nullable and theme-aware by default, #269.
- BREAKING All
getTextStyles
callback now give you acontext
andvalue
(previously it was only avalue
). - BUGFIX Fixed
colorStops
calculation which used in gradient colors, #732.
0.36.3
- IMPROVEMENT Show proper error message when there is less than 3 RadarEntry in RadarChart, #694.
- IMPROVEMENT Added
borderSide
property in PieChartSectionData to draw strokes around each section, #606.
0.36.2
- IMPROVEMENT Support
onMouseExit
event in all charts. - IMPROVEMENT Add
rotateAngle
property in LineTouchTooltipData, BarTouchTooltipData, ScatterTouchTooltipData, #260, #679. - BUGFIX Fix PieChart section index problem, when there is a section with 0 value, #697.
0.36.1
- IMPROVEMENT Allow to set zero value on PieChartSectionData (we remove zero sections instead of crashing), #640.
- BUGFIX Fix NPE crash in our renderers touchCallback, #651.
- BUGFIX Fix line index problem in LineChart, #665. (It has appeared in
0.36.0
, we had to revert 2nd change of0.36.0
) - BREAKING Remove unused
lineIndex
property from ShowingTooltipIndicators.