The Wayback Machine - https://web.archive.org/web/20220712235946/https://github.com/topics/sparkline
Skip to content
#

sparkline

Here are 56 public repositories matching this topic...

Luckysheet
flutter-charts
vsilux
vsilux commented Jan 24, 2022

When we setting ChartData. axisMin the Offset in TargetLineDecoration.applyPaintTransform calculates wrongly.

The problem is in:
Offset(state.defaultPadding.left + state.defaultMargin.left, _height - (state.defaultMargin.bottom + state.defaultPadding.bottom) - (scale * (target ?? 0.0) + _minValue);

instead of adding _minValue we should subtract it from `scale * (target ?? 0.

bug good first issue

Improve this page

Add a description, image, and links to the sparkline topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sparkline topic, visit your repo's landing page and select "manage topics."

Learn more