ag-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
22 lines (21 loc) • 1.2 kB
TypeScript
import { _ModuleSupport } from 'ag-charts-community';
import type { BoxBounds, DefinedZoomState, ReactiveState } from 'ag-charts-core';
import type { ZoomProperties } from './zoomTypes';
export declare class ZoomContextMenu {
private readonly eventsHub;
private readonly contextMenuRegistry;
private readonly chartState;
private readonly zoomManager;
private readonly getModuleProperties;
private readonly getRect;
private readonly updateZoom;
private readonly isZoomValid;
constructor(eventsHub: _ModuleSupport.EventsHub, contextMenuRegistry: _ModuleSupport.ContextMenuRegistry | undefined, chartState: ReactiveState<_ModuleSupport.ChartState>, zoomManager: _ModuleSupport.ZoomManager, getModuleProperties: () => ZoomProperties, getRect: () => BoxBounds | undefined, updateZoom: (sourcing: _ModuleSupport.UpdateZoomSourcing, zoom: DefinedZoomState) => void, isZoomValid: (zoom: DefinedZoomState) => boolean);
registerActions(enabled: boolean | undefined): (() => void) | undefined;
private computeOrigin;
private onZoomToHere;
private onPanToHere;
private onResetZoom;
private iterateFindNextZoomAtPoint;
private getNextZoomAtPoint;
}