From 70e5047298aa8af13c191dd8cf43fa67790f6024 Mon Sep 17 00:00:00 2001 From: Anton Vorobev Date: Fri, 22 Sep 2023 16:00:50 +0300 Subject: [PATCH] fix: update y axis labels when last candle value changes --- src/chart/components/chart/chart.model.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chart/components/chart/chart.model.ts b/src/chart/components/chart/chart.model.ts index 21dc03cd..70ce937b 100755 --- a/src/chart/components/chart/chart.model.ts +++ b/src/chart/components/chart/chart.model.ts @@ -961,6 +961,7 @@ export class ChartModel extends ChartBaseElement { if (lastCandle) { series.updateCurrentPrice(lastCandle.close); + this.paneManager.yExtents.forEach(ext => ext.yAxis.updateOrderedLabels(true)); } if (isInView && lastCandle && candles.length === 1) {