Skip to content

Commit

Permalink
fix: update y axis labels when last candle value changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Keelaro1 committed Sep 22, 2023
1 parent 91d3f8a commit 70e5047
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/chart/components/chart/chart.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 70e5047

Please sign in to comment.