UNPKG

ag-charts-enterprise

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

80 lines (79 loc) 2.48 kB
import { _ModuleSupport } from 'ag-charts-community'; import type { DefinedZoomState, DynamicContext } from 'ag-charts-core'; import { AbstractModuleInstance } from 'ag-charts-core'; export type ZoomCtx = Omit<DynamicContext<_ModuleSupport.ChartRegistry>, 'zoomManager'> & { readonly zoomManager: _ModuleSupport.ZoomManager; }; export declare class Zoom extends AbstractModuleInstance { private readonly ctx; private get opts(); private get selectionOpts(); get enabled(): boolean; private seriesRect?; private paddedRect?; private readonly axisDragger; private readonly autoScaler; private readonly contextMenu; private readonly panner; private readonly selector; private readonly scroller; private readonly scrollPanner; private readonly twoFingers; private readonly buttons; private hoveredAxisId?; private dragState; private shouldFlipXY?; private readonly isState; private destroyContextMenuActions; constructor(ctx: ZoomCtx); private prevTouchAction; private refreshTouchAction; private teardown; private onEnabledChange; private isIgnoredTouch; private onSeriesAreaDoubleClick; private onSeriesAreaDragStart; private onSeriesAreaDragMove; private onSeriesAreaDragEnd; private handleRegularDragEnd; private resetDragState; private onAxisMouseEnter; private onAxisMouseLeave; private onAxisDoubleClick; private onAxisDragStart; private onAxisDragMove; private onAxisDragEnd; private onNavZoom; private onNavPanX; private onWheel; private onWheelPanning; private onWheelScrolling; private onAxisWheel; private handleWheelScrolling; private onTouchStart; private onTouchMove; private onTouchEnd; private onProcessData; private onLayoutComplete; private onZoomChangeRequested; private onZoomPanStart; private onPanUpdate; private isPanningKeyPressed; private isScalingX; private isScalingY; private constrainZoom; private previousZoomValid; private isZoomValid; private previousAxisZoomValid; private isAxisZoomValid; private resetZoom; updateSyncZoom(zoom: DefinedZoomState): void; private updateChanges; private updateZoom; private updateUnifiedZoom; private updatePrimaryAxisZooms; private updatePrimaryAxisZoom; private updateAxisZoom; private getZoom; private getModuleProperties; }