any_sparklines 2.2.4
any_sparklines: ^2.2.4 copied to clipboard
Feature-rich and highly optimized sparklines for Flutter
2.2.4 #
- DataPointPipeline
- sort({ x?, y?, fy? }) — Sort input by x, y, and/or fy. Each flag:
true= ascending,false= descending. If all null, sorts by x ascending. - aggregate({ function?, window? }) — Aggregate
dyover a window ending at each point.DataAggregation:sum,avg,min,max,median,std.window: null = cumulative from start, N = last N elements. Updatesdyandfyper point.
- sort({ x?, y?, fy? }) — Sort input by x, y, and/or fy. Each flag:
2.2.3 #
- rescale — Rescale now transforms full intervals
[y..fy]from source to target bounds; bothyandfyare mapped, anddyis set tofy - y. Non-finitecurrentMin/currentMaxare derived from input interval bounds.
2.2.2 #
- Added
rescaletoDataPointPipeline
2.2.1 #
- Added
trailingSpacingandspacingDegtoDataPointPipeline
2.2.0 #
- Made the radius and thickness properties in
PieDatauniform by default, consistent withLineDataandBarData- Use
RelativeLayout(.., relativeTo: RelativeDimension.width)to make them relative again
- Use
2.1.4 #
- Fixed
CircleArcBuilderfor angles >= 2 * pi
2.1.3 #
- Fixed
LayoutDatamin/max assert
2.1.2 #
- Fixed drawing DataPoints in
CircleDataPointRenderer
2.1.1 #
- Added ChartFlip —
none,vertically,horizontally,both. Flip charts around axes; available on all chart data types viaISparklinesData.flip.
2.1.0 #
- Renaming
- LineChart.points => line
- PieChart.points => pies
- Added
IDataPointBorderandDataPointBorder - Refactoring
2.0.0 #
DataPoint- added
IDataPointDataDataPointMetaThresholdPoints
- migrated everything to
DataPoint.data
- added
DataPointPipeline- refactored
- tests
1.1.0 #
DataPoint- added
dx - removed
getYorDy
- added
DataPointPipeline- fixes and tests
PieData- renamed
spacetodx - added
padAngle
- renamed
1.0.0 #
- Initial release
