UNPKG

563 BTypeScriptView Raw
1import { Chart } from '../interface';
2export declare class Connector {
3 id: string;
4 protected type: string;
5 protected cfg: Record<string, any>;
6 constructor(type: any);
7 chartMap: {};
8 state: {};
9 connect(id: any, chart: Chart, pointFinder?: Function): this;
10 unConnect(id: any): void;
11 destroy(): void;
12}
13declare const createTooltipConnector: () => Connector;
14export declare const registerConnector: (cid: string, tid: string, chart: Chart | null, shared: any, pointFinder?: Function) => void;
15export default createTooltipConnector;