Skip to content

Commit

Permalink
Fix scatter chart format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
imaNNeo committed Dec 27, 2024
1 parent 8b953f6 commit 9918c94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/src/chart/scatter_chart/scatter_chart_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ class ScatterSpot extends FlSpot with EquatableMixin {
lerpDouble(a.x, b.x, t)!,
lerpDouble(a.y, b.y, t)!,
show: b.show,
renderPriority: a.renderPriority + (t * (b.renderPriority - a.renderPriority)).round(),
renderPriority: a.renderPriority +
(t * (b.renderPriority - a.renderPriority)).round(),
dotPainter: a.dotPainter.lerp(a.dotPainter, b.dotPainter, t),
);

Expand Down

0 comments on commit 9918c94

Please sign in to comment.