UNPKG

740 BTypeScriptView Raw
1import 'react';
2import { BarOptions as Options } from '@antv/g2plot/lib/plots/bar';
3import { BasePlotOptions } from '../createPlot';
4import { LengendAPIOptions, TooltipAPIOptions, LabelAPIOptions } from './core/interface';
5interface GroupedBarOptions extends Options, BasePlotOptions {
6 /** 图例 */
7 legend?: LengendAPIOptions;
8 /** 图表提示框 */
9 tooltip?: TooltipAPIOptions;
10 /** 数据标注label */
11 label?: LabelAPIOptions;
12 /** 条形的宽度,如设置该属性值,则宽度固定不自动调整 */
13 barSize?: number;
14}
15export { GroupedBarOptions };
16declare const _default: import("react").ForwardRefExoticComponent<GroupedBarOptions & import("react").RefAttributes<any>>;
17export default _default;