ag-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
26 lines (25 loc) • 730 B
TypeScript
import type { AgZoomAnchorPoint, _ModuleSupport } from 'ag-charts-community';
export interface DefinedZoomState extends _ModuleSupport.AxisZoomState {
x: _ModuleSupport.ZoomState;
y: _ModuleSupport.ZoomState;
}
export type ZoomCoords = {
x1: number;
y1: number;
x2: number;
y2: number;
};
export type AxisZoomStates = Record<string, {
direction: _ModuleSupport.ChartAxisDirection;
zoom: _ModuleSupport.ZoomState | undefined;
}>;
export interface ZoomProperties {
anchorPointX: AgZoomAnchorPoint;
anchorPointY: AgZoomAnchorPoint;
enabled: boolean;
independentAxes: boolean;
isScalingX: boolean;
isScalingY: boolean;
keepAspectRatio: boolean;
scrollingStep: number;
}