data-vis-ui
Version:
## [使用文档](https://temp-static-domain.jd.com/data-vis-ui)
40 lines (39 loc) • 1 kB
TypeScript
import { LabelItem } from './typing';
export declare const getOption: (labelData?: LabelItem[]) => {
tooltip: {};
geo: {
map: string;
tooltip: {
backgroundColor: string;
padding: number;
borderColor: string;
textStyle: {
color: string;
fontWeight: number;
};
formatter: (params: any) => string;
};
label: {
show: boolean;
color: string;
};
itemStyle: {
areaColor: string;
borderWidth: number;
borderColor: string;
shadowColor: string;
shadowBlur: number;
shadowOffsetY: number;
emphasis: {
areaColor: string;
};
};
};
series: {
data: LabelItem[];
type: string;
coordinateSystem: string;
backgroundColor: string;
hoverAnimation: boolean;
}[];
};