any_sparklines 2.2.4 copy "any_sparklines: ^2.2.4" to clipboard
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 dy over a window ending at each point. DataAggregation: sum, avg, min, max, median, std. window: null = cumulative from start, N = last N elements. Updates dy and fy per point.

2.2.3 #

  • rescale — Rescale now transforms full intervals [y..fy] from source to target bounds; both y and fy are mapped, and dy is set to fy - y. Non-finite currentMin/currentMax are derived from input interval bounds.

2.2.2 #

  • Added rescale to DataPointPipeline

2.2.1 #

  • Added trailingSpacing and spacingDeg to DataPointPipeline

2.2.0 #

  • Made the radius and thickness properties in PieData uniform by default, consistent with LineData and BarData
    • Use RelativeLayout(.., relativeTo: RelativeDimension.width) to make them relative again

2.1.4 #

  • Fixed CircleArcBuilder for angles >= 2 * pi

2.1.3 #

  • Fixed LayoutData min/max assert

2.1.2 #

  • Fixed drawing DataPoints in CircleDataPointRenderer

2.1.1 #

  • Added ChartFlipnone, vertically, horizontally, both. Flip charts around axes; available on all chart data types via ISparklinesData.flip.

2.1.0 #

  • Renaming
    • LineChart.points => line
    • PieChart.points => pies
  • Added IDataPointBorder and DataPointBorder
  • Refactoring

2.0.0 #

  • DataPoint
    • added IDataPointData
      • DataPointMeta
      • ThresholdPoints
    • migrated everything to DataPoint.data
  • DataPointPipeline
    • refactored
    • tests

1.1.0 #

  • DataPoint
    • added dx
    • removed getYorDy
  • DataPointPipeline
    • fixes and tests
  • PieData
    • renamed space to dx
    • added padAngle

1.0.0 #

  • Initial release
0
likes
140
points
584
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

Feature-rich and highly optimized sparklines for Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, vector_math

More

Packages that depend on any_sparklines