1 | import View from '../chart/view';
|
2 | import { DIRECTION } from '../constant';
|
3 | import { Attribute } from '../dependents';
|
4 | import Geometry from '../geometry/base';
|
5 | import { LegendItem } from '../interface';
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export declare function getLegendLayout(direction: DIRECTION): 'vertical' | 'horizontal';
|
13 |
|
14 | declare type ComponentLegendItem = Omit<LegendItem, 'marker'> & {
|
15 | marker: any;
|
16 | };
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 | export declare function getLegendItems(view: View, geometry: Geometry, attr: Attribute, themeMarker: object, userMarker: any): ComponentLegendItem[];
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 | export declare function getCustomLegendItems(themeMarker: object, userMarker: object, customItems: LegendItem[]): LegendItem[];
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 | export declare function getLegendThemeCfg(theme: object, direction: string): object;
|
45 | export {};
|