rp-data-chart
Version:
Rabbitpre data-chart components lib
60 lines (59 loc) • 1.28 kB
TypeScript
declare type AnyObjArr = Record<string, any>[];
export declare function setVisitDistribute(data: AnyObjArr): {
title: {};
grid: {
left: string;
right: string;
bottom: string;
containLabel: boolean;
};
tooltip: {
trigger: string;
axisPointer: {
type: string;
};
formatter: (params: any[]) => string;
};
toolbox: {
show: boolean;
feature: {
saveAsImage: {};
};
};
xAxis: {
type: string;
axisPointer: {
type: string;
snap: boolean;
lineStyle: {
color: string;
};
};
data: string[];
};
yAxis: {
type: string;
name: string;
axisLabel: {
formatter: string;
};
axisPointer: {
snap: boolean;
};
nameLocation: string;
nameGap: number;
nameTextStyle: {
color: string;
};
};
series: {
name: string;
type: string;
smooth: boolean;
itemStyle: {
color: string;
};
data: string[];
}[];
};
export {};