ag-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
12 lines (11 loc) • 699 B
TypeScript
import { _ModuleSupport, _Widget } from 'ag-charts-community';
import type { BoxBounds, DefinedZoomState } from 'ag-charts-core';
import type { ZoomProperties } from './zoomTypes';
type State = _ModuleSupport.CoreZoomState;
type StateRetrieval = _ModuleSupport.CoreZoomStateSafeRetrieval;
export declare class ZoomScroller {
updateAxes(event: _Widget.WheelWidgetEvent, props: ZoomProperties, bbox: BoxBounds, zooms: StateRetrieval): State;
update(event: _Widget.WheelWidgetEvent, props: ZoomProperties, bbox: BoxBounds, oldZoom: DefinedZoomState): DefinedZoomState | undefined;
updateDelta(delta: number, props: ZoomProperties, oldZoom: DefinedZoomState): DefinedZoomState;
}
export {};