@syncfusion/ej2-treemap 20.4.48 → 21.1.35
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/dist/ej2-treemap.min.js +2 -2
- package/dist/ej2-treemap.umd.min.js +2 -2
- package/dist/ej2-treemap.umd.min.js.map +1 -1
- package/dist/es6/ej2-treemap.es2015.js +122 -83
- package/dist/es6/ej2-treemap.es2015.js.map +1 -1
- package/dist/es6/ej2-treemap.es5.js +122 -83
- package/dist/es6/ej2-treemap.es5.js.map +1 -1
- package/dist/global/ej2-treemap.min.js +2 -2
- package/dist/global/ej2-treemap.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/treemap/layout/legend.d.ts +18 -1
- package/src/treemap/layout/legend.js +35 -18
- package/src/treemap/layout/render-panel.js +9 -10
- package/src/treemap/model/base-model.d.ts +97 -97
- package/src/treemap/model/base.d.ts +110 -113
- package/src/treemap/model/base.js +13 -13
- package/src/treemap/model/constants.d.ts +1 -1
- package/src/treemap/model/constants.js +1 -1
- package/src/treemap/model/interface.d.ts +41 -38
- package/src/treemap/model/pdf-export.d.ts +1 -1
- package/src/treemap/model/pdf-export.js +1 -1
- package/src/treemap/treemap-model.d.ts +46 -20
- package/src/treemap/treemap.d.ts +73 -28
- package/src/treemap/treemap.js +47 -33
- package/src/treemap/user-interaction/highlight-selection.d.ts +2 -0
- package/src/treemap/user-interaction/highlight-selection.js +2 -0
- package/src/treemap/user-interaction/tooltip.d.ts +2 -0
- package/src/treemap/user-interaction/tooltip.js +7 -5
- package/src/treemap/utils/enum.d.ts +74 -49
- package/src/treemap/utils/helper.d.ts +15 -12
- package/src/treemap/utils/helper.js +8 -5
|
@@ -3,15 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
5
5
|
import { LabelPosition, Alignment, HighLightMode, SelectionMode, LabelIntersectAction, LabelPlacement } from '../utils/enum';
|
|
6
|
-
import { LabelAlignment, LegendShape, LegendPosition, LegendMode, LegendOrientation } from '../utils/enum';
|
|
6
|
+
import { LabelAlignment, LegendShape, LegendPosition, LegendMode, LegendOrientation, MarkerShape } from '../utils/enum';
|
|
7
7
|
import { BorderModel, FontModel, SubTitleSettingsModel, ColorMappingModel, CommonTitleSettingsModel } from './base-model';
|
|
8
8
|
import { Location } from '../utils/helper';
|
|
9
9
|
/**
|
|
10
|
-
* Sets and gets the
|
|
11
|
-
*/
|
|
12
|
-
export declare type MarkerShape = 'Circle' | 'Rectangle' | 'Triangle' | 'Diamond' | 'Cross' | 'HorizontalLine' | 'VerticalLine' | 'Pentagon' | 'InvertedTriangle' | 'Image';
|
|
13
|
-
/**
|
|
14
|
-
* Sets and gets the options for customizing the color and width of the border in treemap component.
|
|
10
|
+
* Sets and gets the options for customizing the color and width of the border in treemap.
|
|
15
11
|
*/
|
|
16
12
|
export declare class Border extends ChildProperty<Border> {
|
|
17
13
|
/**
|
|
@@ -21,124 +17,124 @@ export declare class Border extends ChildProperty<Border> {
|
|
|
21
17
|
*/
|
|
22
18
|
color: string;
|
|
23
19
|
/**
|
|
24
|
-
* Defines the width of the border in the treemap
|
|
20
|
+
* Defines the width of the border in the treemap.
|
|
25
21
|
*
|
|
26
22
|
* @default 0
|
|
27
23
|
*/
|
|
28
24
|
width: number;
|
|
29
25
|
}
|
|
30
26
|
/**
|
|
31
|
-
* Sets and gets the margin for the treemap
|
|
27
|
+
* Sets and gets the margin for the treemap.
|
|
32
28
|
*/
|
|
33
29
|
export declare class Margin extends ChildProperty<Margin> {
|
|
34
30
|
/**
|
|
35
|
-
* Sets and gets the left margin for the treemap
|
|
31
|
+
* Sets and gets the left margin for the treemap.
|
|
36
32
|
*
|
|
37
33
|
* @default 10
|
|
38
34
|
*/
|
|
39
35
|
left: number;
|
|
40
36
|
/**
|
|
41
|
-
* Sets and gets the right margin for the treemap
|
|
37
|
+
* Sets and gets the right margin for the treemap.
|
|
42
38
|
*
|
|
43
39
|
* @default 10
|
|
44
40
|
*/
|
|
45
41
|
right: number;
|
|
46
42
|
/**
|
|
47
|
-
* Sets and gets the top margin for the treemap
|
|
43
|
+
* Sets and gets the top margin for the treemap.
|
|
48
44
|
*
|
|
49
45
|
* @default 10
|
|
50
46
|
*/
|
|
51
47
|
top: number;
|
|
52
48
|
/**
|
|
53
|
-
* Sets and gets the bottom margin for the treemap
|
|
49
|
+
* Sets and gets the bottom margin for the treemap.
|
|
54
50
|
*
|
|
55
51
|
* @default 10
|
|
56
52
|
*/
|
|
57
53
|
bottom: number;
|
|
58
54
|
}
|
|
59
55
|
/**
|
|
60
|
-
* Sets and gets the options to customize the style of the text contents in the treemap
|
|
56
|
+
* Sets and gets the options to customize the style of the text contents in the treemap.
|
|
61
57
|
*/
|
|
62
58
|
export declare class Font extends ChildProperty<Font> {
|
|
63
59
|
/**
|
|
64
|
-
* Sets and gets the size for the text in the treemap
|
|
60
|
+
* Sets and gets the size for the text in the treemap.
|
|
65
61
|
*
|
|
66
62
|
* @default null
|
|
67
63
|
*/
|
|
68
64
|
size: string;
|
|
69
65
|
/**
|
|
70
|
-
* Sets and gets the color for the text in the treemap
|
|
66
|
+
* Sets and gets the color for the text in the treemap.
|
|
71
67
|
*
|
|
72
68
|
* @default null
|
|
73
69
|
*/
|
|
74
70
|
color: string;
|
|
75
71
|
/**
|
|
76
|
-
* Sets and gets the font family for the text in the treemap
|
|
72
|
+
* Sets and gets the font family for the text in the treemap.
|
|
77
73
|
*
|
|
78
74
|
* @default ''
|
|
79
75
|
*/
|
|
80
76
|
fontFamily: string;
|
|
81
77
|
/**
|
|
82
|
-
* Sets and gets the font weight for the text in the treemap
|
|
78
|
+
* Sets and gets the font weight for the text in the treemap.
|
|
83
79
|
*
|
|
84
80
|
* @default 'Normal'
|
|
85
81
|
*/
|
|
86
82
|
fontWeight: string;
|
|
87
83
|
/**
|
|
88
|
-
* Sets and gets the font style for the text in the treemap
|
|
84
|
+
* Sets and gets the font style for the text in the treemap.
|
|
89
85
|
*
|
|
90
86
|
* @default 'Normal'
|
|
91
87
|
*/
|
|
92
88
|
fontStyle: string;
|
|
93
89
|
/**
|
|
94
|
-
* Sets and gets the opacity of the text in the treemap
|
|
90
|
+
* Sets and gets the opacity of the text in the treemap.
|
|
95
91
|
*
|
|
96
92
|
* @default 1
|
|
97
93
|
*/
|
|
98
94
|
opacity: number;
|
|
99
95
|
}
|
|
100
96
|
/**
|
|
101
|
-
* Sets and gets the options for customizing the
|
|
97
|
+
* Sets and gets the options for customizing the title of the treemap.
|
|
102
98
|
*/
|
|
103
99
|
export declare class CommonTitleSettings extends ChildProperty<CommonTitleSettings> {
|
|
104
100
|
/**
|
|
105
|
-
* Sets and gets the text for the title in the treemap
|
|
101
|
+
* Sets and gets the text for the title in the treemap.
|
|
106
102
|
*
|
|
107
103
|
* @default ''
|
|
108
104
|
*/
|
|
109
105
|
text: string;
|
|
110
106
|
/**
|
|
111
|
-
* Define the description of the title for the accessibility in the treemap
|
|
107
|
+
* Define the description of the title for the accessibility in the treemap.
|
|
112
108
|
*
|
|
113
109
|
* @default ''
|
|
114
110
|
*/
|
|
115
111
|
description: string;
|
|
116
112
|
}
|
|
117
113
|
/**
|
|
118
|
-
* Sets and gets the options for customizing the subtitle of the treemap
|
|
114
|
+
* Sets and gets the options for customizing the subtitle of the treemap.
|
|
119
115
|
*/
|
|
120
116
|
export declare class SubTitleSettings extends CommonTitleSettings {
|
|
121
117
|
/**
|
|
122
|
-
* Sets and gets the text style for the subtitle in the treemap
|
|
118
|
+
* Sets and gets the options to customize the text style for the subtitle in the treemap.
|
|
123
119
|
*/
|
|
124
120
|
textStyle: FontModel;
|
|
125
121
|
/**
|
|
126
|
-
* Sets and gets the alignment of the subtitle text in the treemap
|
|
122
|
+
* Sets and gets the alignment of the subtitle text in the treemap.
|
|
127
123
|
*
|
|
128
124
|
* @default 'Center'
|
|
129
125
|
*/
|
|
130
126
|
alignment: Alignment;
|
|
131
127
|
}
|
|
132
128
|
/**
|
|
133
|
-
* Sets and gets the options for customizing the title of the treemap
|
|
129
|
+
* Sets and gets the options for customizing the title of the treemap.
|
|
134
130
|
*/
|
|
135
131
|
export declare class TitleSettings extends CommonTitleSettings {
|
|
136
132
|
/**
|
|
137
|
-
* Sets and gets the options to
|
|
133
|
+
* Sets and gets the options to customize the text style of the title of the treemap.
|
|
138
134
|
*/
|
|
139
135
|
textStyle: FontModel;
|
|
140
136
|
/**
|
|
141
|
-
* Sets and gets the text position of the title text in the treemap
|
|
137
|
+
* Sets and gets the text position of the title text in the treemap.
|
|
142
138
|
*
|
|
143
139
|
* @default 'Center'
|
|
144
140
|
*/
|
|
@@ -149,7 +145,7 @@ export declare class TitleSettings extends CommonTitleSettings {
|
|
|
149
145
|
subtitleSettings: SubTitleSettingsModel;
|
|
150
146
|
}
|
|
151
147
|
/**
|
|
152
|
-
* Sets and gets the options to customize the color-mapping in treemap
|
|
148
|
+
* Sets and gets the options to customize the color-mapping in treemap.
|
|
153
149
|
*/
|
|
154
150
|
export declare class ColorMapping extends ChildProperty<ColorMapping> {
|
|
155
151
|
/**
|
|
@@ -171,7 +167,7 @@ export declare class ColorMapping extends ChildProperty<ColorMapping> {
|
|
|
171
167
|
*/
|
|
172
168
|
color: string | string[];
|
|
173
169
|
/**
|
|
174
|
-
* Sets and gets the label text for the legend based on color mapping.
|
|
170
|
+
* Sets and gets the label text for the legend when it is rendered based on color mapping.
|
|
175
171
|
*
|
|
176
172
|
* @default null
|
|
177
173
|
*/
|
|
@@ -183,106 +179,106 @@ export declare class ColorMapping extends ChildProperty<ColorMapping> {
|
|
|
183
179
|
*/
|
|
184
180
|
value: string | number;
|
|
185
181
|
/**
|
|
186
|
-
* Sets and gets the minimum opacity for the color-mapping in the treemap
|
|
182
|
+
* Sets and gets the minimum opacity for the color-mapping in the treemap.
|
|
187
183
|
*
|
|
188
184
|
* @default null
|
|
189
185
|
*/
|
|
190
186
|
minOpacity: number;
|
|
191
187
|
/**
|
|
192
|
-
* Sets and gets the maximum opacity for the color-mapping in the treemap
|
|
188
|
+
* Sets and gets the maximum opacity for the color-mapping in the treemap.
|
|
193
189
|
*
|
|
194
190
|
* @default null
|
|
195
191
|
*/
|
|
196
192
|
maxOpacity: number;
|
|
197
193
|
/**
|
|
198
|
-
* Enables or disables the visibility of the legend for color mapping in the treemap
|
|
194
|
+
* Enables or disables the visibility of the legend for color mapping in the treemap.
|
|
199
195
|
*
|
|
200
196
|
* @default true
|
|
201
197
|
*/
|
|
202
198
|
showLegend: boolean;
|
|
203
199
|
}
|
|
204
200
|
/**
|
|
205
|
-
* Sets and gets the options for customizing the legend of the treemap
|
|
201
|
+
* Sets and gets the options for customizing the legend of the treemap.
|
|
206
202
|
*/
|
|
207
203
|
export declare class LegendSettings extends ChildProperty<LegendSettings> {
|
|
208
204
|
/**
|
|
209
|
-
* Enables or disables the visibility of legend in the treemap
|
|
205
|
+
* Enables or disables the visibility of legend in the treemap.
|
|
210
206
|
*
|
|
211
207
|
* @default false
|
|
212
208
|
*/
|
|
213
209
|
visible: boolean;
|
|
214
210
|
/**
|
|
215
|
-
* Sets and gets the mode of legend in the treemap
|
|
211
|
+
* Sets and gets the mode of legend in the treemap. The modes available are default and interactive modes.
|
|
216
212
|
*
|
|
217
213
|
* @default 'Default'
|
|
218
214
|
*/
|
|
219
215
|
mode: LegendMode;
|
|
220
216
|
/**
|
|
221
|
-
* Sets and gets the background color of legend in the treemap
|
|
217
|
+
* Sets and gets the background color of legend in the treemap.
|
|
222
218
|
*
|
|
223
219
|
* @default 'transparent'
|
|
224
220
|
*/
|
|
225
221
|
background: string;
|
|
226
222
|
/**
|
|
227
|
-
* Sets and gets the shape of legend in the treemap
|
|
223
|
+
* Sets and gets the shape of legend in the treemap.
|
|
228
224
|
*
|
|
229
225
|
* @default 'Circle'
|
|
230
226
|
*/
|
|
231
227
|
shape: LegendShape;
|
|
232
228
|
/**
|
|
233
|
-
* Sets and gets the width of legend in the treemap
|
|
229
|
+
* Sets and gets the width of legend in the treemap.
|
|
234
230
|
*
|
|
235
231
|
* @default ''
|
|
236
232
|
*/
|
|
237
233
|
width: string;
|
|
238
234
|
/**
|
|
239
|
-
* Sets and gets the height of legend in the treemap
|
|
235
|
+
* Sets and gets the height of legend in the treemap.
|
|
240
236
|
*
|
|
241
237
|
* @default ''
|
|
242
238
|
*/
|
|
243
239
|
height: string;
|
|
244
240
|
/**
|
|
245
|
-
* Sets and gets the options to customize the text style of legend in the treemap
|
|
241
|
+
* Sets and gets the options to customize the text style of legend in the treemap.
|
|
246
242
|
*/
|
|
247
243
|
textStyle: FontModel;
|
|
248
244
|
/**
|
|
249
|
-
* Sets and gets the shape color of legend in the treemap
|
|
245
|
+
* Sets and gets the shape color of legend in the treemap.
|
|
250
246
|
*
|
|
251
247
|
* @default null
|
|
252
248
|
*/
|
|
253
249
|
fill: string;
|
|
254
250
|
/**
|
|
255
|
-
* Sets and gets the opacity of
|
|
251
|
+
* Sets and gets the opacity of the legend in the treemap.
|
|
256
252
|
*
|
|
257
253
|
* @default 1
|
|
258
254
|
*/
|
|
259
255
|
opacity: number;
|
|
260
256
|
/**
|
|
261
|
-
* Sets and gets the width of the shapes in legend in the treemap
|
|
257
|
+
* Sets and gets the width of the shapes in legend in the treemap.
|
|
262
258
|
*
|
|
263
259
|
* @default 15
|
|
264
260
|
*/
|
|
265
261
|
shapeWidth: number;
|
|
266
262
|
/**
|
|
267
|
-
* Sets and gets the height of the shapes of legend in the treemap
|
|
263
|
+
* Sets and gets the height of the shapes of legend in the treemap.
|
|
268
264
|
*
|
|
269
265
|
* @default 15
|
|
270
266
|
*/
|
|
271
267
|
shapeHeight: number;
|
|
272
268
|
/**
|
|
273
|
-
* Sets and gets the shape padding of legend in the treemap
|
|
269
|
+
* Sets and gets the shape padding of legend in the treemap.
|
|
274
270
|
*
|
|
275
271
|
* @default 10
|
|
276
272
|
*/
|
|
277
273
|
shapePadding: number;
|
|
278
274
|
/**
|
|
279
|
-
* Sets and gets the URL path of the legend shapes
|
|
275
|
+
* Sets and gets the URL path of the legend shapes that is set as image.
|
|
280
276
|
*
|
|
281
277
|
* @default null
|
|
282
278
|
*/
|
|
283
279
|
imageUrl: string;
|
|
284
280
|
/**
|
|
285
|
-
* Sets and gets the options for customizing the color and width of the border of the legend in the treemap
|
|
281
|
+
* Sets and gets the options for customizing the color and width of the border of the legend in the treemap.
|
|
286
282
|
*/
|
|
287
283
|
border: BorderModel;
|
|
288
284
|
/**
|
|
@@ -290,61 +286,61 @@ export declare class LegendSettings extends ChildProperty<LegendSettings> {
|
|
|
290
286
|
*/
|
|
291
287
|
shapeBorder: BorderModel;
|
|
292
288
|
/**
|
|
293
|
-
* Sets and gets the options to customize the title of the legend in the treemap
|
|
289
|
+
* Sets and gets the options to customize the title of the legend in the treemap.
|
|
294
290
|
*/
|
|
295
291
|
title: CommonTitleSettingsModel;
|
|
296
292
|
/**
|
|
297
|
-
* Sets and gets the options to customize the text style of the legend in the treemap
|
|
293
|
+
* Sets and gets the options to customize the text style of the legend item text in the treemap.
|
|
298
294
|
*/
|
|
299
295
|
titleStyle: FontModel;
|
|
300
296
|
/**
|
|
301
|
-
* Sets and gets the position of legend in the treemap
|
|
297
|
+
* Sets and gets the position of legend in the treemap.
|
|
302
298
|
*
|
|
303
299
|
* @default 'Bottom'
|
|
304
300
|
*/
|
|
305
301
|
position: LegendPosition;
|
|
306
302
|
/**
|
|
307
|
-
* Sets and gets the orientation of legend in the treemap
|
|
303
|
+
* Sets and gets the orientation of legend in the treemap.
|
|
308
304
|
*
|
|
309
305
|
* @default 'None'
|
|
310
306
|
*/
|
|
311
307
|
orientation: LegendOrientation;
|
|
312
308
|
/**
|
|
313
|
-
* Enables or disables the pointer for interactive legend in the treemap
|
|
309
|
+
* Enables or disables the pointer for interactive legend in the treemap.
|
|
314
310
|
*
|
|
315
311
|
* @default false
|
|
316
312
|
*/
|
|
317
313
|
invertedPointer: boolean;
|
|
318
314
|
/**
|
|
319
|
-
* Sets and gets the label position for interactive legend in the treemap
|
|
315
|
+
* Sets and gets the label position for interactive legend in the treemap.
|
|
320
316
|
*
|
|
321
317
|
* @default 'After'
|
|
322
318
|
*/
|
|
323
319
|
labelPosition: LabelPlacement;
|
|
324
320
|
/**
|
|
325
|
-
* Sets and gets the
|
|
321
|
+
* Sets and gets the action of legend item text when they intersect with each other.
|
|
326
322
|
*
|
|
327
323
|
* @default 'None'
|
|
328
324
|
*/
|
|
329
325
|
labelDisplayMode: LabelIntersectAction;
|
|
330
326
|
/**
|
|
331
|
-
* Sets and gets the alignment of legend in the treemap
|
|
327
|
+
* Sets and gets the alignment of legend in the treemap.
|
|
332
328
|
*
|
|
333
329
|
* @default 'Center'
|
|
334
330
|
*/
|
|
335
331
|
alignment: Alignment;
|
|
336
332
|
/**
|
|
337
|
-
* Sets and gets the location
|
|
333
|
+
* Sets and gets the location to place the legend in a custom location in the treemap.
|
|
338
334
|
*/
|
|
339
335
|
location: Location;
|
|
340
336
|
/**
|
|
341
|
-
* Sets and gets the visibility state of the legend in the treemap
|
|
337
|
+
* Sets and gets the value path from the data source for the visibility state of the legend item in the treemap.
|
|
342
338
|
*
|
|
343
339
|
* @default null
|
|
344
340
|
*/
|
|
345
341
|
showLegendPath: string;
|
|
346
342
|
/**
|
|
347
|
-
* Sets and gets the value path from the data source to render legend in the treemap
|
|
343
|
+
* Sets and gets the value path from the data source to render legend in the treemap.
|
|
348
344
|
*
|
|
349
345
|
* @default null
|
|
350
346
|
*/
|
|
@@ -357,149 +353,150 @@ export declare class LegendSettings extends ChildProperty<LegendSettings> {
|
|
|
357
353
|
removeDuplicateLegend: boolean;
|
|
358
354
|
}
|
|
359
355
|
/**
|
|
360
|
-
* Sets and gets the settings for drill to visualize the treemap rendered in the initial state.
|
|
356
|
+
* Sets and gets the settings for drill down to visualize the treemap rendered in the initial state.
|
|
361
357
|
*/
|
|
362
358
|
export declare class InitialDrillSettings extends ChildProperty<InitialDrillSettings> {
|
|
363
359
|
/**
|
|
364
|
-
* Sets and gets the initial rendering level index in the treemap
|
|
360
|
+
* Sets and gets the initial rendering level index in the treemap.
|
|
365
361
|
*
|
|
366
362
|
* @default null
|
|
367
363
|
*/
|
|
368
364
|
groupIndex: number;
|
|
369
365
|
/**
|
|
370
|
-
* Sets and gets the initial rendering level name in the treemap
|
|
366
|
+
* Sets and gets the initial rendering level name in the treemap.
|
|
371
367
|
*
|
|
372
368
|
* @default null
|
|
373
369
|
*/
|
|
374
370
|
groupName: string;
|
|
375
371
|
}
|
|
376
372
|
/**
|
|
377
|
-
* Sets and gets the options for customizing the leaf item of the treemap
|
|
373
|
+
* Sets and gets the options for customizing the leaf item of the treemap.
|
|
378
374
|
*/
|
|
379
375
|
export declare class LeafItemSettings extends ChildProperty<LeafItemSettings> {
|
|
380
376
|
/**
|
|
381
|
-
* Sets and gets the fill color of leaf items in the treemap
|
|
377
|
+
* Sets and gets the fill color of leaf items in the treemap.
|
|
382
378
|
*
|
|
383
379
|
* @default null
|
|
384
380
|
*/
|
|
385
381
|
fill: string;
|
|
386
382
|
/**
|
|
387
|
-
* Enables or disables automatic filling of colors in leaf items of the treemap
|
|
383
|
+
* Enables or disables automatic filling of colors from the palette in the leaf items of the treemap.
|
|
388
384
|
*
|
|
389
385
|
* @default false
|
|
390
386
|
*/
|
|
391
387
|
autoFill: boolean;
|
|
392
388
|
/**
|
|
393
|
-
* Sets and gets the options for customizing the color and width of the border of the leaf item in the treemap
|
|
389
|
+
* Sets and gets the options for customizing the color and width of the border of the leaf item in the treemap.
|
|
394
390
|
*/
|
|
395
391
|
border: BorderModel;
|
|
396
392
|
/**
|
|
397
|
-
* Sets and gets the gap between the leaf item in the treemap
|
|
393
|
+
* Sets and gets the gap between the leaf item in the treemap.
|
|
398
394
|
*
|
|
399
395
|
* @default 0
|
|
400
396
|
*/
|
|
401
397
|
gap: number;
|
|
402
398
|
/**
|
|
403
|
-
* Sets and gets the padding of leaf item in the treemap
|
|
399
|
+
* Sets and gets the padding of leaf item in the treemap.
|
|
404
400
|
*
|
|
405
401
|
* @default 10
|
|
406
402
|
*/
|
|
407
403
|
padding: number;
|
|
408
404
|
/**
|
|
409
|
-
* Sets and gets the opacity of leaf item in the treemap
|
|
405
|
+
* Sets and gets the opacity of leaf item in the treemap.
|
|
410
406
|
*
|
|
411
407
|
* @default 1
|
|
412
408
|
*/
|
|
413
409
|
opacity: number;
|
|
414
410
|
/**
|
|
415
|
-
* Shows or hides the labels in the treemap
|
|
411
|
+
* Shows or hides the labels in the treemap.
|
|
416
412
|
*
|
|
417
413
|
* @default true
|
|
418
414
|
*/
|
|
419
415
|
showLabels: boolean;
|
|
420
416
|
/**
|
|
421
|
-
* Sets and gets the value path from the data source for label of leaf item in the treemap
|
|
417
|
+
* Sets and gets the value path from the data source for label of leaf item in the treemap.
|
|
422
418
|
*
|
|
423
419
|
* @default null
|
|
424
420
|
*/
|
|
425
421
|
labelPath: string;
|
|
426
422
|
/**
|
|
427
|
-
* Sets and gets the label text
|
|
423
|
+
* Sets and gets the string to format the label text of leaf item in the treemap.
|
|
428
424
|
*
|
|
429
425
|
* @default null
|
|
430
426
|
*/
|
|
431
427
|
labelFormat: string;
|
|
432
428
|
/**
|
|
433
|
-
* Sets and gets the position of the labels in the treemap
|
|
429
|
+
* Sets and gets the position of the labels in the treemap.
|
|
434
430
|
*
|
|
435
431
|
* @default 'TopLeft'
|
|
436
432
|
*/
|
|
437
433
|
labelPosition: LabelPosition;
|
|
438
434
|
/**
|
|
439
|
-
* Sets and gets the style of the labels of leaf item
|
|
435
|
+
* Sets and gets the options to customize the style of the labels of treemap leaf item.
|
|
440
436
|
*/
|
|
441
437
|
labelStyle: FontModel;
|
|
442
438
|
/**
|
|
443
|
-
* Sets and gets the label template of leaf item in the treemap
|
|
439
|
+
* Sets and gets the label template of leaf item in the treemap to render custom elements in the labels.
|
|
444
440
|
*
|
|
445
441
|
* @default null
|
|
446
442
|
*/
|
|
447
443
|
labelTemplate: string;
|
|
448
444
|
/**
|
|
449
|
-
* Sets and gets the position of the template of leaf item
|
|
445
|
+
* Sets and gets the position of the label template of treemap leaf item.
|
|
450
446
|
*
|
|
451
447
|
* @default 'Center'
|
|
452
448
|
*/
|
|
453
449
|
templatePosition: LabelPosition;
|
|
454
450
|
/**
|
|
455
|
-
* Sets and gets the
|
|
451
|
+
* Sets and gets the actions to perform when labels intersects with other labels in a treemap leaf item.
|
|
456
452
|
*
|
|
457
453
|
* @default 'Trim'
|
|
458
454
|
*/
|
|
459
455
|
interSectAction: LabelAlignment;
|
|
460
456
|
/**
|
|
461
|
-
* Sets and gets the options to customize color-mapping of the treemap
|
|
457
|
+
* Sets and gets the options to customize color-mapping of the treemap leaf items.
|
|
462
458
|
*/
|
|
463
459
|
colorMapping: ColorMappingModel[];
|
|
464
460
|
}
|
|
465
461
|
/**
|
|
466
|
-
* Sets and gets the options for customizing the tooltip of the treemap
|
|
462
|
+
* Sets and gets the options for customizing the tooltip of the treemap.
|
|
467
463
|
*/
|
|
468
464
|
export declare class TooltipSettings extends ChildProperty<TooltipSettings> {
|
|
469
465
|
/**
|
|
470
|
-
* Enables or disables the visibility
|
|
466
|
+
* Enables or disables the visibility of the tooltip in the treemap.
|
|
471
467
|
*
|
|
472
468
|
* @default false
|
|
473
469
|
*/
|
|
474
470
|
visible: boolean;
|
|
475
471
|
/**
|
|
476
|
-
* Sets and gets the template for tooltip in the treemap
|
|
472
|
+
* Sets and gets the template for tooltip in the treemap.
|
|
477
473
|
*
|
|
478
474
|
* @default ''
|
|
479
475
|
*/
|
|
480
476
|
template: string;
|
|
481
477
|
/**
|
|
482
|
-
* Sets and gets the format
|
|
478
|
+
* Sets and gets the string to format the tooltip in the treemap.
|
|
483
479
|
*
|
|
484
480
|
* @default null
|
|
485
481
|
*/
|
|
486
482
|
format: string;
|
|
487
483
|
/**
|
|
488
|
-
* Sets and gets the background color of tooltip in the treemap
|
|
484
|
+
* Sets and gets the background color of tooltip in the treemap.
|
|
489
485
|
*
|
|
490
486
|
* @default null
|
|
491
487
|
*/
|
|
492
488
|
fill: string;
|
|
493
489
|
/**
|
|
494
|
-
* Sets and gets the opacity of tooltip in the treemap
|
|
490
|
+
* Sets and gets the opacity of tooltip in the treemap.
|
|
495
491
|
*
|
|
496
492
|
* @default 0.75
|
|
497
493
|
*/
|
|
498
494
|
opacity: number;
|
|
499
495
|
/**
|
|
500
|
-
* Sets and gets the marker shapes in the treemap
|
|
496
|
+
* Sets and gets the marker shapes in the treemap.
|
|
501
497
|
*
|
|
502
498
|
* @default '[Circle]'
|
|
499
|
+
* @private
|
|
503
500
|
*/
|
|
504
501
|
markerShapes: MarkerShape[];
|
|
505
502
|
/**
|
|
@@ -507,38 +504,38 @@ export declare class TooltipSettings extends ChildProperty<TooltipSettings> {
|
|
|
507
504
|
*/
|
|
508
505
|
border: BorderModel;
|
|
509
506
|
/**
|
|
510
|
-
* Sets and gets the options for customizing the text style of tooltip of the treemap
|
|
507
|
+
* Sets and gets the options for customizing the text style of tooltip of the treemap.
|
|
511
508
|
*/
|
|
512
509
|
textStyle: FontModel;
|
|
513
510
|
}
|
|
514
511
|
/**
|
|
515
|
-
* Sets and gets the options for customizing the selection of the leaf items in treemap
|
|
512
|
+
* Sets and gets the options for customizing the selection of the leaf items in treemap.
|
|
516
513
|
*/
|
|
517
514
|
export declare class SelectionSettings extends ChildProperty<SelectionSettings> {
|
|
518
515
|
/**
|
|
519
|
-
* Enables or disables the selection functionality in the treemap
|
|
516
|
+
* Enables or disables the selection functionality in the treemap.
|
|
520
517
|
*
|
|
521
518
|
* @default false
|
|
522
519
|
*/
|
|
523
520
|
enable: boolean;
|
|
524
521
|
/**
|
|
525
|
-
* Sets and gets the color of the selection when the leaf item is selected in the treemap
|
|
522
|
+
* Sets and gets the color of the selection when the leaf item is selected in the treemap.
|
|
526
523
|
*
|
|
527
524
|
* @default null
|
|
528
525
|
*/
|
|
529
526
|
fill: string;
|
|
530
527
|
/**
|
|
531
|
-
* Sets and gets the opacity of the selection when the leaf item is selected in the treemap
|
|
528
|
+
* Sets and gets the opacity of the selection when the leaf item is selected in the treemap.
|
|
532
529
|
*
|
|
533
530
|
* @default '0.5'
|
|
534
531
|
*/
|
|
535
532
|
opacity: string;
|
|
536
533
|
/**
|
|
537
|
-
* Sets and gets the border of the selected items in the treemap
|
|
534
|
+
* Sets and gets the options to customize the border of the selected items in the treemap.
|
|
538
535
|
*/
|
|
539
536
|
border: BorderModel;
|
|
540
537
|
/**
|
|
541
|
-
* Sets and gets the
|
|
538
|
+
* Sets and gets the type of the elements in which selection must be done in the treemap.
|
|
542
539
|
*
|
|
543
540
|
* @default 'Item'
|
|
544
541
|
*/
|
|
@@ -550,122 +547,122 @@ export declare class SelectionSettings extends ChildProperty<SelectionSettings>
|
|
|
550
547
|
*/
|
|
551
548
|
export declare class HighlightSettings extends ChildProperty<HighlightSettings> {
|
|
552
549
|
/**
|
|
553
|
-
* Enables or disables the highlight functionality of the treemap
|
|
550
|
+
* Enables or disables the highlight functionality of the treemap.
|
|
554
551
|
*
|
|
555
552
|
* @default false
|
|
556
553
|
*/
|
|
557
554
|
enable: boolean;
|
|
558
555
|
/**
|
|
559
|
-
* Sets and gets the highlight color of the treemap
|
|
556
|
+
* Sets and gets the highlight color of the treemap.
|
|
560
557
|
*
|
|
561
558
|
* @default '#808080'
|
|
562
559
|
*/
|
|
563
560
|
fill: string;
|
|
564
561
|
/**
|
|
565
|
-
* Sets and gets the opacity of the treemap
|
|
562
|
+
* Sets and gets the opacity of the treemap.
|
|
566
563
|
*
|
|
567
564
|
* @default '0.5'
|
|
568
565
|
*/
|
|
569
566
|
opacity: string;
|
|
570
567
|
/**
|
|
571
568
|
* Sets and gets the options for customizing the color and width of the border of the
|
|
572
|
-
* highlighted item in the treemap
|
|
569
|
+
* highlighted item in the treemap.
|
|
573
570
|
*/
|
|
574
571
|
border: BorderModel;
|
|
575
572
|
/**
|
|
576
|
-
* Sets and gets the element in which highlight must be done in the treemap
|
|
573
|
+
* Sets and gets the element in which highlight must be done in the treemap.
|
|
577
574
|
*
|
|
578
575
|
* @default 'Item'
|
|
579
576
|
*/
|
|
580
577
|
mode: HighLightMode;
|
|
581
578
|
}
|
|
582
579
|
/**
|
|
583
|
-
* Sets and gets the options for customizing the
|
|
580
|
+
* Sets and gets the options for customizing the level leaf items of the treemap.
|
|
584
581
|
*/
|
|
585
582
|
export declare class LevelSettings extends ChildProperty<LevelSettings> {
|
|
586
583
|
/**
|
|
587
|
-
* Sets and gets the value path from the data source in the treemap
|
|
584
|
+
* Sets and gets the value path from the data source in the treemap to render the item.
|
|
588
585
|
*
|
|
589
586
|
* @default null
|
|
590
587
|
*/
|
|
591
588
|
groupPath: string;
|
|
592
589
|
/**
|
|
593
|
-
* Sets and gets the gap between the
|
|
590
|
+
* Sets and gets the gap between the level leaf items in the treemap.
|
|
594
591
|
*
|
|
595
592
|
* @default 0
|
|
596
593
|
*/
|
|
597
594
|
groupGap: number;
|
|
598
595
|
/**
|
|
599
|
-
* Sets and gets the padding of
|
|
596
|
+
* Sets and gets the padding of level leaf items in the treemap.
|
|
600
597
|
*
|
|
601
598
|
* @default 10
|
|
602
599
|
*/
|
|
603
600
|
groupPadding: number;
|
|
604
601
|
/**
|
|
605
602
|
* Sets and gets the options for customizing the color and width of the border of
|
|
606
|
-
* the
|
|
603
|
+
* the level leaf items of the treemap.
|
|
607
604
|
*/
|
|
608
605
|
border: BorderModel;
|
|
609
606
|
/**
|
|
610
|
-
* Sets and gets the fill color of the level in the treemap
|
|
607
|
+
* Sets and gets the fill color of the level leaf item in the treemap.
|
|
611
608
|
*
|
|
612
609
|
* @default null
|
|
613
610
|
*/
|
|
614
611
|
fill: string;
|
|
615
612
|
/**
|
|
616
|
-
* Enables or disables the automatic filling of the colors in the items
|
|
613
|
+
* Enables or disables the automatic filling of the colors from the palette in the items of the treemap.
|
|
617
614
|
*
|
|
618
615
|
* @default false
|
|
619
616
|
*/
|
|
620
617
|
autoFill: boolean;
|
|
621
618
|
/**
|
|
622
|
-
* Sets and gets the opacity in the treemap
|
|
619
|
+
* Sets and gets the opacity in the level leaf item of the treemap.
|
|
623
620
|
*
|
|
624
621
|
* @default 1
|
|
625
622
|
*/
|
|
626
623
|
opacity: number;
|
|
627
624
|
/**
|
|
628
|
-
* Shows or hides the header in level of the treemap
|
|
625
|
+
* Shows or hides the header in level leaf item of the treemap.
|
|
629
626
|
*
|
|
630
627
|
* @default true
|
|
631
628
|
*/
|
|
632
629
|
showHeader: boolean;
|
|
633
630
|
/**
|
|
634
|
-
* Sets and gets the height of header in the treemap
|
|
631
|
+
* Sets and gets the height of header in the treemap.
|
|
635
632
|
*
|
|
636
633
|
* @default 20
|
|
637
634
|
*/
|
|
638
635
|
headerHeight: number;
|
|
639
636
|
/**
|
|
640
|
-
* Sets and gets the template for header in the treemap
|
|
637
|
+
* Sets and gets the template for header in the treemap.
|
|
641
638
|
*
|
|
642
639
|
* @default null
|
|
643
640
|
*/
|
|
644
641
|
headerTemplate: string;
|
|
645
642
|
/**
|
|
646
|
-
* Sets and gets the format
|
|
643
|
+
* Sets and gets the string to format the header label of the level leaf items in the treemap.
|
|
647
644
|
*
|
|
648
645
|
* @default null
|
|
649
646
|
*/
|
|
650
647
|
headerFormat: string;
|
|
651
648
|
/**
|
|
652
|
-
* Sets and gets the alignment of the header of the treemap
|
|
649
|
+
* Sets and gets the alignment of the header of the treemap.
|
|
653
650
|
*
|
|
654
651
|
* @default 'Near'
|
|
655
652
|
*/
|
|
656
653
|
headerAlignment: Alignment;
|
|
657
654
|
/**
|
|
658
|
-
* Sets and gets the options for customizing the style of header of the
|
|
655
|
+
* Sets and gets the options for customizing the text style of header label of the level leaf item.
|
|
659
656
|
*/
|
|
660
657
|
headerStyle: FontModel;
|
|
661
658
|
/**
|
|
662
|
-
* Sets and gets the options for customizing the template position of the treemap
|
|
659
|
+
* Sets and gets the options for customizing the template position of the treemap.
|
|
663
660
|
*
|
|
664
661
|
* @default 'TopLeft'
|
|
665
662
|
*/
|
|
666
663
|
templatePosition: LabelPosition;
|
|
667
664
|
/**
|
|
668
|
-
* Sets and gets the options for customizing the color-mapping in the treemap
|
|
665
|
+
* Sets and gets the options for customizing the color-mapping of the level leaf items in the treemap.
|
|
669
666
|
*/
|
|
670
667
|
colorMapping: ColorMappingModel[];
|
|
671
668
|
}
|