diff --git a/chart_app/lib/src/painters/blink_tick_painter.dart b/chart_app/lib/src/painters/blink_tick_painter.dart index be39cc117..c05fdec0f 100644 --- a/chart_app/lib/src/painters/blink_tick_painter.dart +++ b/chart_app/lib/src/painters/blink_tick_painter.dart @@ -26,17 +26,17 @@ class BlinkingTickPainter double? dotX; if (series.previousObject == null) { - animatedValue = series.value; + animatedValue = series.quote; if (series.epoch != null) { dotX = epochToX(series.epoch!); } } else { final BarrierObject previousBarrier = series.previousObject!; - animatedValue = series.value; + animatedValue = series.quote; animatedValue = ui.lerpDouble( - previousBarrier.value, - series.value, + previousBarrier.quote, + series.quote, animationInfo.currentTickPercent, ); diff --git a/chart_app/lib/src/series/time_interval_painter.dart b/chart_app/lib/src/series/time_interval_painter.dart index eae9959d1..091ef0bd6 100644 --- a/chart_app/lib/src/series/time_interval_painter.dart +++ b/chart_app/lib/src/series/time_interval_painter.dart @@ -32,7 +32,7 @@ class TimeIntervalPainter ..strokeWidth = 1 ..color = style.color; - double y = quoteToY(series.value as double); + double y = quoteToY(series.quote as double); final double labelHalfHeight = style.labelHeight / 2; @@ -50,7 +50,6 @@ class TimeIntervalPainter //set Y axis below the marker y = y + style.labelHeight; - // creating labelArea rectangle final Rect labelArea = Rect.fromCenter( center: Offset(