UNPKG

@nova-ui/charts

Version:

Nova Charts is a library created to provide potential consumers with solutions for various data visualizations that conform with the Nova Design Language. It's designed to solve common patterns identified by UX designers, but also be very flexible so that

24 lines (23 loc) 701 B
import { ChartPlugin } from "../common/chart-plugin"; export interface IZoomPluginConfiguration { enableExternalEvents?: boolean; } export declare class ZoomPlugin extends ChartPlugin { config: IZoomPluginConfiguration; static LAYER_NAME: string; static readonly DEFAULT_CONFIG: IZoomPluginConfiguration; private grid; private brush; private zoomBrushLayer; private brushElement; private readonly destroy$; private brushStartX; private interactionHandlerMap; constructor(config?: IZoomPluginConfiguration); initialize(): void; updateDimensions(): void; destroy(): void; private brushStart; private brushMove; private brushEnd; }