UNPKG

831 BTypeScriptView Raw
1import 'react';
2import { ColumnOptions as Options } from '@antv/g2plot/lib/plots/column';
3import { BasePlotOptions } from '../createPlot';
4import { LengendAPIOptions, TooltipAPIOptions, LabelAPIOptions } from './core/interface';
5interface ColumnOptions extends Options, BasePlotOptions {
6 /** 请使用seriesField替代 */
7 colorField?: string;
8 /** 图例 */
9 legend?: LengendAPIOptions;
10 /** 图表提示框 */
11 tooltip?: TooltipAPIOptions;
12 /** 数据标注label */
13 label?: LabelAPIOptions;
14 /** 旧版api,即将废弃 请使用seriesField替代 */
15 stackField?: string;
16}
17export { ColumnOptions };
18export declare const polyfill: (props: any) => any;
19declare const _default: import("react").ForwardRefExoticComponent<ColumnOptions & import("react").RefAttributes<any>>;
20export default _default;