Releases: imaNNeo/fl_chart
Releases · imaNNeo/fl_chart
0.50.4
0.50.3
- IMPROVEMENT Fix order of drawing lineChart bar indicator problem, #198.
- FEATURE Add
isStrokeJoinRound
property in LineChartBarData. - IMPROVEMENT Upgrade to Flutter 3, #997.
- FEATURE Add
chartRendererKey
property to the LineChart, BarChart, and ScatterChart. We pass it directly to our chart renderers that are responsible to render the chart itself (without anything around it like titles), #987.
0.50.1
0.50.0
This release has some breaking changes. So please check out the migration guide here
- IMPROVEMENT Allow to return a Widget in SideTitles.getTitlesWidget instead of a
String
. For example, you can pass an Icon widget as a title, #183. Check below samples:
LineChartSample 8 (Source Code)
BarChartSample 7 (Source Code)
- BREAKING Structure of
FlTitlesData
,AxisTitles
, andSideTitles
are changed. Because we are using a new system which allows you to pass any Flutter Widget as a title instead of passingstring
,textStyle
,textAlign
,rotation
, ... (Read our Migration Guide) - FEATURE Now we can use any Gradient such as LinearGradient and RadialGradient everywhere we have gradient.
- BUGFIX Fix BarChart rods gradient problem, #703.
- BREAKING
colors
property renamed tocolor
to keep only one solid color. And now we have agradient
field instead ofcolorStops
,gradientFrom
andgradientTo
in following classes: BarChartRodData, BackgroundBarChartRodData, BarAreaData, BetweenBarsData, LineChartBarData. (Read our Migration Guide to learn more about it)
0.46.0
- BUGFIX Fix drawing BetweenBarsArea problem when there are
nullSpots
in fromLine and toLine, #912. - FEATURE Allow to have vertically grouped BarChart using
fromY
andtoY
properties in BarChartRodData It means you can have a negative and a positive bar chart at the same X location. #334, #875. Check BarChartSample5 and [BarChartSample6](https://github.com/imaNNeoFighT/fl_chart/blob/master/repo_files/documentations/bar_chart.md#sample-6-source-code. - BREAKING Renamed
y
property totoY
in BarChartRodData and BackgroundBarChartRodData due to the above feature. - BUGFIX Fix smaller radius bubble hiding behind bigger radius bubble in ScatterChart, #930.
- BUGFIX Fix tooltip text alignment and direction in line chart, #927.
0.45.1
0.45.0
- BUGFIX Fix
clipData
implementation in ScatterChart and LineChart, #897. - BUGFIX Fix PieChart changing sections issue (we have disabled semantics for pieChart badgeWidgets), #861.
- BUGFIX Fix LineChart width smaller width or height lower than 40, #869, #857.
- BUGFIX Allow to show title when axis diff is zero, #842, #879.
- IMPROVEMENT Improve iteration over axis values logic (it solves some minor problems on showing titles when min, max values are below than 1.0).
- IMPROVEMENT Add
baselineX
andbaselineY
property in our axis-based charts, It fixes a problem aboutinterval
which mentioned in #893 (check this sample. - IMPROVEMENT Added
distanceCalculator
toLineTouchData
which is used to calculate the distance between spots and touch events, #716, #261, #892 - BREAKING
LineTouchResponse
response now contains a list ofTouchLineBarSpot
instead ofLineBarSpot
. They are ordered based on their distance to the touch event and also contain that distance.
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