diff --git a/src/chart/components/y_axis/y-axis-scale.handler.ts b/src/chart/components/y_axis/y-axis-scale.handler.ts index b0c2b80f..b0a459a0 100644 --- a/src/chart/components/y_axis/y-axis-scale.handler.ts +++ b/src/chart/components/y_axis/y-axis-scale.handler.ts @@ -98,8 +98,10 @@ export class YAxisScaleHandler extends ChartBaseElement { const newYStart = this.lastYStart - delta; const newYEnd = this.lastYEnd + delta; this.autoScaleCallback(false); - this.scale.setYScale(newYStart, newYEnd); - this.bus.fireDraw(); + if (this.lastYStart !== newYStart || this.lastYEnd !== newYEnd) { + this.scale.setYScale(newYStart, newYEnd); + this.bus.fireDraw(); + } }; private onYDragEnd = () => {