@deltares/fews-web-oc-charts
Version:
FEWS Chart Library
26 lines (25 loc) • 683 B
TypeScript
import { Axes } from '../Axes/axes.js';
import { CartesianAxes } from '../index.js';
import { Visitor } from './visitor.js';
type LevelSelectOptions = {
y: {
axisIndex: number;
};
};
export declare class LevelSelect implements Visitor {
group: any;
line: any;
axis: CartesianAxes;
value: number;
callback: Function;
format: any;
options: LevelSelectOptions;
constructor(value: number, callback: (v: number) => unknown, options?: LevelSelectOptions);
visit(axis: Axes): void;
create(axis: CartesianAxes): void;
redraw(): void;
start(event: any): void;
drag(event: any): void;
end(event: any): void;
}
export {};