1 | export interface AdjustCfg {
|
2 | readonly adjustNames?: string[];
|
3 | readonly xField?: string;
|
4 | readonly yField?: string;
|
5 |
|
6 | readonly dodgeBy?: string;
|
7 | readonly marginRatio?: number;
|
8 | readonly dodgeRatio?: number;
|
9 |
|
10 | readonly size?: number;
|
11 | readonly height?: number;
|
12 | readonly reverseOrder?: boolean;
|
13 | }
|
14 |
|
15 | export interface DodgeCfg {
|
16 | readonly adjustNames?: string[];
|
17 | readonly xField: string;
|
18 | readonly yField?: string;
|
19 | readonly marginRatio?: number;
|
20 | readonly dodgeRatio?: number;
|
21 | readonly dodgeBy?: string;
|
22 | readonly intervalPadding?: number;
|
23 | readonly dodgePadding?: number;
|
24 | readonly xDimensionLength?: number;
|
25 | readonly groupNum?: number;
|
26 | readonly defaultSize?: number;
|
27 | readonly maxColumnWidth?: number;
|
28 | readonly minColumnWidth?: number;
|
29 | readonly columnWidthRatio?: number;
|
30 | readonly customOffset?: ((data: any, range: any) => number) | number;
|
31 | }
|
32 |
|
33 | export interface StackCfg {
|
34 | readonly adjustNames?: string[];
|
35 | readonly xField: string;
|
36 | readonly yField?: string;
|
37 |
|
38 | readonly height?: number;
|
39 | readonly size?: number;
|
40 | readonly reverseOrder?: boolean;
|
41 | }
|
42 |
|
43 | export interface Data {
|
44 | [key: string]: any;
|
45 | }
|
46 |
|
47 | export interface Range {
|
48 | pre: number;
|
49 | next: number;
|
50 | }
|
51 |
|
\ | No newline at end of file |