Skip to content

Commit 08dc67d

Browse files
artskardxcity
authored andcommitted
Pull request #6052: [DXCF-6409] Chart - During Lazy loading, the chart on the screen twitches.
Merge in DXCHARTS/dxchart5 from bugfix/DXCF-6409-chart-during-lazy-loading-the-chart-on-the-screen-twitches to master Squashed commit of the following: commit 6cd6ce2995eb66c91f349f64760f8685be0c00b4 Author: Vladislav Poddubskii <[email protected]> Date: Tue Oct 21 10:59:27 2025 +0300 [DXCF-6409] Chart - During Lazy loading, the chart on the screen twitches. GitOrigin-RevId: cb06635eec34ae86df953e2045fc2a5f570c0ba4
1 parent 6458fcc commit 08dc67d

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

src/chart/model/scale.model.ts

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -375,19 +375,10 @@ export class ScaleModel extends ViewportModel {
375375
// there we need only candles constraint
376376
const constrainedState = this.scalePostProcessor(initialStateCopy, state);
377377

378-
if (isSafari) {
379-
startViewportModelAnimationSafari(
380-
this.canvasAnimation,
381-
this,
382-
constrainedState,
383-
this.state.auto ? this.autoScaleModel : undefined,
384-
);
385-
} else {
386-
if (this.state.auto) {
387-
this.autoScaleModel.doAutoYScale(constrainedState);
388-
}
389-
this.apply(constrainedState);
378+
if (this.state.auto) {
379+
this.autoScaleModel.doAutoYScale(constrainedState);
390380
}
381+
this.apply(constrainedState);
391382
}
392383

393384
private scalePostProcessor = (initialState: ViewportModelState, state: ViewportModelState) => {

0 commit comments

Comments
 (0)