utils-echart
Version:
Echart component
61 lines (60 loc) • 1.45 kB
TypeScript
import { splitLineType, symbolShape } from "./enum";
/** 公共配置 */
export declare const com: {
colorData: string[];
backgroundColor: string;
splitLine_x_show: boolean;
splitLine_x_color: string;
splitLine_x_width: number;
splitLine_x_type: splitLineType;
splitLine_y_show: boolean;
splitLine_y_color: string;
splitLine_y_width: number;
splitLine_y_type: splitLineType;
grid: {
left: string;
right: string;
bottom: string;
top: string;
};
fontColor: string;
label: {
show: boolean;
};
xAxis: string[];
legend: {
show: boolean;
icon: string;
};
title: {
text: string;
};
showSymbol: boolean;
symbol: symbolShape;
symbolSize: number;
};
/** 默认无名称单数据 */
export declare const defaultData: {
Mon: number;
Tues: number;
Wen: number;
Thur: number;
Fri: number;
};
/** 默认带名称单数据 */
export declare const defaultSingleDataWithName: {
value: number;
name: string;
}[];
/** 默认带名称多数据 */
export declare const defaultMultipleDataWithName: {
xAxis: string[];
data: {
value: number[];
name: string;
}[];
};
/** 颜色库 */
export declare const colorLibrary: string[];
/** 渐变颜色组 */
export declare const gradientColorLibrary: string[][];