1 | import 'react';
|
2 | import { BulletOptions as Options } from '@antv/g2plot/lib/plots/bullet';
|
3 | import { BasePlotOptions } from '../createPlot';
|
4 | export interface BulletOptions extends Options, BasePlotOptions {
|
5 | |
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | measureSize?: number | [number, number] | ((datum: any) => number);
|
13 | /**
|
14 | * 该属性已废弃,请使用size.range替代
|
15 | * @example
|
16 | * size={{
|
17 | * range: 50,
|
18 | * }}
|
19 | */
|
20 | rangeSize?: number | [number, number] | ((datum: any) => number);
|
21 | /**
|
22 | * 该属性已废弃,请使用size.target替代
|
23 | * @example
|
24 | * size={{
|
25 | * target: 40,
|
26 | * }}
|
27 | */
|
28 | markerSize?: number | [number, number] | ((datum: any) => number);
|
29 | /**
|
30 | * 该属性已废弃,请使用color.measure替代
|
31 | * @example
|
32 | * color={{
|
33 | * measure: ['#d62728', '#2ca02c', '#000000'],
|
34 | * }}
|
35 | */
|
36 | measureColors?: any;
|
37 | /**
|
38 | * 该属性已废弃,请使用color.range替代
|
39 | * @example
|
40 | * color={{
|
41 | * range: ['#d62728', '#2ca02c', '#000000'],
|
42 | * }}
|
43 | */
|
44 | rangeColors?: any;
|
45 | /**
|
46 | * 该属性已废弃,请使用color.target替代
|
47 | * @example
|
48 | * color={{
|
49 | * target: ['#d62728', '#2ca02c', '#000000'],
|
50 | * }}
|
51 | */
|
52 | markerColors?: any;
|
53 | /**
|
54 | * 该属性已废弃,请使用bulletStyle.target替代
|
55 | * @example
|
56 | * bulletStyle={{
|
57 | * target: {
|
58 | * fill: 'red'
|
59 | * },
|
60 | * range: {}
|
61 | * }}
|
62 | */
|
63 | markerStyle?: any;
|
64 | /**
|
65 | * 该属性已废弃,请在数据中配置range,并配置rangeField
|
66 | *
|
67 | * @type {number}
|
68 | * @memberof BulletOptions
|
69 | */
|
70 | rangeMax?: number;
|
71 | }
|
72 | declare const _default: import("react").ForwardRefExoticComponent<BulletOptions & import("react").RefAttributes<any>>;
|
73 | export default _default;
|
74 |
|
\ | No newline at end of file |