@syncfusion/ej2-treemap 20.4.48 → 21.1.37

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.
Files changed (32) hide show
  1. package/dist/ej2-treemap.min.js +2 -2
  2. package/dist/ej2-treemap.umd.min.js +2 -2
  3. package/dist/ej2-treemap.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-treemap.es2015.js +122 -83
  5. package/dist/es6/ej2-treemap.es2015.js.map +1 -1
  6. package/dist/es6/ej2-treemap.es5.js +122 -83
  7. package/dist/es6/ej2-treemap.es5.js.map +1 -1
  8. package/dist/global/ej2-treemap.min.js +2 -2
  9. package/dist/global/ej2-treemap.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +12 -12
  12. package/src/treemap/layout/legend.d.ts +18 -1
  13. package/src/treemap/layout/legend.js +35 -18
  14. package/src/treemap/layout/render-panel.js +9 -10
  15. package/src/treemap/model/base-model.d.ts +97 -97
  16. package/src/treemap/model/base.d.ts +110 -113
  17. package/src/treemap/model/base.js +13 -13
  18. package/src/treemap/model/constants.d.ts +1 -1
  19. package/src/treemap/model/constants.js +1 -1
  20. package/src/treemap/model/interface.d.ts +41 -38
  21. package/src/treemap/model/pdf-export.d.ts +1 -1
  22. package/src/treemap/model/pdf-export.js +1 -1
  23. package/src/treemap/treemap-model.d.ts +46 -20
  24. package/src/treemap/treemap.d.ts +73 -28
  25. package/src/treemap/treemap.js +47 -33
  26. package/src/treemap/user-interaction/highlight-selection.d.ts +2 -0
  27. package/src/treemap/user-interaction/highlight-selection.js +2 -0
  28. package/src/treemap/user-interaction/tooltip.d.ts +2 -0
  29. package/src/treemap/user-interaction/tooltip.js +7 -5
  30. package/src/treemap/utils/enum.d.ts +74 -49
  31. package/src/treemap/utils/helper.d.ts +15 -12
  32. package/src/treemap/utils/helper.js +8 -5
@@ -23,7 +23,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
23
23
  import { Property, ChildProperty, Complex, Collection } from '@syncfusion/ej2-base';
24
24
  import { defaultFont } from './constants';
25
25
  /**
26
- * Sets and gets the options for customizing the color and width of the border in treemap component.
26
+ * Sets and gets the options for customizing the color and width of the border in treemap.
27
27
  */
