rp-data-chart
Version:
Rabbitpre data-chart components lib
53 lines (52 loc) • 1.35 kB
TypeScript
export declare function formatData(data: Record<string, any>, total: Record<string, any>): {
tooltip: {
trigger: string;
formatter: (parmas: Record<string, any>) => string;
};
toolbox: {
show: boolean;
feature: {
mark: {
show: boolean;
};
};
};
calculable: boolean;
series: {
name: string;
type: string;
left: string;
right: string;
top: string;
bottom: string;
breadcrumb: boolean;
roam: boolean;
nodeClick: boolean;
itemStyle: {
normal: {
label: {
show: boolean;
formatter: (params: Record<string, any>) => any;
};
borderWidth: number;
};
emphasis: {
label: {
show: boolean;
};
};
};
data: {
name: string;
children: any;
value: any;
itemStyle: {
normal: {
color: string;
};
};
}[];
}[];
};
export declare const brandMap: Record<string, any>;
export declare const brandList: string[];