zhu-jiang-yi-yuan-bigscreen
Version:
南方医科大学珠江医院大屏端
23 lines (18 loc) • 573 B
TypeScript
import { LabelCallback } from '@antv/g2/lib/interface';
import { IChartProps } from 'bizcharts/es/interface';
import { ITooltip } from 'bizcharts/lib/components/Tooltip';
export type ChartProps = {
axis: {
xName: string;
xAlias?: string;
yName: string;
yAlias?: string;
};
height?: string | number;
/** document width*height*reloadData */
calcRefresh?: [number | undefined, number | undefined];
label?: [string, LabelCallback];
padding?: [number, number, number, number]
}
& Pick<IChartProps, 'data'>
& Pick<ITooltip, 'customContent'>