@alicloud/cloud-charts
Version:

76 lines (75 loc) • 1.67 kB
TypeScript
/// <reference types="react" />
/** 柱图极端数据处理 */
export declare function processBarExtremeData(chartObj: any, config: any, data: any): {
isExtreme: boolean;
data?: undefined;
config?: undefined;
} | {
isExtreme: boolean;
data: any[];
config: {
colors?: any;
tooltip?: boolean;
legend?: any;
xAxis?: any;
};
};
/** 线图极端数据处理 */
export declare function processLineExtremeData(chartObj: any, config: any, data: any): {
isExtreme: boolean;
config?: undefined;
} | {
config: {
yAxis: any;
label: any;
symbol: any;
area?: undefined;
};
isExtreme: boolean;
} | {
config: {
symbol: any;
yAxis?: undefined;
label?: undefined;
area?: undefined;
};
isExtreme: boolean;
} | {
config: {
label: any;
symbol: any;
area: boolean;
yAxis?: undefined;
};
isExtreme: boolean;
} | {
config: {
yAxis: any;
label?: undefined;
symbol?: undefined;
area?: undefined;
};
isExtreme: boolean;
} | {
config: {
area: boolean;
yAxis?: undefined;
label?: undefined;
symbol?: undefined;
};
isExtreme: boolean;
};
/** 饼图极端数据处理 */
export declare function processLPieExtremeData(chartObj: any, config: any, data: any): {
isExtreme: boolean;
} | {
isExtreme: boolean;
data: any[];
config: {
autoSort: boolean;
colors: string[];
tooltip: {
reactContent: (title: string, data: any) => JSX.Element;
};
};
};