28
28
  var Border = /** @class */ (function (_super) {
29
29
  __extends(Border, _super);
@@ -40,7 +40,7 @@ var Border = /** @class */ (function (_super) {
40
40
  }(ChildProperty));
41
41
  export { Border };
42
42
  /**
43
- * Sets and gets the margin for the treemap component.
43
+ * Sets and gets the margin for the treemap.
44
44
  */
45
45
  var Margin = /** @class */ (function (_super) {
46
46
  __extends(Margin, _super);
@@ -63,7 +63,7 @@ var Margin = /** @class */ (function (_super) {
63
63
  }(ChildProperty));
64
64
  export { Margin };
65
65
  /**
66
- * Sets and gets the options to customize the style of the text contents in the treemap component.
66
+ * Sets and gets the options to customize the style of the text contents in the treemap.
67
67
  */
68
68
  var Font = /** @class */ (function (_super) {
69
69
  __extends(Font, _super);
@@ -92,7 +92,7 @@ var Font = /** @class */ (function (_super) {
92
92
  }(ChildProperty));
93
93
  export { Font };
94
94
  /**
95
- * Sets and gets the options for customizing the common title of the treemap component.
95
+ * Sets and gets the options for customizing the title of the treemap.
96
96
  */
97
97
  var CommonTitleSettings = /** @class */ (function (_super) {
98
98
  __extends(CommonTitleSettings, _super);
@@ -109,7 +109,7 @@ var CommonTitleSettings = /** @class */ (function (_super) {
109
109
  }(ChildProperty));
110
110
  export { CommonTitleSettings };
111
111
  /**
112
- * Sets and gets the options for customizing the subtitle of the treemap component.
112
+ * Sets and gets the options for customizing the subtitle of the treemap.
113
113
  */
114
114
  var SubTitleSettings = /** @class */ (function (_super) {
115
115
  __extends(SubTitleSettings, _super);
@@ -126,7 +126,7 @@ var SubTitleSettings = /** @class */ (function (_super) {
126
126
  }(CommonTitleSettings));
127
127
  export { SubTitleSettings };
128
128
  /**
129
- * Sets and gets the options for customizing the title of the treemap component.
129
+ * Sets and gets the options for customizing the title of the treemap.
130
130
  */
131
131
  var TitleSettings = /** @class */ (function (_super) {
132
132
  __extends(TitleSettings, _super);
@@ -146,7 +146,7 @@ var TitleSettings = /** @class */ (function (_super) {
146
146
  }(CommonTitleSettings));
147
147
  export { TitleSettings };
148
148
  /**
149
- * Sets and gets the options to customize the color-mapping in treemap component.
149
+ * Sets and gets the options to customize the color-mapping in treemap.
150
150
  */
151
151
  var ColorMapping = /** @class */ (function (_super) {
152
152
  __extends(ColorMapping, _super);
@@ -181,7 +181,7 @@ var ColorMapping = /** @class */ (function (_super) {
181
181
  }(ChildProperty));
182
182
  export { ColorMapping };
183
183
  /**
184
- * Sets and gets the options for customizing the legend of the treemap component.
184
+ * Sets and gets the options for customizing the legend of the treemap.
185
185
  */
186
186
  var LegendSettings = /** @class */ (function (_super) {
187
187
  __extends(LegendSettings, _super);
@@ -273,7 +273,7 @@ var LegendSettings = /** @class */ (function (_super) {
273
273
  }(ChildProperty));
274
274
  export { LegendSettings };
275
275
  /**
276
- * Sets and gets the settings for drill to visualize the treemap rendered in the initial state.
276
+ * Sets and gets the settings for drill down to visualize the treemap rendered in the initial state.
277
277
  */
278
278
  var InitialDrillSettings = /** @class */ (function (_super) {
279
279
  __extends(InitialDrillSettings, _super);
@@ -290,7 +290,7 @@ var InitialDrillSettings = /** @class */ (function (_super) {
290
290
  }(ChildProperty));
291
291
  export { InitialDrillSettings };
292
292
  /**
293
- * Sets and gets the options for customizing the leaf item of the treemap component.
293
+ * Sets and gets the options for customizing the leaf item of the treemap.
294
294
  */
295
295
  var LeafItemSettings = /** @class */ (function (_super) {
296
296
  __extends(LeafItemSettings, _super);
@@ -346,7 +346,7 @@ var LeafItemSettings = /** @class */ (function (_super) {
346
346
  }(ChildProperty));
347
347
  export { LeafItemSettings };
348
348
  /**
349
- * Sets and gets the options for customizing the tooltip of the treemap component.
349
+ * Sets and gets the options for customizing the tooltip of the treemap.
350
350
  */
351
351
  var TooltipSettings = /** @class */ (function (_super) {
352
352
  __extends(TooltipSettings, _super);
@@ -381,7 +381,7 @@ var TooltipSettings = /** @class */ (function (_super) {
381
381
  }(ChildProperty));
382
382
  export { TooltipSettings };
383
383
  /**
384
- * Sets and gets the options for customizing the selection of the leaf items in treemap component.
384
+ * Sets and gets the options for customizing the selection of the leaf items in treemap.
385
385
  */
386
386
  var SelectionSettings = /** @class */ (function (_super) {
387
387
  __extends(SelectionSettings, _super);
@@ -434,7 +434,7 @@ var HighlightSettings = /** @class */ (function (_super) {
434
434
  }(ChildProperty));
435
435
  export { HighlightSettings };
436
436
  /**
437
- * Sets and gets the options for customizing the levels of the treemap component.
437
+ * Sets and gets the options for customizing the level leaf items of the treemap.
438
438
  */
439
439
  var LevelSettings = /** @class */ (function (_super) {
440
440
  __extends(LevelSettings, _super);
@@ -110,7 +110,7 @@ export declare const legendRendering: string;
110
110
  */
111
111
  export declare const resize: string;
112
112
  /**
113
- * Define the font family in treemap component.
113
+ * Define the font family in treemap.
114
114
  *
115
115
  * @private
116
116
  */
@@ -110,7 +110,7 @@ export var legendRendering = 'legendRendering';
110
110
  */
111
111
  export var resize = 'resize';
112
112
  /**
113
- * Define the font family in treemap component.
113
+ * Define the font family in treemap.
114
114
  *
115
115
  * @private
116
116
  */
@@ -3,7 +3,7 @@ import { BorderModel, FontModel } from '../model/base-model';
3
3
  import { LegendShape, LegendPosition } from '../utils/enum';
4
4
  import { Size } from '../utils/helper';
5
5
  /**
6
- * Specifies the event argument for the treemap component.
6
+ * Specifies the event argument for the treemap.
7
7
  *
8
8
  * @private
9
9
  */
@@ -26,7 +26,7 @@ export interface IPrintEventArgs extends ITreeMapEventArgs {
26
26
  htmlContent: Element;
27
27
  }
28
28
  /**
29
- * Specifies the event arguments for on load event in treemap.
29
+ * Specifies the event arguments for load event in treemap.
30
30
  */
31
31
  export interface ILoadEventArgs extends ITreeMapEventArgs {
32
32
  /** Defines the current treemap instance.
@@ -44,7 +44,7 @@ export interface ILoadedEventArgs extends ITreeMapEventArgs {
44
44
 
45
45
  */
46
46
  treemap?: TreeMap;
47
- /** Defines isResized argument.
47
+ /** Specifies whether the treemap is resized or not.
48
48
  */
49
49
  isResized: boolean;
50
50
  }
@@ -52,7 +52,7 @@ export interface ILoadedEventArgs extends ITreeMapEventArgs {
52
52
  * Specifies the event arguments in item rendering event in treemap.
53
53
  */
54
54
  export interface IItemRenderingEventArgs extends ITreeMapEventArgs {
55
- /** Defines the current treemap instance
55
+ /** Defines the current treemap instance.
56
56
  *
57
57
 
58
58
  */
@@ -70,7 +70,7 @@ export interface IItemRenderingEventArgs extends ITreeMapEventArgs {
70
70
  */
71
71
  options: Object;
72
72
  /**
73
- * Defines the header text of the treemap item.
73
+ * Defines the label of the treemap item.
74
74
  */
75
75
  text: string;
76
76
  }
@@ -84,7 +84,7 @@ export interface IDrillStartEventArgs extends ITreeMapEventArgs {
84
84
  */
85
85
  treemap?: TreeMap;
86
86
  /**
87
- * Defines the current drill-down.
87
+ * Defines the current drill-down item.
88
88
  */
89
89
  item: Object;
90
90
  /**
@@ -100,11 +100,11 @@ export interface IDrillStartEventArgs extends ITreeMapEventArgs {
100
100
  */
101
101
  groupName: string;
102
102
  /**
103
- * Returns a boolean value whether it is right click or not.
103
+ * Returns whether the right click is performed or not.
104
104
  */
105
105
  rightClick: boolean;
106
106
  /**
107
- * Defines the child values of the item in the drill start event.
107
+ * Defines the details of the child level items in the drill start event.
108
108
  */
109
109
  childItems: Object;
110
110
  }
@@ -118,7 +118,7 @@ export interface IDrillEndEventArgs extends ITreeMapEventArgs {
118
118
  */
119
119
  treemap?: TreeMap;
120
120
  /**
121
- * Defines all the items for rendering.
121
+ * Defines all the items which is rendered after drill down.
122
122
  */
123
123
  renderItems: Object[];
124
124
  }
@@ -142,24 +142,25 @@ export interface IItemClickEventArgs extends ITreeMapEventArgs {
142
142
  */
143
143
  mouseEvent: PointerEvent;
144
144
  /**
145
- * Defines the level of the current treemap item.
145
+ * Defines the index of the level of the current treemap item.
146
146
  */
147
147
  groupIndex: number;
148
148
  /**
149
- * Defines the parent name of the current treemap item.
149
+ * Defines the name of the parent item of the current treemap item.
150
150
  */
151
151
  groupName: string;
152
152
  /**
153
- * Defines the header name of the current treemap item.
153
+ * Defines the label of the current treemap item.
154
154
  */
155
155
  text: string;
156
156
  /**
157
- * Defines the template of the treemap item which is used to add it in the treemap control.
157
+ * Defines the template of the treemap item which is added as custom element for the labels in the treemap.
158
158
  */
159
159
  contentItemTemplate: string;
160
160
  }
161
161
  /**
162
162
  * Defines the event argument of the treemap item data.
163
+ * @private
163
164
  */
164
165
  export interface IItemDataEventArgs {
165
166
  /**
@@ -200,7 +201,7 @@ export interface IItemDataEventArgs {
200
201
  rect?: Object;
201
202
  }
202
203
  /**
203
- * Specifies the event arguments available on performing mouse move on the treemap items.
204
+ * Specifies the event arguments available when mouse move action is performed on the treemap items.
204
205
  */
205
206
  export interface IItemMoveEventArgs extends ITreeMapEventArgs {
206
207
  /** Defines the current treemap instance.
@@ -209,18 +210,18 @@ export interface IItemMoveEventArgs extends ITreeMapEventArgs {
209
210
  */
210
211
  treemap?: TreeMap;
211
212
  /**
212
- * Defines the current item move.
213
+ * Defines the current item on which mouse is moved.
213
214
  *
214
215
  * @isGenericType true
215
216
  */
216
217
  item: Object;
217
218
  /**
218
- * Defines the original mouse event arguments.
219
+ * Defines the original mouse event argument.
219
220
  */
220
221
  mouseEvent: PointerEvent;
221
222
  }
222
223
  /**
223
- * Specifies the event arguments available on performing click event on the treemap items.
224
+ * Specifies the event arguments available when click event is performed on the treemap items.
224
225
  */
225
226
  export interface IClickEventArgs extends ITreeMapEventArgs {
226
227
  /** Defines the current treemap instance.
@@ -234,7 +235,7 @@ export interface IClickEventArgs extends ITreeMapEventArgs {
234
235
  mouseEvent: PointerEvent;
235
236
  }
236
237
  /**
237
- * Specifies the event arguments available on performing double click event on the treemap items.
238
+ * Specifies the event arguments available when double click action is performed on the treemap items.
238
239
  */
239
240
  export interface IDoubleClickEventArgs extends ITreeMapEventArgs {
240
241
  /** Defines the current treemap instance.
@@ -248,7 +249,7 @@ export interface IDoubleClickEventArgs extends ITreeMapEventArgs {
248
249
  mouseEvent: PointerEvent;
249
250
  }
250
251
  /**
251
- * Specifies the event arguments available on performing right click event on the treemap items.
252
+ * Specifies the event arguments available when right click action is performed on the treemap items.
252
253
  */
253
254
  export interface IRightClickEventArgs extends ITreeMapEventArgs {
254
255
  /** Defines the current treemap instance.
@@ -262,7 +263,7 @@ export interface IRightClickEventArgs extends ITreeMapEventArgs {
262
263
  mouseEvent: PointerEvent;
263
264
  }
264
265
  /**
265
- * Specifies the event arguments available on performing mouse over on the treemap items.
266
+ * Specifies the event arguments available when mouse action is performed on the treemap items.
266
267
  */
267
268
  export interface IMouseMoveEventArgs extends ITreeMapEventArgs {
268
269
  /** Defines the current treemap instance.
@@ -276,7 +277,7 @@ export interface IMouseMoveEventArgs extends ITreeMapEventArgs {
276
277
  mouseEvent: PointerEvent;
277
278
  }
278
279
  /**
279
- * Specifies the event arguments available when the item is selected in the treemap component.
280
+ * Specifies the event arguments available when the leaf item is selected in the treemap.
280
281
  */
281
282
  export interface IItemSelectedEventArgs extends ITreeMapEventArgs {
282
283
  /** Defines the current treemap instance.
@@ -293,16 +294,16 @@ export interface IItemSelectedEventArgs extends ITreeMapEventArgs {
293
294
  */
294
295
  elements: Element[];
295
296
  /**
296
- * Defines the text used in the label contents.
297
+ * Defines the label of the current selected item.
297
298
  */
298
299
  text: string;
299
300
  /**
300
- * Defines the template of the treemap item which is used to add it in the treemap control.
301
+ * Defines the template of the treemap item which is added as custom element for the labels in the treemap.
301
302
  */
302
303
  contentItemTemplate: string;
303
304
  }
304
305
  /**
305
- * Specifies the event arguments available when the item is highlighted in the treemap component.
306
+ * Specifies the event arguments available when the item is highlighted in the treemap.
306
307
  */
307
308
  export interface IItemHighlightEventArgs extends ITreeMapEventArgs {
308
309
  /**
@@ -321,7 +322,7 @@ export interface IItemHighlightEventArgs extends ITreeMapEventArgs {
321
322
  elements: Element[];
322
323
  }
323
324
  /**
324
- * Specifies the event arguments available when the tooltip is rendered in the treemap component.
325
+ * Specifies the event arguments available when the tooltip is rendered in the treemap.
325
326
  */
326
327
  export interface ITreeMapTooltipRenderEventArgs extends ITreeMapEventArgs {
327
328
  /** Defines the current treemap instance.
@@ -338,7 +339,7 @@ export interface ITreeMapTooltipRenderEventArgs extends ITreeMapEventArgs {
338
339
  */
339
340
  options: Object;
340
341
  /**
341
- * Defines the current tooltip element.
342
+ * Defines the element of the current item on which tooltip is rendered.
342
343
  */
343
344
  element?: Element;
344
345
  /**
@@ -347,7 +348,8 @@ export interface ITreeMapTooltipRenderEventArgs extends ITreeMapEventArgs {
347
348
  eventArgs: PointerEvent;
348
349
  }
349
350
  /**
350
- * Specifies the event arguments available for the tooltip events in the treemap component.
351
+ * Specifies the event arguments available for the tooltip events in the treemap.
352
+ * @private
351
353
  */
352
354
  export interface ITreeMapTooltipArgs extends ITreeMapEventArgs {
353
355
  /**
@@ -372,7 +374,7 @@ export interface ITreeMapTooltipArgs extends ITreeMapEventArgs {
372
374
  template: string;
373
375
  }
374
376
  /**
375
- * Specifies the event arguments available when rendering each legend item in the treemap component.
377
+ * Specifies the event arguments available when rendering each legend item in the treemap.
376
378
  */
377
379
  export interface ILegendItemRenderingEventArgs extends ITreeMapEventArgs {
378
380
  /**
@@ -382,7 +384,7 @@ export interface ILegendItemRenderingEventArgs extends ITreeMapEventArgs {
382
384
  */
383
385
  treemap?: TreeMap;
384
386
  /**
385
- * Specifies the shape color of the legend.
387
+ * Specifies the shape color of the current legend item.
386
388
  */
387
389
  fill?: string;
388
390
  /**
@@ -390,16 +392,16 @@ export interface ILegendItemRenderingEventArgs extends ITreeMapEventArgs {
390
392
  */
391
393
  shapeBorder?: BorderModel;
392
394
  /**
393
- * Defines the legend shape of the treemap.
395
+ * Defines the shape of the current legend item.
394
396
  */
395
397
  shape?: LegendShape;
396
398
  /**
397
- * Defines the URL of the legend if the shape is rendered as image.
399
+ * Defines the URL of the legend if the shape is set as image.
398
400
  */
399
401
  imageUrl?: string;
400
402
  }
401
403
  /**
402
- * Specifies the event arguments available when rendering the legend in the treemap component.
404
+ * Specifies the event arguments available when rendering the legend in the treemap.
403
405
  */
404
406
  export interface ILegendRenderingEventArgs extends ITreeMapEventArgs {
405
407
  /**
@@ -409,21 +411,21 @@ export interface ILegendRenderingEventArgs extends ITreeMapEventArgs {
409
411
  */
410
412
  treemap?: TreeMap;
411
413
  /**
412
- * Specifies the position of the legend in the treemap component.
414
+ * Specifies the position of the legend in the treemap.
413
415
  */
414
416
  position?: LegendPosition;
415
417
  /**
416
- * Specifies the position of the legend in the treemap component.
418
+ * Specifies the position of the legend in the treemap.
417
419
  */
418
420
  _changePosition?: LegendPosition;
419
421
  }
420
422
  /**
421
- * Specifies the event arguments available for resize event of the treemap component.
423
+ * Specifies the event arguments available for resize event of the treemap.
422
424
  */
423
425
  export interface IResizeEventArgs extends ITreeMapEventArgs {
424
- /** Defines the size of the treemap before resizing. */
426
+ /** Defines the size of the treemap before resizing the window. */
425
427
  previousSize: Size;
426
- /** Defines the size of the treemap after resizing. */
428
+ /** Defines the size of the treemap after resizing the window. */
427
429
  currentSize: Size;
428
430
  /** Defines the treemap instance.
429
431
  *
@@ -449,7 +451,8 @@ export interface IShapes {
449
451
  functionName?: string;
450
452
  }
451
453
  /**
452
- * Defines the theme supported for treemap component.
454
+ * Defines the theme supported for treemap.
455
+ * @private
453
456
  */
454
457
  export interface IThemeStyle {
455
458
  /**
@@ -19,7 +19,7 @@ export declare class PdfExport {
19
19
  * @param {TreeMap} treeMap - Specifies the treemap instance.
20
20
  * @param {ExportType} type - Specifies the type of the document.
21
21
  * @param {string} fileName - Specifies the name of the document.
22
- * @param {PdfPageOrientation} orientation - Specifies the orientation of the PDF document to export the component.
22
+ * @param {PdfPageOrientation} orientation - Specifies the orientation of the PDF document to export the treemap.
23
23
  * @param {boolean} allowDownload - Specifies whether to download the document or not.
24
24
  * @returns {Promise} - Returns the string.
25
25
  * @private
@@ -20,7 +20,7 @@ var PdfExport = /** @class */ (function () {
20
20
  * @param {TreeMap} treeMap - Specifies the treemap instance.
21
21
  * @param {ExportType} type - Specifies the type of the document.
22
22
  * @param {string} fileName - Specifies the name of the document.
23
- * @param {PdfPageOrientation} orientation - Specifies the orientation of the PDF document to export the component.
23
+ * @param {PdfPageOrientation} orientation - Specifies the orientation of the PDF document to export the treemap.
24
24
  * @param {boolean} allowDownload - Specifies whether to download the document or not.
25
25
  * @returns {Promise} - Returns the string.
26
26
  * @private
@@ -28,14 +28,14 @@ export interface TreeMapModel extends ComponentModel{
28
28
  allowPdfExport?: boolean;
29
29
 
30
30
  /**
31
- * Sets and gets the width of the treemap component.
31
+ * Sets and gets the width of the treemap.
32
32
  *
33
33
  * @default null
34
34
  */
35
35
  width?: string;
36
36
 
37
37
  /**
38
- * Sets and gets the height of the treemap component.
38
+ * Sets and gets the height of the treemap.
39
39
  *
40
40
  * @default null
41
41
  */
@@ -47,32 +47,38 @@ export interface TreeMapModel extends ComponentModel{
47
47
  border?: BorderModel;
48
48
 
49
49
  /**
50
- * Sets and gets the options for customizing the margin in the treemap component.
50
+ * Sets and gets the options for customizing the margin in the treemap.
51
51
  */
52
52
  margin?: MarginModel;
53
53
 
54
54
  /**
55
55
  * Sets and gets the background color of the treemap.
56
+ *
57
+ * @default null
56
58
  */
57
59
  background?: string;
58
60
 
59
61
  /**
60
- * Sets and gets the options for customizing the theme of the treemap component.
62
+ * Sets and gets the theme styles supported for treemap. When the theme is set, the styles associated with the theme will be set in the treemap.
63
+ *
64
+ * @default Material
61
65
  */
62
66
  theme?: TreeMapTheme;
63
67
 
64
68
  /**
65
- * Sets and gets the options for customizing the title of the treemap component.
69
+ * Sets and gets the options for customizing the title of the treemap.
66
70
  */
67
71
  titleSettings?: TitleSettingsModel;
68
72
 
69
73
  /**
70
- * Specifies the rendering type of layout of the treemap component.
74
+ * Specifies the rendering type for the layout of the treemap.
75
+ *
76
+ * @default 'Squarified'
71
77
  */
72
78
  layoutType?: LayoutMode;
73
79
 
74
80
  /**
75
- * Sets and gets the data source for the treemap component.
81
+ * Sets and gets the data source for the treemap.
76
82
  *
77
83
  * @isGenericType true
78
84
  * @isObservable true
@@ -89,27 +95,39 @@ export interface TreeMapModel extends ComponentModel{
89
95
  query?: Query;
90
96
 
91
97
  /**
92
- * Sets and gets the value path of the weight from the data source, based on which the map item is rendered.
98
+ * Sets and gets the value path of the weight from the data source, based on which the treemap item is rendered.
99
+ *
100
+ * @default null
93
101
  */
94
102
  weightValuePath?: string;
95
103
 
96
104
  /**
97
105
  * Sets and gets the value path from the data source, based on it color is filled in treemap.
106
+ * This property is used when range color mapping is set in the treemap.
107
+ *
108
+ * @default ''
98
109
  */
99
110
  rangeColorValuePath?: string;
100
111
 
101
112
  /**
102
113
  * Sets and gets the value path from the data source, based on it color is filled in treemap.
114
+ * This property is used when equal color mapping is set in the treemap.
115
+ *
116
+ * @default ''
103
117
  */
104
118
  equalColorValuePath?: string;
105
119
 
106
120
  /**
107
121
  * Sets and gets the value path from the data source, based on it color is filled in treemap.
122
+ *
123
+ * @default null
108
124
  */
109
125
  colorValuePath?: string;
110
126
 
111
127
  /**
112
- * Sets and gets the set of colors to apply in the treemap items.
128
+ * Sets and gets a set of colors to apply in the treemap items.
129
+ *
130
+ * @default []
113
131
  */
114
132
  palette?: string[];
115
133
 
@@ -122,21 +140,29 @@ export interface TreeMapModel extends ComponentModel{
122
140
 
123
141
  /**
124
142
  * Enables or disables the drill down functionality in treemap.
143
+ *
144
+ * @default false
125
145
  */
126
146
  enableDrillDown?: boolean;
127
147
 
128
148
  /**
129
- * Enables or disables the connection text in the header of the treemap.
149
+ * Enables or disables the connection text in the header of the treemap when drill down is enabled.
150
+ *
151
+ * @default false
130
152
  */
131
153
  enableBreadcrumb?: boolean;
132
154
 
133
155
  /**
134
- * Specifies the connection between the two words.
156
+ * Specifies the symbol to show connection between the two words in the header of the treemap during drill down.
157
+ *
158
+ * @default ' - '
135
159
  */
136
160
  breadcrumbConnector?: string;
137
161
 
138
162
  /**
139
163
  * Enables or disables the initial drill in the treemap.
164
+ *
165
+ * @default false
140
166
  */
141
167
  drillDownView?: boolean;
142
168
 
@@ -151,17 +177,17 @@ export interface TreeMapModel extends ComponentModel{
151
177
  leafItemSettings?: LeafItemSettingsModel;
152
178
 
153
179
  /**
154
- * Sets and gets the options for customizing the levels of the treemap.
180
+ * Sets and gets the options to configure and customize the levels of treemap items.
155
181
  */
156
182
  levels?: LevelSettingsModel[];
157
183
 
158
184
  /**
159
- * Sets and gets the options for customizing the highlight of the treemap item on mouse over on the treemap component.
185
+ * Sets and gets the options to customize the highlight functionality of the treemap.
160
186
  */
161
187
  highlightSettings?: HighlightSettingsModel;
162
188
 
163
189
  /**
164
- * Sets and gets the options for customizing the selection of the treemap item on click event on the treemap component.
190
+ * Sets and gets the options for customizing the selection functionality of the treemap.
165
191
  */
166
192
  selectionSettings?: SelectionSettingsModel;
167
193
 
@@ -197,21 +223,21 @@ export interface TreeMapModel extends ComponentModel{
197
223
  tabIndex?: number;
198
224
 
199
225
  /**
200
- * Sets and gets format for the texts in the treemap.
226
+ * Sets and gets format for the texts in the treemap. This property accepts any global string format like 'C', 'N1', 'P' etc.
201
227
  *
202
228
  * @default null
203
229
  */
204
230
  format?: string;
205
231
 
206
232
  /**
207
- * Triggers when the treemap is on load.
233
+ * Triggers before the treemap is rendered.
208
234
  *
209
235
  * @event load
210
236
  */
211
237
  load?: EmitType<ILoadEventArgs>;
212
238
 
213
239
  /**
214
- * Triggers before the prints gets started.
240
+ * Triggers before the print gets started.
215
241
  *
216
242
  * @event beforePrint
217
243
  */
@@ -225,7 +251,7 @@ export interface TreeMapModel extends ComponentModel{
225
251
  loaded?: EmitType<ILoadedEventArgs>;
226
252
 
227
253
  /**
228
- * Triggers before item rendering in the treemap component.
254
+ * Triggers before item rendering in the treemap.
229
255
  *
230
256
  * @event itemRendering
231
257
  */
@@ -260,7 +286,7 @@ export interface TreeMapModel extends ComponentModel{
260
286
  itemHighlight?: EmitType<IItemHighlightEventArgs>;
261
287
 
262
288
  /**
263
- * Triggers on rendering of the tooltip in the treemap component.
289
+ * Triggers on rendering of the tooltip in the treemap.
264
290
  *
265
291
  * @event tooltipRendering
266
292
  */
@@ -309,7 +335,7 @@ export interface TreeMapModel extends ComponentModel{
309
335
  mouseMove?: EmitType<IMouseMoveEventArgs>;
310
336
 
311
337
  /**
312
- * Triggers after resizing the treemap component.
338
+ * Triggers to notify the resize of the treemap when the window is resized.
313
339
  *
314
340
  * @event resize
315
341
  */