@devexperts/dxcharts-lite
Version:
19 lines (18 loc) • 1.09 kB
TypeScript
/*
* Copyright (C) 2019 - 2026 Devexperts Solutions IE Limited
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
import { CanvasAnimation } from './canvas-animation';
import { ViewportModel, ViewportModelState } from '../model/scaling/viewport.model';
import { AutoScaleViewportSubModel } from '../model/scaling/auto-scale.model';
/**
* Starts the animation for chart viewport movement for safari.
* @param canvasAnimation
* @param viewportModel
* @param state
* @param autoScaleModel - Optional autoScale model to apply before animation
* @doc-tags animation,viewport
*/
export declare const startViewportModelAnimationSafari: (canvasAnimation: CanvasAnimation, viewportModel: ViewportModel, state: ViewportModelState, autoScaleModel?: AutoScaleViewportSubModel) => void;
export declare const startViewportModelAnimation: (canvasAnimation: CanvasAnimation, viewportModel: ViewportModel, state: ViewportModelState) => void;