@dfsj/echarts
Version:
专业的水文曲线组件或构造函数以及通用的echart二次封装图表
16 lines (15 loc) • 500 B
TypeScript
export declare function buildLegend(series: Array<{
name: string;
color?: string;
selected?: boolean;
}>): {
data: {
name: string;
textStyle: {
color: string;
};
}[];
selected: Record<string, boolean>;
};
export declare function createTabulationFeature(toggleTable: (visible?: boolean) => void): Record<string, unknown>;
export declare function createStatisticFeature(toggleStatistic: (visible?: boolean) => void): Record<string, unknown>;