@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 { Component, NotifyPropertyChanges, INotifyPropertyChanged, Property, extend, Ajax } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Component, NotifyPropertyChanges, INotifyPropertyChanged, Property, extend, Ajax } from '@syncfusion/ej2-base';
|
|
2
2
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -7,328 +7,328 @@ import {ComponentModel} from '@syncfusion/ej2-base';
|
|
|
7
7
|
export interface TreeMapModel extends ComponentModel{
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Enables and disables the print functionality in treemap.
|
|
11
|
-
*
|
|
12
|
-
* @default false
|
|
13
|
-
*/
|
|
14
|
-
allowPrint?: boolean;
|
|
10
|
+
* Enables and disables the print functionality in treemap.
|
|
11
|
+
*
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
allowPrint?: boolean;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* Enables and disables the export to image functionality in treemap.
|
|
18
|
-
*
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
allowImageExport?: boolean;
|
|
17
|
+
* Enables and disables the export to image functionality in treemap.
|
|
18
|
+
*
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
allowImageExport?: boolean;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Enables and disables the export to pdf functionality in treemap.
|
|
25
|
-
*
|
|
26
|
-
* @default false
|
|
27
|
-
*/
|
|
28
|
-
allowPdfExport?: boolean;
|
|
24
|
+
* Enables and disables the export to pdf functionality in treemap.
|
|
25
|
+
*
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
allowPdfExport?: boolean;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Sets and gets the width of the treemap component.
|
|
32
|
-
*
|
|
33
|
-
* @default null
|
|
34
|
-
*/
|
|
35
|
-
width?: string;
|
|
31
|
+
* Sets and gets the width of the treemap component.
|
|
32
|
+
*
|
|
33
|
+
* @default null
|
|
34
|
+
*/
|
|
35
|
+
width?: string;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
* Sets and gets the height of the treemap component.
|
|
39
|
-
*
|
|
40
|
-
* @default null
|
|
41
|
-
*/
|
|
42
|
-
height?: string;
|
|
38
|
+
* Sets and gets the height of the treemap component.
|
|
39
|
+
*
|
|
40
|
+
* @default null
|
|
41
|
+
*/
|
|
42
|
+
height?: string;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
* Sets and gets the options for customizing the color and width of the treemap border.
|
|
46
|
-
*/
|
|
47
|
-
border?: BorderModel;
|
|
45
|
+
* Sets and gets the options for customizing the color and width of the treemap border.
|
|
46
|
+
*/
|
|
47
|
+
border?: BorderModel;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* Sets and gets the options for customizing the margin in the treemap component.
|
|
51
|
-
*/
|
|
52
|
-
margin?: MarginModel;
|
|
50
|
+
* Sets and gets the options for customizing the margin in the treemap component.
|
|
51
|
+
*/
|
|
52
|
+
margin?: MarginModel;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Sets and gets the background color of the treemap.
|
|
56
|
-
*/
|
|
57
|
-
background?: string;
|
|
55
|
+
* Sets and gets the background color of the treemap.
|
|
56
|
+
*/
|
|
57
|
+
background?: string;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* Sets and gets the options for customizing the theme of the treemap component.
|
|
61
|
-
*/
|
|
62
|
-
theme?: TreeMapTheme;
|
|
60
|
+
* Sets and gets the options for customizing the theme of the treemap component.
|
|
61
|
+
*/
|
|
62
|
+
theme?: TreeMapTheme;
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
|
-
* Sets and gets the options for customizing the title of the treemap component.
|
|
66
|
-
*/
|
|
67
|
-
titleSettings?: TitleSettingsModel;
|
|
65
|
+
* Sets and gets the options for customizing the title of the treemap component.
|
|
66
|
+
*/
|
|
67
|
+
titleSettings?: TitleSettingsModel;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* Specifies the rendering type of layout of the treemap component.
|
|
71
|
-
*/
|
|
72
|
-
layoutType?: LayoutMode;
|
|
70
|
+
* Specifies the rendering type of layout of the treemap component.
|
|
71
|
+
*/
|
|
72
|
+
layoutType?: LayoutMode;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
* Sets and gets the data source for the treemap component.
|
|
76
|
-
*
|
|
77
|
-
* @isGenericType true
|
|
78
|
-
* @isObservable true
|
|
79
|
-
* @default null
|
|
80
|
-
*/
|
|
81
|
-
dataSource?: DataManager | TreeMapAjax | Object[];
|
|
75
|
+
* Sets and gets the data source for the treemap component.
|
|
76
|
+
*
|
|
77
|
+
* @isGenericType true
|
|
78
|
+
* @isObservable true
|
|
79
|
+
* @default null
|
|
80
|
+
*/
|
|
81
|
+
dataSource?: DataManager | TreeMapAjax | Object[];
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Sets and gets the query to select particular data from the shape data.
|
|
85
|
-
* This property is applicable only when the data source is created by data manager.
|
|
86
|
-
*
|
|
87
|
-
* @default null
|
|
88
|
-
*/
|
|
89
|
-
query?: Query;
|
|
84
|
+
* Sets and gets the query to select particular data from the shape data.
|
|
85
|
+
* This property is applicable only when the data source is created by data manager.
|
|
86
|
+
*
|
|
87
|
+
* @default null
|
|
88
|
+
*/
|
|
89
|
+
query?: Query;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* Sets and gets the value path of the weight from the data source, based on which the map item is rendered.
|
|
93
|
-
*/
|
|
94
|
-
weightValuePath?: string;
|
|
92
|
+
* Sets and gets the value path of the weight from the data source, based on which the map item is rendered.
|
|
93
|
+
*/
|
|
94
|
+
weightValuePath?: string;
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
|
-
* Sets and gets the value path from the data source, based on it color is filled in treemap.
|
|
98
|
-
*/
|
|
99
|
-
rangeColorValuePath?: string;
|
|
97
|
+
* Sets and gets the value path from the data source, based on it color is filled in treemap.
|
|
98
|
+
*/
|
|
99
|
+
rangeColorValuePath?: string;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
|
-
* Sets and gets the value path from the data source, based on it color is filled in treemap.
|
|
103
|
-
*/
|
|
104
|
-
equalColorValuePath?: string;
|
|
102
|
+
* Sets and gets the value path from the data source, based on it color is filled in treemap.
|
|
103
|
+
*/
|
|
104
|
+
equalColorValuePath?: string;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* Sets and gets the value path from the data source, based on it color is filled in treemap.
|
|
108
|
-
*/
|
|
109
|
-
colorValuePath?: string;
|
|
107
|
+
* Sets and gets the value path from the data source, based on it color is filled in treemap.
|
|
108
|
+
*/
|
|
109
|
+
colorValuePath?: string;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
* Sets and gets the set of colors to apply in the treemap items.
|
|
113
|
-
*/
|
|
114
|
-
palette?: string[];
|
|
112
|
+
* Sets and gets the set of colors to apply in the treemap items.
|
|
113
|
+
*/
|
|
114
|
+
palette?: string[];
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
|
-
* Specifies the rendering direction of layout of the treemap items.
|
|
118
|
-
*
|
|
119
|
-
* @default TopLeftBottomRight
|
|
120
|
-
*/
|
|
121
|
-
renderDirection?: RenderingMode;
|
|
117
|
+
* Specifies the rendering direction of layout of the treemap items.
|
|
118
|
+
*
|
|
119
|
+
* @default TopLeftBottomRight
|
|
120
|
+
*/
|
|
121
|
+
renderDirection?: RenderingMode;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
|
-
* Enables or disables the drill down functionality in treemap.
|
|
125
|
-
*/
|
|
126
|
-
enableDrillDown?: boolean;
|
|
124
|
+
* Enables or disables the drill down functionality in treemap.
|
|
125
|
+
*/
|
|
126
|
+
enableDrillDown?: boolean;
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
|
-
* Enables or disables the connection text in the header of the treemap.
|
|
130
|
-
*/
|
|
131
|
-
enableBreadcrumb?: boolean;
|
|
129
|
+
* Enables or disables the connection text in the header of the treemap.
|
|
130
|
+
*/
|
|
131
|
+
enableBreadcrumb?: boolean;
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
|
-
* Specifies the connection between the two words.
|
|
135
|
-
*/
|
|
136
|
-
breadcrumbConnector?: string;
|
|
134
|
+
* Specifies the connection between the two words.
|
|
135
|
+
*/
|
|
136
|
+
breadcrumbConnector?: string;
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
|
-
* Enables or disables the initial drill in the treemap.
|
|
140
|
-
*/
|
|
141
|
-
drillDownView?: boolean;
|
|
139
|
+
* Enables or disables the initial drill in the treemap.
|
|
140
|
+
*/
|
|
141
|
+
drillDownView?: boolean;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
* Specifies the options for customizing the initial drill down in treemap.
|
|
145
|
-
*/
|
|
146
|
-
initialDrillDown?: InitialDrillSettingsModel;
|
|
144
|
+
* Specifies the options for customizing the initial drill down in treemap.
|
|
145
|
+
*/
|
|
146
|
+
initialDrillDown?: InitialDrillSettingsModel;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* Sets and gets the options for customizing the leaf item of the treemap.
|
|
150
|
-
*/
|
|
151
|
-
leafItemSettings?: LeafItemSettingsModel;
|
|
149
|
+
* Sets and gets the options for customizing the leaf item of the treemap.
|
|
150
|
+
*/
|
|
151
|
+
leafItemSettings?: LeafItemSettingsModel;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
* Sets and gets the options for customizing the levels of the treemap.
|
|
155
|
-
*/
|
|
156
|
-
levels?: LevelSettingsModel[];
|
|
154
|
+
* Sets and gets the options for customizing the levels of the treemap.
|
|
155
|
+
*/
|
|
156
|
+
levels?: LevelSettingsModel[];
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
|
-
* Sets and gets the options for customizing the highlight of the treemap item on mouse over on the treemap component.
|
|
160
|
-
*/
|
|
161
|
-
highlightSettings?: HighlightSettingsModel;
|
|
159
|
+
* Sets and gets the options for customizing the highlight of the treemap item on mouse over on the treemap component.
|
|
160
|
+
*/
|
|
161
|
+
highlightSettings?: HighlightSettingsModel;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
* Sets and gets the options for customizing the selection of the treemap item on click event on the treemap component.
|
|
165
|
-
*/
|
|
166
|
-
selectionSettings?: SelectionSettingsModel;
|
|
164
|
+
* Sets and gets the options for customizing the selection of the treemap item on click event on the treemap component.
|
|
165
|
+
*/
|
|
166
|
+
selectionSettings?: SelectionSettingsModel;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
* Sets and gets the options for customizing the tooltip of the treemap.
|
|
170
|
-
*/
|
|
171
|
-
tooltipSettings?: TooltipSettingsModel;
|
|
169
|
+
* Sets and gets the options for customizing the tooltip of the treemap.
|
|
170
|
+
*/
|
|
171
|
+
tooltipSettings?: TooltipSettingsModel;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
|
-
* Sets and gets the options for customizing the legend of the treemap.
|
|
175
|
-
*/
|
|
176
|
-
legendSettings?: LegendSettingsModel;
|
|
174
|
+
* Sets and gets the options for customizing the legend of the treemap.
|
|
175
|
+
*/
|
|
176
|
+
legendSettings?: LegendSettingsModel;
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
|
-
* Enables or disables the visibility state of the separator for grouping.
|
|
180
|
-
*
|
|
181
|
-
* @default false
|
|
182
|
-
*/
|
|
183
|
-
useGroupingSeparator?: boolean;
|
|
179
|
+
* Enables or disables the visibility state of the separator for grouping.
|
|
180
|
+
*
|
|
181
|
+
* @default false
|
|
182
|
+
*/
|
|
183
|
+
useGroupingSeparator?: boolean;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* Sets and gets the description for treemap.
|
|
187
|
-
*
|
|
188
|
-
* @default null
|
|
189
|
-
*/
|
|
190
|
-
description?: string;
|
|
186
|
+
* Sets and gets the description for treemap.
|
|
187
|
+
*
|
|
188
|
+
* @default null
|
|
189
|
+
*/
|
|
190
|
+
description?: string;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
|
-
* Sets and gets the tab index value for treemap.
|
|
194
|
-
*
|
|
195
|
-
* @default 1
|
|
196
|
-
*/
|
|
197
|
-
tabIndex?: number;
|
|
193
|
+
* Sets and gets the tab index value for treemap.
|
|
194
|
+
*
|
|
195
|
+
* @default 1
|
|
196
|
+
*/
|
|
197
|
+
tabIndex?: number;
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
|
-
* Sets and gets format for the texts in the treemap.
|
|
201
|
-
*
|
|
202
|
-
* @default null
|
|
203
|
-
*/
|
|
204
|
-
format?: string;
|
|
200
|
+
* Sets and gets format for the texts in the treemap.
|
|
201
|
+
*
|
|
202
|
+
* @default null
|
|
203
|
+
*/
|
|
204
|
+
format?: string;
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
|
-
* Triggers when the treemap is on load.
|
|
208
|
-
*
|
|
209
|
-
* @event
|
|
210
|
-
*/
|
|
211
|
-
load?: EmitType<ILoadEventArgs>;
|
|
207
|
+
* Triggers when the treemap is on load.
|
|
208
|
+
*
|
|
209
|
+
* @event
|
|
210
|
+
*/
|
|
211
|
+
load?: EmitType<ILoadEventArgs>;
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
|
-
* Triggers before the prints gets started.
|
|
215
|
-
*
|
|
216
|
-
* @event
|
|
217
|
-
*/
|
|
218
|
-
beforePrint?: EmitType<IPrintEventArgs>;
|
|
214
|
+
* Triggers before the prints gets started.
|
|
215
|
+
*
|
|
216
|
+
* @event
|
|
217
|
+
*/
|
|
218
|
+
beforePrint?: EmitType<IPrintEventArgs>;
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
|
-
* Triggers after treemap is rendered.
|
|
222
|
-
*
|
|
223
|
-
* @event
|
|
224
|
-
*/
|
|
225
|
-
loaded?: EmitType<ILoadedEventArgs>;
|
|
221
|
+
* Triggers after treemap is rendered.
|
|
222
|
+
*
|
|
223
|
+
* @event
|
|
224
|
+
*/
|
|
225
|
+
loaded?: EmitType<ILoadedEventArgs>;
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
|
-
* Triggers before item rendering in the treemap component.
|
|
229
|
-
*
|
|
230
|
-
* @event
|
|
231
|
-
*/
|
|
232
|
-
itemRendering?: EmitType<IItemRenderingEventArgs>;
|
|
228
|
+
* Triggers before item rendering in the treemap component.
|
|
229
|
+
*
|
|
230
|
+
* @event
|
|
231
|
+
*/
|
|
232
|
+
itemRendering?: EmitType<IItemRenderingEventArgs>;
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
|
-
* Triggers on performing drill down functionality in the treemap.
|
|
236
|
-
*
|
|
237
|
-
* @event
|
|
238
|
-
*/
|
|
239
|
-
drillStart?: EmitType<IDrillStartEventArgs>;
|
|
235
|
+
* Triggers on performing drill down functionality in the treemap.
|
|
236
|
+
*
|
|
237
|
+
* @event
|
|
238
|
+
*/
|
|
239
|
+
drillStart?: EmitType<IDrillStartEventArgs>;
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
|
-
* Triggers after drill down functionality gets completed in the treemap.
|
|
243
|
-
*
|
|
244
|
-
* @event
|
|
245
|
-
*/
|
|
246
|
-
drillEnd?: EmitType<IDrillEndEventArgs>;
|
|
242
|
+
* Triggers after drill down functionality gets completed in the treemap.
|
|
243
|
+
*
|
|
244
|
+
* @event
|
|
245
|
+
*/
|
|
246
|
+
drillEnd?: EmitType<IDrillEndEventArgs>;
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
|
-
* Triggers after selecting a treemap item.
|
|
250
|
-
*
|
|
251
|
-
* @event
|
|
252
|
-
*/
|
|
253
|
-
itemSelected?: EmitType<IItemSelectedEventArgs>;
|
|
249
|
+
* Triggers after selecting a treemap item.
|
|
250
|
+
*
|
|
251
|
+
* @event
|
|
252
|
+
*/
|
|
253
|
+
itemSelected?: EmitType<IItemSelectedEventArgs>;
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
|
-
* Triggers after highlighting on the treemap item.
|
|
257
|
-
*
|
|
258
|
-
* @event
|
|
259
|
-
*/
|
|
260
|
-
itemHighlight?: EmitType<IItemHighlightEventArgs>;
|
|
256
|
+
* Triggers after highlighting on the treemap item.
|
|
257
|
+
*
|
|
258
|
+
* @event
|
|
259
|
+
*/
|
|
260
|
+
itemHighlight?: EmitType<IItemHighlightEventArgs>;
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
|
-
* Triggers on rendering of the tooltip in the treemap component.
|
|
264
|
-
*
|
|
265
|
-
* @event
|
|
266
|
-
*/
|
|
267
|
-
tooltipRendering?: EmitType<ITreeMapTooltipRenderEventArgs>;
|
|
263
|
+
* Triggers on rendering of the tooltip in the treemap component.
|
|
264
|
+
*
|
|
265
|
+
* @event
|
|
266
|
+
*/
|
|
267
|
+
tooltipRendering?: EmitType<ITreeMapTooltipRenderEventArgs>;
|
|
268
268
|
|
|
269
269
|
/**
|
|
270
|
-
* Triggers after clicking an item in the treemap.
|
|
271
|
-
*
|
|
272
|
-
* @event
|
|
273
|
-
*/
|
|
274
|
-
itemClick?: EmitType<IItemClickEventArgs>;
|
|
270
|
+
* Triggers after clicking an item in the treemap.
|
|
271
|
+
*
|
|
272
|
+
* @event
|
|
273
|
+
*/
|
|
274
|
+
itemClick?: EmitType<IItemClickEventArgs>;
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
|
-
* Triggers after mouse hover on the treemap item.
|
|
278
|
-
*
|
|
279
|
-
* @event
|
|
280
|
-
*/
|
|
281
|
-
itemMove?: EmitType<IItemMoveEventArgs>;
|
|
277
|
+
* Triggers after mouse hover on the treemap item.
|
|
278
|
+
*
|
|
279
|
+
* @event
|
|
280
|
+
*/
|
|
281
|
+
itemMove?: EmitType<IItemMoveEventArgs>;
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
|
-
* Triggers after clicking on the treemap.
|
|
285
|
-
*
|
|
286
|
-
* @event
|
|
287
|
-
*/
|
|
288
|
-
click?: EmitType<IItemClickEventArgs>;
|
|
284
|
+
* Triggers after clicking on the treemap.
|
|
285
|
+
*
|
|
286
|
+
* @event
|
|
287
|
+
*/
|
|
288
|
+
click?: EmitType<IItemClickEventArgs>;
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
|
-
* Triggers after double clicking on the treemap.
|
|
292
|
-
*
|
|
293
|
-
* @event
|
|
294
|
-
*/
|
|
295
|
-
doubleClick?: EmitType<IDoubleClickEventArgs>;
|
|
291
|
+
* Triggers after double clicking on the treemap.
|
|
292
|
+
*
|
|
293
|
+
* @event
|
|
294
|
+
*/
|
|
295
|
+
doubleClick?: EmitType<IDoubleClickEventArgs>;
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
|
-
* Triggers after right clicking on the treemap.
|
|
299
|
-
*
|
|
300
|
-
* @event
|
|
301
|
-
*/
|
|
302
|
-
rightClick?: EmitType<IMouseMoveEventArgs>;
|
|
298
|
+
* Triggers after right clicking on the treemap.
|
|
299
|
+
*
|
|
300
|
+
* @event
|
|
301
|
+
*/
|
|
302
|
+
rightClick?: EmitType<IMouseMoveEventArgs>;
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
|
-
* Triggers after mouse hover on the treemap.
|
|
306
|
-
*
|
|
307
|
-
* @event
|
|
308
|
-
*/
|
|
309
|
-
mouseMove?: EmitType<IMouseMoveEventArgs>;
|
|
305
|
+
* Triggers after mouse hover on the treemap.
|
|
306
|
+
*
|
|
307
|
+
* @event
|
|
308
|
+
*/
|
|
309
|
+
mouseMove?: EmitType<IMouseMoveEventArgs>;
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
|
-
* Triggers after resizing the treemap component.
|
|
313
|
-
*
|
|
314
|
-
* @event
|
|
315
|
-
*/
|
|
316
|
-
resize?: EmitType<IResizeEventArgs>;
|
|
312
|
+
* Triggers after resizing the treemap component.
|
|
313
|
+
*
|
|
314
|
+
* @event
|
|
315
|
+
*/
|
|
316
|
+
resize?: EmitType<IResizeEventArgs>;
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
|
-
* Triggers before rendering each legend item in the treemap.
|
|
320
|
-
*
|
|
321
|
-
* @event
|
|
322
|
-
*/
|
|
323
|
-
legendItemRendering?: EmitType<ILegendItemRenderingEventArgs>;
|
|
319
|
+
* Triggers before rendering each legend item in the treemap.
|
|
320
|
+
*
|
|
321
|
+
* @event
|
|
322
|
+
*/
|
|
323
|
+
legendItemRendering?: EmitType<ILegendItemRenderingEventArgs>;
|
|
324
324
|
|
|
325
325
|
/**
|
|
326
|
-
* Triggers before rendering the legend items in the treemap.
|
|
327
|
-
*
|
|
328
|
-
* @event
|
|
329
|
-
|
|
330
|
-
*/
|
|
331
|
-
legendRendering?: EmitType<ILegendRenderingEventArgs>;
|
|
326
|
+
* Triggers before rendering the legend items in the treemap.
|
|
327
|
+
*
|
|
328
|
+
* @event
|
|
329
|
+
* @deprecated
|
|
330
|
+
*/
|
|
331
|
+
legendRendering?: EmitType<ILegendRenderingEventArgs>;
|
|
332
332
|
|
|
333
333
|
}
|
|
334
334
|
|
package/src/treemap/treemap.d.ts
CHANGED
|
@@ -342,7 +342,7 @@ export declare class TreeMap extends Component<HTMLElement> implements INotifyPr
|
|
|
342
342
|
* Triggers before rendering the legend items in the treemap.
|
|
343
343
|
*
|
|
344
344
|
* @event
|
|
345
|
-
|
|
345
|
+
* @deprecated
|
|
346
346
|
*/
|
|
347
347
|
legendRendering: EmitType<ILegendRenderingEventArgs>;
|
|
348
348
|
/**
|
|
@@ -415,6 +415,7 @@ export declare class TreeMap extends Component<HTMLElement> implements INotifyPr
|
|
|
415
415
|
legendId: string[];
|
|
416
416
|
/** @private */
|
|
417
417
|
selectionId: string;
|
|
418
|
+
private resizeEvent;
|
|
418
419
|
/**s
|
|
419
420
|
* Constructor for TreeMap component.
|
|
420
421
|
*/
|