1 | import 'react';
|
2 | import { RadarOptions as Options } from '@antv/g2plot/lib/plots/radar';
|
3 | import { MappingOptions } from '@antv/g2plot/lib/adaptor/geometries/base';
|
4 | import { BasePlotOptions } from '../createPlot';
|
5 | import { LengendAPIOptions, TooltipAPIOptions, LabelAPIOptions } from './core/interface';
|
6 | interface LineAPIOptions {
|
7 | visible?: boolean;
|
8 | size?: number;
|
9 | style?: Options['lineStyle'];
|
10 | }
|
11 | interface PointAPIOptions extends MappingOptions {
|
12 | visible?: boolean;
|
13 | }
|
14 | interface AreaAPIOptions extends MappingOptions {
|
15 | visible?: boolean;
|
16 | }
|
17 | interface RadarOptions extends Options, BasePlotOptions {
|
18 |
|
19 | angleField?: string;
|
20 |
|
21 | radiusField?: string;
|
22 | line?: LineAPIOptions;
|
23 | point?: PointAPIOptions;
|
24 | area?: AreaAPIOptions;
|
25 | legend?: LengendAPIOptions;
|
26 | tooltip?: TooltipAPIOptions;
|
27 | label?: LabelAPIOptions;
|
28 |
|
29 | angleAxis?: any;
|
30 |
|
31 | radiusAxis?: any;
|
32 | }
|
33 | export { RadarOptions };
|
34 | declare const _default: import("react").ForwardRefExoticComponent<RadarOptions & import("react").RefAttributes<any>>;
|
35 | export default _default;
|