@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
23 lines (22 loc) • 598 B
TypeScript
import { IBucket, IMetric, ITableEventParams as BaseTableEventParams } from './action-event';
export interface IActionToken {
row: IKeyValues;
click: {
name: string;
value: any;
name1: string;
value1: any;
};
}
export interface ICommonEvent {
buckets: IBucket[];
metrics?: IMetric[];
}
export interface IClickPosition {
clientX?: number;
clientY?: number;
}
export interface ITableEventParams extends BaseTableEventParams {
position?: IClickPosition;
}
export declare type TChartAction = (value: any, event?: IClickPosition) => void;