UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

19 lines (18 loc) 730 B
import { IChartContainerService } from '../../../services/chart-container'; import { EThemeTypes } from '../../../constants'; export interface IBaseAnalysisChartsProps { chartContainerService: IChartContainerService; className?: string; theme?: EThemeTypes; isEditing?: boolean; onBrushAction?: TBrushAction; onLegendSelectChangedAction?: TLegendSelecteChangedAction; } export interface IBrushActionOption<T = IKeyValues> { variables?: T; } export interface ILegendSelecteChangedActionOption { [key: string]: boolean; } export declare type TBrushAction = (option?: IBrushActionOption) => void; export declare type TLegendSelecteChangedAction = (option?: ILegendSelecteChangedActionOption) => void;