UNPKG

scichart

Version:

Fast WebGL JavaScript Charting Library and Framework

40 lines (39 loc) 1.69 kB
import { ChartModifierBase } from "../../Charting/ChartModifiers/ChartModifierBase"; import { EChart3DModifierType } from "../../types/ChartModifierType"; import { TModifierExecuteCondition } from "../../types/ChartModifiers/TModifierExecuteCondition"; import { EModifierType } from "../../types/ModifierType"; import { SciChart3DSurface } from "../Visuals/SciChart3DSurface"; export interface IChartModifierBase3DOptions { /** * A unique Id for the {@link ChartModifierBase3D} */ id?: string; /** * The primary action execute condition that modifier should respond to */ executeCondition?: TModifierExecuteCondition; } /** * Defines a base class to a ChartModifier3D - a class which provides Zoom, Pan, Tooltip or interaction behavior * to SciChart - High Performance Realtime {@link https://www.scichart.com/javascript-chart-features | JavaScript 3D Charts} */ export declare abstract class ChartModifierBase3D extends ChartModifierBase<SciChart3DSurface> { /** * The type of chartmodifier. See {@link EChart3DModifierType} for available options */ abstract readonly type: EChart3DModifierType | string; protected typeMap: Map<string, string>; /** * Creates an instance of a {@link ChartModifierBase3D} * @param options Optional parameters of type {@link IChartModifierBase3DOptions} used to configure the modifier */ constructor(options?: IChartModifierBase3DOptions); /** * @inheritDoc */ get modifierType(): EModifierType; toJSON(): { type: string; options: Required<Omit<IChartModifierBase3DOptions, never>>; }; }