@syncfusion/ej2-treemap 19.4.48 → 20.1.47-14088
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +96 -80
- package/README.md +69 -69
- package/dist/ej2-treemap.umd.min.js +1 -10
- package/dist/ej2-treemap.umd.min.js.map +1 -1
- package/dist/es6/ej2-treemap.es2015.js +80 -71
- package/dist/es6/ej2-treemap.es2015.js.map +1 -1
- package/dist/es6/ej2-treemap.es5.js +138 -129
- package/dist/es6/ej2-treemap.es5.js.map +1 -1
- package/helper/e2e/index.js +3 -3
- package/helper/e2e/treemap-helper.js +13 -13
- package/license +9 -9
- package/package.json +78 -78
- package/src/treemap/layout/legend.js +1 -1
- package/src/treemap/model/base-model.d.ts +485 -485
- package/src/treemap/model/base.js +19 -19
- package/src/treemap/model/interface.d.ts +17 -17
- package/src/treemap/model/pdf-export.js +2 -2
- package/src/treemap/model/theme.js +2 -2
- package/src/treemap/treemap-model.d.ts +221 -221
- package/src/treemap/treemap.d.ts +2 -1
- package/src/treemap/treemap.js +51 -46
- package/src/treemap/user-interaction/highlight-selection.js +12 -12
- package/src/treemap/user-interaction/tooltip.js +14 -10
- package/src/treemap/utils/enum.d.ts +5 -1
- package/src/treemap/utils/helper.js +5 -5
- package/.eslintrc.json +0 -244
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -72
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +0 -49
- package/dist/global/ej2-treemap.min.js +0 -11
- package/dist/global/ej2-treemap.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/tslint.json +0 -111
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, ChildProperty, Complex, Collection } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, ChildProperty, Complex, Collection } from '@syncfusion/ej2-base';
|
|
2
2
|
import {MarkerShape} from "./base";
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -7,18 +7,18 @@ import {MarkerShape} from "./base";
|
|
|
7
7
|
export interface BorderModel {
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Sets and gets the color of the border. This property accepts the value in hex code and rgba string as a valid CSS color string.
|
|
11
|
-
*
|
|
12
|
-
* @default '#808080'
|
|
13
|
-
*/
|
|
14
|
-
color?: string;
|
|
10
|
+
* Sets and gets the color of the border. This property accepts the value in hex code and rgba string as a valid CSS color string.
|
|
11
|
+
*
|
|
12
|
+
* @default '#808080'
|
|
13
|
+
*/
|
|
14
|
+
color?: string;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* Defines the width of the border in the treemap component.
|
|
18
|
-
*
|
|
19
|
-
* @default 0
|
|
20
|
-
*/
|
|
21
|
-
width?: number;
|
|
17
|
+
* Defines the width of the border in the treemap component.
|
|
18
|
+
*
|
|
19
|
+
* @default 0
|
|
20
|
+
*/
|
|
21
|
+
width?: number;
|
|
22
22
|
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -28,32 +28,32 @@ export interface BorderModel {
|
|
|
28
28
|
export interface MarginModel {
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Sets and gets the left margin for the treemap component.
|
|
32
|
-
*
|
|
33
|
-
* @default 10
|
|
34
|
-
*/
|
|
35
|
-
left?: number;
|
|
31
|
+
* Sets and gets the left margin for the treemap component.
|
|
32
|
+
*
|
|
33
|
+
* @default 10
|
|
34
|
+
*/
|
|
35
|
+
left?: number;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
* Sets and gets the right margin for the treemap component.
|
|
39
|
-
*
|
|
40
|
-
* @default 10
|
|
41
|
-
*/
|
|
42
|
-
right?: number;
|
|
38
|
+
* Sets and gets the right margin for the treemap component.
|
|
39
|
+
*
|
|
40
|
+
* @default 10
|
|
41
|
+
*/
|
|
42
|
+
right?: number;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
* Sets and gets the top margin for the treemap component.
|
|
46
|
-
*
|
|
47
|
-
* @default 10
|
|
48
|
-
*/
|
|
49
|
-
top?: number;
|
|
45
|
+
* Sets and gets the top margin for the treemap component.
|
|
46
|
+
*
|
|
47
|
+
* @default 10
|
|
48
|
+
*/
|
|
49
|
+
top?: number;
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Sets and gets the bottom margin for the treemap component.
|
|
53
|
-
*
|
|
54
|
-
* @default 10
|
|
55
|
-
*/
|
|
56
|
-
bottom?: number;
|
|
52
|
+
* Sets and gets the bottom margin for the treemap component.
|
|
53
|
+
*
|
|
54
|
+
* @default 10
|
|
55
|
+
*/
|
|
56
|
+
bottom?: number;
|
|
57
57
|
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -63,46 +63,46 @@ export interface MarginModel {
|
|
|
63
63
|
export interface FontModel {
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* Sets and gets the size for the text in the treemap component.
|
|
67
|
-
*
|
|
68
|
-
* @default null
|
|
69
|
-
*/
|
|
70
|
-
size?: string;
|
|
66
|
+
* Sets and gets the size for the text in the treemap component.
|
|
67
|
+
*
|
|
68
|
+
* @default null
|
|
69
|
+
*/
|
|
70
|
+
size?: string;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
* Sets and gets the color for the text in the treemap component.
|
|
74
|
-
*
|
|
75
|
-
* @default null
|
|
76
|
-
*/
|
|
77
|
-
color?: string;
|
|
73
|
+
* Sets and gets the color for the text in the treemap component.
|
|
74
|
+
*
|
|
75
|
+
* @default null
|
|
76
|
+
*/
|
|
77
|
+
color?: string;
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
* Sets and gets the font family for the text in the treemap component.
|
|
81
|
-
*
|
|
82
|
-
* @default ''
|
|
83
|
-
*/
|
|
84
|
-
fontFamily?: string;
|
|
80
|
+
* Sets and gets the font family for the text in the treemap component.
|
|
81
|
+
*
|
|
82
|
+
* @default ''
|
|
83
|
+
*/
|
|
84
|
+
fontFamily?: string;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
* Sets and gets the font weight for the text in the treemap component.
|
|
88
|
-
*
|
|
89
|
-
* @default 'Normal'
|
|
90
|
-
*/
|
|
91
|
-
fontWeight?: string;
|
|
87
|
+
* Sets and gets the font weight for the text in the treemap component.
|
|
88
|
+
*
|
|
89
|
+
* @default 'Normal'
|
|
90
|
+
*/
|
|
91
|
+
fontWeight?: string;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
|
-
* Sets and gets the font style for the text in the treemap component.
|
|
95
|
-
*
|
|
96
|
-
* @default 'Normal'
|
|
97
|
-
*/
|
|
98
|
-
fontStyle?: string;
|
|
94
|
+
* Sets and gets the font style for the text in the treemap component.
|
|
95
|
+
*
|
|
96
|
+
* @default 'Normal'
|
|
97
|
+
*/
|
|
98
|
+
fontStyle?: string;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
* Sets and gets the opacity of the text in the treemap component.
|
|
102
|
-
*
|
|
103
|
-
* @default 1
|
|
104
|
-
*/
|
|
105
|
-
opacity?: number;
|
|
101
|
+
* Sets and gets the opacity of the text in the treemap component.
|
|
102
|
+
*
|
|
103
|
+
* @default 1
|
|
104
|
+
*/
|
|
105
|
+
opacity?: number;
|
|
106
106
|
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -112,18 +112,18 @@ export interface FontModel {
|
|
|
112
112
|
export interface CommonTitleSettingsModel {
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
* Sets and gets the text for the title in the treemap component.
|
|
116
|
-
*
|
|
117
|
-
* @default ''
|
|
118
|
-
*/
|
|
119
|
-
text?: string;
|
|
115
|
+
* Sets and gets the text for the title in the treemap component.
|
|
116
|
+
*
|
|
117
|
+
* @default ''
|
|
118
|
+
*/
|
|
119
|
+
text?: string;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
|
-
* Define the description of the title for the accessibility in the treemap component.
|
|
123
|
-
*
|
|
124
|
-
* @default ''
|
|
125
|
-
*/
|
|
126
|
-
description?: string;
|
|
122
|
+
* Define the description of the title for the accessibility in the treemap component.
|
|
123
|
+
*
|
|
124
|
+
* @default ''
|
|
125
|
+
*/
|
|
126
|
+
description?: string;
|
|
127
127
|
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -133,16 +133,16 @@ export interface CommonTitleSettingsModel {
|
|
|
133
133
|
export interface SubTitleSettingsModel extends CommonTitleSettingsModel{
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
|
-
* Sets and gets the text style for the subtitle in the treemap component.
|
|
137
|
-
*/
|
|
138
|
-
textStyle?: FontModel;
|
|
136
|
+
* Sets and gets the text style for the subtitle in the treemap component.
|
|
137
|
+
*/
|
|
138
|
+
textStyle?: FontModel;
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
* Sets and gets the alignment of the subtitle text in the treemap component.
|
|
142
|
-
*
|
|
143
|
-
* @default 'Center'
|
|
144
|
-
*/
|
|
145
|
-
alignment?: Alignment;
|
|
141
|
+
* Sets and gets the alignment of the subtitle text in the treemap component.
|
|
142
|
+
*
|
|
143
|
+
* @default 'Center'
|
|
144
|
+
*/
|
|
145
|
+
alignment?: Alignment;
|
|
146
146
|
|
|
147
147
|
}
|
|
148
148
|
|
|
@@ -152,21 +152,21 @@ export interface SubTitleSettingsModel extends CommonTitleSettingsModel{
|
|
|
152
152
|
export interface TitleSettingsModel extends CommonTitleSettingsModel{
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
-
* Sets and gets the options to customizing the text styles of the treemap component.
|
|
156
|
-
*/
|
|
157
|
-
textStyle?: FontModel;
|
|
155
|
+
* Sets and gets the options to customizing the text styles of the treemap component.
|
|
156
|
+
*/
|
|
157
|
+
textStyle?: FontModel;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
|
-
* Sets and gets the text position of the title text in the treemap component.
|
|
161
|
-
*
|
|
162
|
-
* @default 'Center'
|
|
163
|
-
*/
|
|
164
|
-
alignment?: Alignment;
|
|
160
|
+
* Sets and gets the text position of the title text in the treemap component.
|
|
161
|
+
*
|
|
162
|
+
* @default 'Center'
|
|
163
|
+
*/
|
|
164
|
+
alignment?: Alignment;
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
|
-
* Sets and gets the options to customize the subtitle for the treemap.
|
|
168
|
-
*/
|
|
169
|
-
subtitleSettings?: SubTitleSettingsModel;
|
|
167
|
+
* Sets and gets the options to customize the subtitle for the treemap.
|
|
168
|
+
*/
|
|
169
|
+
subtitleSettings?: SubTitleSettingsModel;
|
|
170
170
|
|
|
171
171
|
}
|
|
172
172
|
|
|
@@ -176,60 +176,60 @@ export interface TitleSettingsModel extends CommonTitleSettingsModel{
|
|
|
176
176
|
export interface ColorMappingModel {
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
|
-
* Sets and gets the value from which the range of color mapping starts.
|
|
180
|
-
*
|
|
181
|
-
* @default null
|
|
182
|
-
*/
|
|
183
|
-
from?: number;
|
|
179
|
+
* Sets and gets the value from which the range of color mapping starts.
|
|
180
|
+
*
|
|
181
|
+
* @default null
|
|
182
|
+
*/
|
|
183
|
+
from?: number;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* Sets and gets the value to which the range of color mapping ends.
|
|
187
|
-
*
|
|
188
|
-
* @default null
|
|
189
|
-
*/
|
|
190
|
-
to?: number;
|
|
186
|
+
* Sets and gets the value to which the range of color mapping ends.
|
|
187
|
+
*
|
|
188
|
+
* @default null
|
|
189
|
+
*/
|
|
190
|
+
to?: number;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
|
-
* Sets and gets the color for the color-mapping in treemap.
|
|
194
|
-
*
|
|
195
|
-
* @default null
|
|
196
|
-
*/
|
|
197
|
-
color?: string | string[];
|
|
193
|
+
* Sets and gets the color for the color-mapping in treemap.
|
|
194
|
+
*
|
|
195
|
+
* @default null
|
|
196
|
+
*/
|
|
197
|
+
color?: string | string[];
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
|
-
* Sets and gets the label text for the legend based on color mapping.
|
|
201
|
-
*
|
|
202
|
-
* @default null
|
|
203
|
-
*/
|
|
204
|
-
label?: string;
|
|
200
|
+
* Sets and gets the label text for the legend based on color mapping.
|
|
201
|
+
*
|
|
202
|
+
* @default null
|
|
203
|
+
*/
|
|
204
|
+
label?: string;
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
|
-
* Sets and gets the value for the color-mapping from the data source.
|
|
208
|
-
*
|
|
209
|
-
* @default null
|
|
210
|
-
*/
|
|
211
|
-
value?: string | number;
|
|
207
|
+
* Sets and gets the value for the color-mapping from the data source.
|
|
208
|
+
*
|
|
209
|
+
* @default null
|
|
210
|
+
*/
|
|
211
|
+
value?: string | number;
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
|
-
* Sets and gets the minimum opacity for the color-mapping in the treemap component.
|
|
215
|
-
*
|
|
216
|
-
* @default null
|
|
217
|
-
*/
|
|
218
|
-
minOpacity?: number;
|
|
214
|
+
* Sets and gets the minimum opacity for the color-mapping in the treemap component.
|
|
215
|
+
*
|
|
216
|
+
* @default null
|
|
217
|
+
*/
|
|
218
|
+
minOpacity?: number;
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
|
-
* Sets and gets the maximum opacity for the color-mapping in the treemap component.
|
|
222
|
-
*
|
|
223
|
-
* @default null
|
|
224
|
-
*/
|
|
225
|
-
maxOpacity?: number;
|
|
221
|
+
* Sets and gets the maximum opacity for the color-mapping in the treemap component.
|
|
222
|
+
*
|
|
223
|
+
* @default null
|
|
224
|
+
*/
|
|
225
|
+
maxOpacity?: number;
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
|
-
* Enables or disables the visibility of the legend for color mapping in the treemap component.
|
|
229
|
-
*
|
|
230
|
-
* @default true
|
|
231
|
-
*/
|
|
232
|
-
showLegend?: boolean;
|
|
228
|
+
* Enables or disables the visibility of the legend for color mapping in the treemap component.
|
|
229
|
+
*
|
|
230
|
+
* @default true
|
|
231
|
+
*/
|
|
232
|
+
showLegend?: boolean;
|
|
233
233
|
|
|
234
234
|
}
|
|
235
235
|
|
|
@@ -239,181 +239,181 @@ export interface ColorMappingModel {
|
|
|
239
239
|
export interface LegendSettingsModel {
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
|
-
* Enables or disables the visibility of legend in the treemap component.
|
|
243
|
-
*
|
|
244
|
-
* @default false
|
|
245
|
-
*/
|
|
246
|
-
visible?: boolean;
|
|
242
|
+
* Enables or disables the visibility of legend in the treemap component.
|
|
243
|
+
*
|
|
244
|
+
* @default false
|
|
245
|
+
*/
|
|
246
|
+
visible?: boolean;
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
|
-
* Sets and gets the mode of legend in the treemap component. The modes available are default and interactive modes.
|
|
250
|
-
*
|
|
251
|
-
* @default 'Default'
|
|
252
|
-
*/
|
|
253
|
-
mode?: LegendMode;
|
|
249
|
+
* Sets and gets the mode of legend in the treemap component. The modes available are default and interactive modes.
|
|
250
|
+
*
|
|
251
|
+
* @default 'Default'
|
|
252
|
+
*/
|
|
253
|
+
mode?: LegendMode;
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
|
-
* Sets and gets the background color of legend in the treemap component.
|
|
257
|
-
*
|
|
258
|
-
* @default 'transparent'
|
|
259
|
-
*/
|
|
260
|
-
background?: string;
|
|
256
|
+
* Sets and gets the background color of legend in the treemap component.
|
|
257
|
+
*
|
|
258
|
+
* @default 'transparent'
|
|
259
|
+
*/
|
|
260
|
+
background?: string;
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
|
-
* Sets and gets the shape of legend in the treemap component.
|
|
264
|
-
*
|
|
265
|
-
* @default 'Circle'
|
|
266
|
-
*/
|
|
267
|
-
shape?: LegendShape;
|
|
263
|
+
* Sets and gets the shape of legend in the treemap component.
|
|
264
|
+
*
|
|
265
|
+
* @default 'Circle'
|
|
266
|
+
*/
|
|
267
|
+
shape?: LegendShape;
|
|
268
268
|
|
|
269
269
|
/**
|
|
270
|
-
* Sets and gets the width of legend in the treemap component.
|
|
271
|
-
*
|
|
272
|
-
* @default ''
|
|
273
|
-
*/
|
|
274
|
-
width?: string;
|
|
270
|
+
* Sets and gets the width of legend in the treemap component.
|
|
271
|
+
*
|
|
272
|
+
* @default ''
|
|
273
|
+
*/
|
|
274
|
+
width?: string;
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
|
-
* Sets and gets the height of legend in the treemap component.
|
|
278
|
-
*
|
|
279
|
-
* @default ''
|
|
280
|
-
*/
|
|
281
|
-
height?: string;
|
|
277
|
+
* Sets and gets the height of legend in the treemap component.
|
|
278
|
+
*
|
|
279
|
+
* @default ''
|
|
280
|
+
*/
|
|
281
|
+
height?: string;
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
|
-
* Sets and gets the options to customize the text style of legend in the treemap component.
|
|
285
|
-
*/
|
|
286
|
-
textStyle?: FontModel;
|
|
284
|
+
* Sets and gets the options to customize the text style of legend in the treemap component.
|
|
285
|
+
*/
|
|
286
|
+
textStyle?: FontModel;
|
|
287
287
|
|
|
288
288
|
/**
|
|
289
|
-
* Sets and gets the shape color of legend in the treemap component.
|
|
290
|
-
*
|
|
291
|
-
* @default null
|
|
292
|
-
*/
|
|
293
|
-
fill?: string;
|
|
289
|
+
* Sets and gets the shape color of legend in the treemap component.
|
|
290
|
+
*
|
|
291
|
+
* @default null
|
|
292
|
+
*/
|
|
293
|
+
fill?: string;
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
|
-
* Sets and gets the opacity of legends in the treemap component.
|
|
297
|
-
*
|
|
298
|
-
* @default 1
|
|
299
|
-
*/
|
|
300
|
-
opacity?: number;
|
|
296
|
+
* Sets and gets the opacity of legends in the treemap component.
|
|
297
|
+
*
|
|
298
|
+
* @default 1
|
|
299
|
+
*/
|
|
300
|
+
opacity?: number;
|
|
301
301
|
|
|
302
302
|
/**
|
|
303
|
-
* Sets and gets the width of the shapes in legend in the treemap component.
|
|
304
|
-
*
|
|
305
|
-
* @default 15
|
|
306
|
-
*/
|
|
307
|
-
shapeWidth?: number;
|
|
303
|
+
* Sets and gets the width of the shapes in legend in the treemap component.
|
|
304
|
+
*
|
|
305
|
+
* @default 15
|
|
306
|
+
*/
|
|
307
|
+
shapeWidth?: number;
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
|
-
* Sets and gets the height of the shapes of legend in the treemap component.
|
|
311
|
-
*
|
|
312
|
-
* @default 15
|
|
313
|
-
*/
|
|
314
|
-
shapeHeight?: number;
|
|
310
|
+
* Sets and gets the height of the shapes of legend in the treemap component.
|
|
311
|
+
*
|
|
312
|
+
* @default 15
|
|
313
|
+
*/
|
|
314
|
+
shapeHeight?: number;
|
|
315
315
|
|
|
316
316
|
/**
|
|
317
|
-
* Sets and gets the shape padding of legend in the treemap component.
|
|
318
|
-
*
|
|
319
|
-
* @default 10
|
|
320
|
-
*/
|
|
321
|
-
shapePadding?: number;
|
|
317
|
+
* Sets and gets the shape padding of legend in the treemap component.
|
|
318
|
+
*
|
|
319
|
+
* @default 10
|
|
320
|
+
*/
|
|
321
|
+
shapePadding?: number;
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
|
-
* Sets and gets the URL path of the legend shapes rendered as image in the treemap component.
|
|
325
|
-
*
|
|
326
|
-
* @default null
|
|
327
|
-
*/
|
|
328
|
-
imageUrl?: string;
|
|
324
|
+
* Sets and gets the URL path of the legend shapes rendered as image in the treemap component.
|
|
325
|
+
*
|
|
326
|
+
* @default null
|
|
327
|
+
*/
|
|
328
|
+
imageUrl?: string;
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
|
-
* Sets and gets the options for customizing the color and width of the border of the legend in the treemap component.
|
|
332
|
-
*/
|
|
333
|
-
border?: BorderModel;
|
|
331
|
+
* Sets and gets the options for customizing the color and width of the border of the legend in the treemap component.
|
|
332
|
+
*/
|
|
333
|
+
border?: BorderModel;
|
|
334
334
|
|
|
335
335
|
/**
|
|
336
|
-
* Sets and gets the options for customizing the color and width of the border of the legend shape in the treemap.
|
|
337
|
-
*/
|
|
338
|
-
shapeBorder?: BorderModel;
|
|
336
|
+
* Sets and gets the options for customizing the color and width of the border of the legend shape in the treemap.
|
|
337
|
+
*/
|
|
338
|
+
shapeBorder?: BorderModel;
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
|
-
* Sets and gets the options to customize the title of the legend in the treemap component.
|
|
342
|
-
*/
|
|
343
|
-
title?: CommonTitleSettingsModel;
|
|
341
|
+
* Sets and gets the options to customize the title of the legend in the treemap component.
|
|
342
|
+
*/
|
|
343
|
+
title?: CommonTitleSettingsModel;
|
|
344
344
|
|
|
345
345
|
/**
|
|
346
|
-
* Sets and gets the options to customize the text style of the legend in the treemap component.
|
|
347
|
-
*/
|
|
348
|
-
titleStyle?: FontModel;
|
|
346
|
+
* Sets and gets the options to customize the text style of the legend in the treemap component.
|
|
347
|
+
*/
|
|
348
|
+
titleStyle?: FontModel;
|
|
349
349
|
|
|
350
350
|
/**
|
|
351
|
-
* Sets and gets the position of legend in the treemap component.
|
|
352
|
-
*
|
|
353
|
-
* @default 'Bottom'
|
|
354
|
-
*/
|
|
355
|
-
position?: LegendPosition;
|
|
351
|
+
* Sets and gets the position of legend in the treemap component.
|
|
352
|
+
*
|
|
353
|
+
* @default 'Bottom'
|
|
354
|
+
*/
|
|
355
|
+
position?: LegendPosition;
|
|
356
356
|
|
|
357
357
|
/**
|
|
358
|
-
* Sets and gets the orientation of legend in the treemap component.
|
|
359
|
-
*
|
|
360
|
-
* @default 'None'
|
|
361
|
-
*/
|
|
362
|
-
orientation?: LegendOrientation;
|
|
358
|
+
* Sets and gets the orientation of legend in the treemap component.
|
|
359
|
+
*
|
|
360
|
+
* @default 'None'
|
|
361
|
+
*/
|
|
362
|
+
orientation?: LegendOrientation;
|
|
363
363
|
|
|
364
364
|
/**
|
|
365
|
-
* Enables or disables the pointer for interactive legend in the treemap component.
|
|
366
|
-
*
|
|
367
|
-
* @default false
|
|
368
|
-
*/
|
|
369
|
-
invertedPointer?: boolean;
|
|
365
|
+
* Enables or disables the pointer for interactive legend in the treemap component.
|
|
366
|
+
*
|
|
367
|
+
* @default false
|
|
368
|
+
*/
|
|
369
|
+
invertedPointer?: boolean;
|
|
370
370
|
|
|
371
371
|
/**
|
|
372
|
-
* Sets and gets the label position for interactive legend in the treemap component.
|
|
373
|
-
*
|
|
374
|
-
* @default 'After'
|
|
375
|
-
*/
|
|
376
|
-
labelPosition?: LabelPlacement;
|
|
372
|
+
* Sets and gets the label position for interactive legend in the treemap component.
|
|
373
|
+
*
|
|
374
|
+
* @default 'After'
|
|
375
|
+
*/
|
|
376
|
+
labelPosition?: LabelPlacement;
|
|
377
377
|
|
|
378
378
|
/**
|
|
379
|
-
* Sets and gets the label intersect action of legend in the treemap component.
|
|
380
|
-
*
|
|
381
|
-
* @default 'None'
|
|
382
|
-
*/
|
|
383
|
-
labelDisplayMode?: LabelIntersectAction;
|
|
379
|
+
* Sets and gets the label intersect action of legend in the treemap component.
|
|
380
|
+
*
|
|
381
|
+
* @default 'None'
|
|
382
|
+
*/
|
|
383
|
+
labelDisplayMode?: LabelIntersectAction;
|
|
384
384
|
|
|
385
385
|
/**
|
|
386
|
-
* Sets and gets the alignment of legend in the treemap component.
|
|
387
|
-
*
|
|
388
|
-
* @default 'Center'
|
|
389
|
-
*/
|
|
390
|
-
alignment?: Alignment;
|
|
386
|
+
* Sets and gets the alignment of legend in the treemap component.
|
|
387
|
+
*
|
|
388
|
+
* @default 'Center'
|
|
389
|
+
*/
|
|
390
|
+
alignment?: Alignment;
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
|
-
* Sets and gets the location of the legend using x and y values in the treemap component.
|
|
394
|
-
*/
|
|
395
|
-
location?: Location;
|
|
393
|
+
* Sets and gets the location of the legend using x and y values in the treemap component.
|
|
394
|
+
*/
|
|
395
|
+
location?: Location;
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
|
-
* Sets and gets the visibility state of the legend in the treemap component.
|
|
399
|
-
*
|
|
400
|
-
* @default null
|
|
401
|
-
*/
|
|
402
|
-
showLegendPath?: string;
|
|
398
|
+
* Sets and gets the visibility state of the legend in the treemap component.
|
|
399
|
+
*
|
|
400
|
+
* @default null
|
|
401
|
+
*/
|
|
402
|
+
showLegendPath?: string;
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
|
-
* Sets and gets the value path from the data source to render legend in the treemap component.
|
|
406
|
-
*
|
|
407
|
-
* @default null
|
|
408
|
-
*/
|
|
409
|
-
valuePath?: string;
|
|
405
|
+
* Sets and gets the value path from the data source to render legend in the treemap component.
|
|
406
|
+
*
|
|
407
|
+
* @default null
|
|
408
|
+
*/
|
|
409
|
+
valuePath?: string;
|
|
410
410
|
|
|
411
411
|
/**
|
|
412
|
-
* Enables or disables to remove the duplicate legend item.
|
|
413
|
-
*
|
|
414
|
-
* @default false
|
|
415
|
-
*/
|
|
416
|
-
removeDuplicateLegend?: boolean;
|
|
412
|
+
* Enables or disables to remove the duplicate legend item.
|
|
413
|
+
*
|
|
414
|
+
* @default false
|
|
415
|
+
*/
|
|
416
|
+
removeDuplicateLegend?: boolean;
|
|
417
417
|
|
|
418
418
|
}
|
|
419
419
|
|
|
@@ -423,18 +423,18 @@ export interface LegendSettingsModel {
|
|
|
423
423
|
export interface InitialDrillSettingsModel {
|
|
424
424
|
|
|
425
425
|
/**
|
|
426
|
-
* Sets and gets the initial rendering level index in the treemap component.
|
|
427
|
-
*
|
|
428
|
-
* @default null
|
|
429
|
-
*/
|
|
430
|
-
groupIndex?: number;
|
|
426
|
+
* Sets and gets the initial rendering level index in the treemap component.
|
|
427
|
+
*
|
|
428
|
+
* @default null
|
|
429
|
+
*/
|
|
430
|
+
groupIndex?: number;
|
|
431
431
|
|
|
432
432
|
/**
|
|
433
|
-
* Sets and gets the initial rendering level name in the treemap component.
|
|
434
|
-
*
|
|
435
|
-
* @default null
|
|
436
|
-
*/
|
|
437
|
-
groupName?: string;
|
|
433
|
+
* Sets and gets the initial rendering level name in the treemap component.
|
|
434
|
+
*
|
|
435
|
+
* @default null
|
|
436
|
+
*/
|
|
437
|
+
groupName?: string;
|
|
438
438
|
|
|
439
439
|
}
|
|
440
440
|
|
|
@@ -444,103 +444,103 @@ export interface InitialDrillSettingsModel {
|
|
|
444
444
|
export interface LeafItemSettingsModel {
|
|
445
445
|
|
|
446
446
|
/**
|
|
447
|
-
* Sets and gets the fill color of leaf items in the treemap component.
|
|
448
|
-
*
|
|
449
|
-
* @default null
|
|
450
|
-
*/
|
|
451
|
-
fill?: string;
|
|
447
|
+
* Sets and gets the fill color of leaf items in the treemap component.
|
|
448
|
+
*
|
|
449
|
+
* @default null
|
|
450
|
+
*/
|
|
451
|
+
fill?: string;
|
|
452
452
|
|
|
453
453
|
/**
|
|
454
|
-
* Enables or disables automatic filling of colors in leaf items of the treemap component.
|
|
455
|
-
*
|
|
456
|
-
* @default false
|
|
457
|
-
*/
|
|
458
|
-
autoFill?: boolean;
|
|
454
|
+
* Enables or disables automatic filling of colors in leaf items of the treemap component.
|
|
455
|
+
*
|
|
456
|
+
* @default false
|
|
457
|
+
*/
|
|
458
|
+
autoFill?: boolean;
|
|
459
459
|
|
|
460
460
|
/**
|
|
461
|
-
* Sets and gets the options for customizing the color and width of the border of the leaf item in the treemap component.
|
|
462
|
-
*/
|
|
463
|
-
border?: BorderModel;
|
|
461
|
+
* Sets and gets the options for customizing the color and width of the border of the leaf item in the treemap component.
|
|
462
|
+
*/
|
|
463
|
+
border?: BorderModel;
|
|
464
464
|
|
|
465
465
|
/**
|
|
466
|
-
* Sets and gets the gap between the leaf item in the treemap component.
|
|
467
|
-
*
|
|
468
|
-
* @default 0
|
|
469
|
-
*/
|
|
470
|
-
gap?: number;
|
|
466
|
+
* Sets and gets the gap between the leaf item in the treemap component.
|
|
467
|
+
*
|
|
468
|
+
* @default 0
|
|
469
|
+
*/
|
|
470
|
+
gap?: number;
|
|
471
471
|
|
|
472
472
|
/**
|
|
473
|
-
* Sets and gets the padding of leaf item in the treemap component.
|
|
474
|
-
*
|
|
475
|
-
* @default 10
|
|
476
|
-
*/
|
|
477
|
-
padding?: number;
|
|
473
|
+
* Sets and gets the padding of leaf item in the treemap component.
|
|
474
|
+
*
|
|
475
|
+
* @default 10
|
|
476
|
+
*/
|
|
477
|
+
padding?: number;
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
|
-
* Sets and gets the opacity of leaf item in the treemap component.
|
|
481
|
-
*
|
|
482
|
-
* @default 1
|
|
483
|
-
*/
|
|
484
|
-
opacity?: number;
|
|
480
|
+
* Sets and gets the opacity of leaf item in the treemap component.
|
|
481
|
+
*
|
|
482
|
+
* @default 1
|
|
483
|
+
*/
|
|
484
|
+
opacity?: number;
|
|
485
485
|
|
|
486
486
|
/**
|
|
487
|
-
* Shows or hides the labels in the treemap component.
|
|
488
|
-
*
|
|
489
|
-
* @default true
|
|
490
|
-
*/
|
|
491
|
-
showLabels?: boolean;
|
|
487
|
+
* Shows or hides the labels in the treemap component.
|
|
488
|
+
*
|
|
489
|
+
* @default true
|
|
490
|
+
*/
|
|
491
|
+
showLabels?: boolean;
|
|
492
492
|
|
|
493
493
|
/**
|
|
494
|
-
* Sets and gets the value path from the data source for label of leaf item in the treemap component.
|
|
495
|
-
*
|
|
496
|
-
* @default null
|
|
497
|
-
*/
|
|
498
|
-
labelPath?: string;
|
|
494
|
+
* Sets and gets the value path from the data source for label of leaf item in the treemap component.
|
|
495
|
+
*
|
|
496
|
+
* @default null
|
|
497
|
+
*/
|
|
498
|
+
labelPath?: string;
|
|
499
499
|
|
|
500
500
|
/**
|
|
501
|
-
* Sets and gets the label text format of leaf item in the treemap component.
|
|
502
|
-
*
|
|
503
|
-
* @default null
|
|
504
|
-
*/
|
|
505
|
-
labelFormat?: string;
|
|
501
|
+
* Sets and gets the label text format of leaf item in the treemap component.
|
|
502
|
+
*
|
|
503
|
+
* @default null
|
|
504
|
+
*/
|
|
505
|
+
labelFormat?: string;
|
|
506
506
|
|
|
507
507
|
/**
|
|
508
|
-
* Sets and gets the position of the labels in the treemap component.
|
|
509
|
-
*
|
|
510
|
-
* @default 'TopLeft'
|
|
511
|
-
*/
|
|
512
|
-
labelPosition?: LabelPosition;
|
|
508
|
+
* Sets and gets the position of the labels in the treemap component.
|
|
509
|
+
*
|
|
510
|
+
* @default 'TopLeft'
|
|
511
|
+
*/
|
|
512
|
+
labelPosition?: LabelPosition;
|
|
513
513
|
|
|
514
514
|
/**
|
|
515
|
-
* Sets and gets the style of the labels of leaf item in the treemap component.
|
|
516
|
-
*/
|
|
517
|
-
labelStyle?: FontModel;
|
|
515
|
+
* Sets and gets the style of the labels of leaf item in the treemap component.
|
|
516
|
+
*/
|
|
517
|
+
labelStyle?: FontModel;
|
|
518
518
|
|
|
519
519
|
/**
|
|
520
|
-
* Sets and gets the label template of leaf item in the treemap component.
|
|
521
|
-
*
|
|
522
|
-
* @default null
|
|
523
|
-
*/
|
|
524
|
-
labelTemplate?: string;
|
|
520
|
+
* Sets and gets the label template of leaf item in the treemap component.
|
|
521
|
+
*
|
|
522
|
+
* @default null
|
|
523
|
+
*/
|
|
524
|
+
labelTemplate?: string;
|
|
525
525
|
|
|
526
526
|
/**
|
|
527
|
-
* Sets and gets the position of the template of leaf item in the treemap component.
|
|
528
|
-
*
|
|
529
|
-
* @default 'Center'
|
|
530
|
-
*/
|
|
531
|
-
templatePosition?: LabelPosition;
|
|
527
|
+
* Sets and gets the position of the template of leaf item in the treemap component.
|
|
528
|
+
*
|
|
529
|
+
* @default 'Center'
|
|
530
|
+
*/
|
|
531
|
+
templatePosition?: LabelPosition;
|
|
532
532
|
|
|
533
533
|
/**
|
|
534
|
-
* Sets and gets the label intersect action of leaf item in the treemap component.
|
|
535
|
-
*
|
|
536
|
-
* @default 'Trim'
|
|
537
|
-
*/
|
|
538
|
-
interSectAction?: LabelAlignment;
|
|
534
|
+
* Sets and gets the label intersect action of leaf item in the treemap component.
|
|
535
|
+
*
|
|
536
|
+
* @default 'Trim'
|
|
537
|
+
*/
|
|
538
|
+
interSectAction?: LabelAlignment;
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
|
-
* Sets and gets the options to customize color-mapping of the treemap component.
|
|
542
|
-
*/
|
|
543
|
-
colorMapping?: ColorMappingModel[];
|
|
541
|
+
* Sets and gets the options to customize color-mapping of the treemap component.
|
|
542
|
+
*/
|
|
543
|
+
colorMapping?: ColorMappingModel[];
|
|
544
544
|
|
|
545
545
|
}
|
|
546
546
|
|
|
@@ -550,56 +550,56 @@ export interface LeafItemSettingsModel {
|
|
|
550
550
|
export interface TooltipSettingsModel {
|
|
551
551
|
|
|
552
552
|
/**
|
|
553
|
-
* Enables or disables the visibility state of tooltip in the treemap component.
|
|
554
|
-
*
|
|
555
|
-
* @default false
|
|
556
|
-
*/
|
|
557
|
-
visible?: boolean;
|
|
553
|
+
* Enables or disables the visibility state of tooltip in the treemap component.
|
|
554
|
+
*
|
|
555
|
+
* @default false
|
|
556
|
+
*/
|
|
557
|
+
visible?: boolean;
|
|
558
558
|
|
|
559
559
|
/**
|
|
560
|
-
* Sets and gets the template for tooltip in the treemap component.
|
|
561
|
-
*
|
|
562
|
-
* @default ''
|
|
563
|
-
*/
|
|
564
|
-
template?: string;
|
|
560
|
+
* Sets and gets the template for tooltip in the treemap component.
|
|
561
|
+
*
|
|
562
|
+
* @default ''
|
|
563
|
+
*/
|
|
564
|
+
template?: string;
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
|
-
* Sets and gets the format of the tooltip in the treemap component.
|
|
568
|
-
*
|
|
569
|
-
* @default null
|
|
570
|
-
*/
|
|
571
|
-
format?: string;
|
|
567
|
+
* Sets and gets the format of the tooltip in the treemap component.
|
|
568
|
+
*
|
|
569
|
+
* @default null
|
|
570
|
+
*/
|
|
571
|
+
format?: string;
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
|
-
* Sets and gets the background color of tooltip in the treemap component.
|
|
575
|
-
*
|
|
576
|
-
* @default null
|
|
577
|
-
*/
|
|
578
|
-
fill?: string;
|
|
574
|
+
* Sets and gets the background color of tooltip in the treemap component.
|
|
575
|
+
*
|
|
576
|
+
* @default null
|
|
577
|
+
*/
|
|
578
|
+
fill?: string;
|
|
579
579
|
|
|
580
580
|
/**
|
|
581
|
-
* Sets and gets the opacity of tooltip in the treemap component.
|
|
582
|
-
*
|
|
583
|
-
* @default 0.75
|
|
584
|
-
*/
|
|
585
|
-
opacity?: number;
|
|
581
|
+
* Sets and gets the opacity of tooltip in the treemap component.
|
|
582
|
+
*
|
|
583
|
+
* @default 0.75
|
|
584
|
+
*/
|
|
585
|
+
opacity?: number;
|
|
586
586
|
|
|
587
587
|
/**
|
|
588
|
-
* Sets and gets the marker shapes in the treemap component.
|
|
589
|
-
*
|
|
590
|
-
* @default '[Circle]'
|
|
591
|
-
*/
|
|
592
|
-
markerShapes?: MarkerShape[];
|
|
588
|
+
* Sets and gets the marker shapes in the treemap component.
|
|
589
|
+
*
|
|
590
|
+
* @default '[Circle]'
|
|
591
|
+
*/
|
|
592
|
+
markerShapes?: MarkerShape[];
|
|
593
593
|
|
|
594
594
|
/**
|
|
595
|
-
* Sets and gets the options for customizing the color and width of the border of the tooltip.
|
|
596
|
-
*/
|
|
597
|
-
border?: BorderModel;
|
|
595
|
+
* Sets and gets the options for customizing the color and width of the border of the tooltip.
|
|
596
|
+
*/
|
|
597
|
+
border?: BorderModel;
|
|
598
598
|
|
|
599
599
|
/**
|
|
600
|
-
* Sets and gets the options for customizing the text style of tooltip of the treemap component.
|
|
601
|
-
*/
|
|
602
|
-
textStyle?: FontModel;
|
|
600
|
+
* Sets and gets the options for customizing the text style of tooltip of the treemap component.
|
|
601
|
+
*/
|
|
602
|
+
textStyle?: FontModel;
|
|
603
603
|
|
|
604
604
|
}
|
|
605
605
|
|
|
@@ -609,37 +609,37 @@ export interface TooltipSettingsModel {
|
|
|
609
609
|
export interface SelectionSettingsModel {
|
|
610
610
|
|
|
611
611
|
/**
|
|
612
|
-
* Enables or disables the selection functionality in the treemap component.
|
|
613
|
-
*
|
|
614
|
-
* @default false
|
|
615
|
-
*/
|
|
616
|
-
enable?: boolean;
|
|
612
|
+
* Enables or disables the selection functionality in the treemap component.
|
|
613
|
+
*
|
|
614
|
+
* @default false
|
|
615
|
+
*/
|
|
616
|
+
enable?: boolean;
|
|
617
617
|
|
|
618
618
|
/**
|
|
619
|
-
* Sets and gets the color of the selection when the leaf item is selected in the treemap component.
|
|
620
|
-
*
|
|
621
|
-
* @default null
|
|
622
|
-
*/
|
|
623
|
-
fill?: string;
|
|
619
|
+
* Sets and gets the color of the selection when the leaf item is selected in the treemap component.
|
|
620
|
+
*
|
|
621
|
+
* @default null
|
|
622
|
+
*/
|
|
623
|
+
fill?: string;
|
|
624
624
|
|
|
625
625
|
/**
|
|
626
|
-
* Sets and gets the opacity of the selection when the leaf item is selected in the treemap component.
|
|
627
|
-
*
|
|
628
|
-
* @default '0.5'
|
|
629
|
-
*/
|
|
630
|
-
opacity?: string;
|
|
626
|
+
* Sets and gets the opacity of the selection when the leaf item is selected in the treemap component.
|
|
627
|
+
*
|
|
628
|
+
* @default '0.5'
|
|
629
|
+
*/
|
|
630
|
+
opacity?: string;
|
|
631
631
|
|
|
632
632
|
/**
|
|
633
|
-
* Sets and gets the border of the selected items in the treemap component.
|
|
634
|
-
*/
|
|
635
|
-
border?: BorderModel;
|
|
633
|
+
* Sets and gets the border of the selected items in the treemap component.
|
|
634
|
+
*/
|
|
635
|
+
border?: BorderModel;
|
|
636
636
|
|
|
637
637
|
/**
|
|
638
|
-
* Sets and gets the element in which selection must be done in the treemap component.
|
|
639
|
-
*
|
|
640
|
-
* @default 'Item'
|
|
641
|
-
*/
|
|
642
|
-
mode?: SelectionMode;
|
|
638
|
+
* Sets and gets the element in which selection must be done in the treemap component.
|
|
639
|
+
*
|
|
640
|
+
* @default 'Item'
|
|
641
|
+
*/
|
|
642
|
+
mode?: SelectionMode;
|
|
643
643
|
|
|
644
644
|
}
|
|
645
645
|
|
|
@@ -649,38 +649,38 @@ export interface SelectionSettingsModel {
|
|
|
649
649
|
export interface HighlightSettingsModel {
|
|
650
650
|
|
|
651
651
|
/**
|
|
652
|
-
* Enables or disables the highlight functionality of the treemap component.
|
|
653
|
-
*
|
|
654
|
-
* @default false
|
|
655
|
-
*/
|
|
656
|
-
enable?: boolean;
|
|
652
|
+
* Enables or disables the highlight functionality of the treemap component.
|
|
653
|
+
*
|
|
654
|
+
* @default false
|
|
655
|
+
*/
|
|
656
|
+
enable?: boolean;
|
|
657
657
|
|
|
658
658
|
/**
|
|
659
|
-
* Sets and gets the highlight color of the treemap component.
|
|
660
|
-
*
|
|
661
|
-
* @default '#808080'
|
|
662
|
-
*/
|
|
663
|
-
fill?: string;
|
|
659
|
+
* Sets and gets the highlight color of the treemap component.
|
|
660
|
+
*
|
|
661
|
+
* @default '#808080'
|
|
662
|
+
*/
|
|
663
|
+
fill?: string;
|
|
664
664
|
|
|
665
665
|
/**
|
|
666
|
-
* Sets and gets the opacity of the treemap component.
|
|
667
|
-
*
|
|
668
|
-
* @default '0.5'
|
|
669
|
-
*/
|
|
670
|
-
opacity?: string;
|
|
666
|
+
* Sets and gets the opacity of the treemap component.
|
|
667
|
+
*
|
|
668
|
+
* @default '0.5'
|
|
669
|
+
*/
|
|
670
|
+
opacity?: string;
|
|
671
671
|
|
|
672
672
|
/**
|
|
673
|
-
* Sets and gets the options for customizing the color and width of the border of the
|
|
674
|
-
* highlighted item in the treemap component.
|
|
675
|
-
*/
|
|
676
|
-
border?: BorderModel;
|
|
673
|
+
* Sets and gets the options for customizing the color and width of the border of the
|
|
674
|
+
* highlighted item in the treemap component.
|
|
675
|
+
*/
|
|
676
|
+
border?: BorderModel;
|
|
677
677
|
|
|
678
678
|
/**
|
|
679
|
-
* Sets and gets the element in which highlight must be done in the treemap component.
|
|
680
|
-
*
|
|
681
|
-
* @default 'Item'
|
|
682
|
-
*/
|
|
683
|
-
mode?: HighLightMode;
|
|
679
|
+
* Sets and gets the element in which highlight must be done in the treemap component.
|
|
680
|
+
*
|
|
681
|
+
* @default 'Item'
|
|
682
|
+
*/
|
|
683
|
+
mode?: HighLightMode;
|
|
684
684
|
|
|
685
685
|
}
|
|
686
686
|
|
|
@@ -690,103 +690,103 @@ export interface HighlightSettingsModel {
|
|
|
690
690
|
export interface LevelSettingsModel {
|
|
691
691
|
|
|
692
692
|
/**
|
|
693
|
-
* Sets and gets the value path from the data source in the treemap component to render the item.
|
|
694
|
-
*
|
|
695
|
-
* @default null
|
|
696
|
-
*/
|
|
697
|
-
groupPath?: string;
|
|
693
|
+
* Sets and gets the value path from the data source in the treemap component to render the item.
|
|
694
|
+
*
|
|
695
|
+
* @default null
|
|
696
|
+
*/
|
|
697
|
+
groupPath?: string;
|
|
698
698
|
|
|
699
699
|
/**
|
|
700
|
-
* Sets and gets the gap between the levels in the treemap component.
|
|
701
|
-
*
|
|
702
|
-
* @default 0
|
|
703
|
-
*/
|
|
704
|
-
groupGap?: number;
|
|
700
|
+
* Sets and gets the gap between the levels in the treemap component.
|
|
701
|
+
*
|
|
702
|
+
* @default 0
|
|
703
|
+
*/
|
|
704
|
+
groupGap?: number;
|
|
705
705
|
|
|
706
706
|
/**
|
|
707
|
-
* Sets and gets the padding of levels in the treemap component.
|
|
708
|
-
*
|
|
709
|
-
* @default 10
|
|
710
|
-
*/
|
|
711
|
-
groupPadding?: number;
|
|
707
|
+
* Sets and gets the padding of levels in the treemap component.
|
|
708
|
+
*
|
|
709
|
+
* @default 10
|
|
710
|
+
*/
|
|
711
|
+
groupPadding?: number;
|
|
712
712
|
|
|
713
713
|
/**
|
|
714
|
-
* Sets and gets the options for customizing the color and width of the border of
|
|
715
|
-
* the levels of the treemap component.
|
|
716
|
-
*/
|
|
717
|
-
border?: BorderModel;
|
|
714
|
+
* Sets and gets the options for customizing the color and width of the border of
|
|
715
|
+
* the levels of the treemap component.
|
|
716
|
+
*/
|
|
717
|
+
border?: BorderModel;
|
|
718
718
|
|
|
719
719
|
/**
|
|
720
|
-
* Sets and gets the fill color of the level in the treemap component.
|
|
721
|
-
*
|
|
722
|
-
* @default null
|
|
723
|
-
*/
|
|
724
|
-
fill?: string;
|
|
720
|
+
* Sets and gets the fill color of the level in the treemap component.
|
|
721
|
+
*
|
|
722
|
+
* @default null
|
|
723
|
+
*/
|
|
724
|
+
fill?: string;
|
|
725
725
|
|
|
726
726
|
/**
|
|
727
|
-
* Enables or disables the automatic filling of the colors in the items in the treemap component.
|
|
728
|
-
*
|
|
729
|
-
* @default false
|
|
730
|
-
*/
|
|
731
|
-
autoFill?: boolean;
|
|
727
|
+
* Enables or disables the automatic filling of the colors in the items in the treemap component.
|
|
728
|
+
*
|
|
729
|
+
* @default false
|
|
730
|
+
*/
|
|
731
|
+
autoFill?: boolean;
|
|
732
732
|
|
|
733
733
|
/**
|
|
734
|
-
* Sets and gets the opacity in the treemap component.
|
|
735
|
-
*
|
|
736
|
-
* @default 1
|
|
737
|
-
*/
|
|
738
|
-
opacity?: number;
|
|
734
|
+
* Sets and gets the opacity in the treemap component.
|
|
735
|
+
*
|
|
736
|
+
* @default 1
|
|
737
|
+
*/
|
|
738
|
+
opacity?: number;
|
|
739
739
|
|
|
740
740
|
/**
|
|
741
|
-
* Shows or hides the header in level of the treemap component.
|
|
742
|
-
*
|
|
743
|
-
* @default true
|
|
744
|
-
*/
|
|
745
|
-
showHeader?: boolean;
|
|
741
|
+
* Shows or hides the header in level of the treemap component.
|
|
742
|
+
*
|
|
743
|
+
* @default true
|
|
744
|
+
*/
|
|
745
|
+
showHeader?: boolean;
|
|
746
746
|
|
|
747
747
|
/**
|
|
748
|
-
* Sets and gets the height of header in the treemap component.
|
|
749
|
-
*
|
|
750
|
-
* @default 20
|
|
751
|
-
*/
|
|
752
|
-
headerHeight?: number;
|
|
748
|
+
* Sets and gets the height of header in the treemap component.
|
|
749
|
+
*
|
|
750
|
+
* @default 20
|
|
751
|
+
*/
|
|
752
|
+
headerHeight?: number;
|
|
753
753
|
|
|
754
754
|
/**
|
|
755
|
-
* Sets and gets the template for header in the treemap component.
|
|
756
|
-
*
|
|
757
|
-
* @default null
|
|
758
|
-
*/
|
|
759
|
-
headerTemplate?: string;
|
|
755
|
+
* Sets and gets the template for header in the treemap component.
|
|
756
|
+
*
|
|
757
|
+
* @default null
|
|
758
|
+
*/
|
|
759
|
+
headerTemplate?: string;
|
|
760
760
|
|
|
761
761
|
/**
|
|
762
|
-
* Sets and gets the format of header of the levels in the treemap component.
|
|
763
|
-
*
|
|
764
|
-
* @default null
|
|
765
|
-
*/
|
|
766
|
-
headerFormat?: string;
|
|
762
|
+
* Sets and gets the format of header of the levels in the treemap component.
|
|
763
|
+
*
|
|
764
|
+
* @default null
|
|
765
|
+
*/
|
|
766
|
+
headerFormat?: string;
|
|
767
767
|
|
|
768
768
|
/**
|
|
769
|
-
* Sets and gets the alignment of the header of the treemap component.
|
|
770
|
-
*
|
|
771
|
-
* @default 'Near'
|
|
772
|
-
*/
|
|
773
|
-
headerAlignment?: Alignment;
|
|
769
|
+
* Sets and gets the alignment of the header of the treemap component.
|
|
770
|
+
*
|
|
771
|
+
* @default 'Near'
|
|
772
|
+
*/
|
|
773
|
+
headerAlignment?: Alignment;
|
|
774
774
|
|
|
775
775
|
/**
|
|
776
|
-
* Sets and gets the options for customizing the style of header of the treemap component.
|
|
777
|
-
*/
|
|
778
|
-
headerStyle?: FontModel;
|
|
776
|
+
* Sets and gets the options for customizing the style of header of the treemap component.
|
|
777
|
+
*/
|
|
778
|
+
headerStyle?: FontModel;
|
|
779
779
|
|
|
780
780
|
/**
|
|
781
|
-
* Sets and gets the options for customizing the template position of the treemap component.
|
|
782
|
-
*
|
|
783
|
-
* @default 'TopLeft'
|
|
784
|
-
*/
|
|
785
|
-
templatePosition?: LabelPosition;
|
|
781
|
+
* Sets and gets the options for customizing the template position of the treemap component.
|
|
782
|
+
*
|
|
783
|
+
* @default 'TopLeft'
|
|
784
|
+
*/
|
|
785
|
+
templatePosition?: LabelPosition;
|
|
786
786
|
|
|
787
787
|
/**
|
|
788
|
-
* Sets and gets the options for customizing the color-mapping in the treemap component.
|
|
789
|
-
*/
|
|
790
|
-
colorMapping?: ColorMappingModel[];
|
|
788
|
+
* Sets and gets the options for customizing the color-mapping in the treemap component.
|
|
789
|
+
*/
|
|
790
|
+
colorMapping?: ColorMappingModel[];
|
|
791
791
|
|
|
792
792
|
}
|