@syncfusion/ej2-treemap 20.3.59 → 20.4.40
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/.eslintrc.json +16 -1
- package/CHANGELOG.md +0 -6
- package/README.md +53 -41
- 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 +469 -193
- package/dist/es6/ej2-treemap.es2015.js.map +1 -1
- package/dist/es6/ej2-treemap.es5.js +491 -215
- 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 +26 -20
- package/src/treemap/layout/legend.d.ts +15 -0
- package/src/treemap/layout/legend.js +47 -45
- package/src/treemap/layout/render-panel.d.ts +2 -1
- package/src/treemap/layout/render-panel.js +25 -44
- package/src/treemap/model/image-export.d.ts +1 -0
- package/src/treemap/model/image-export.js +4 -2
- package/src/treemap/model/pdf-export.d.ts +1 -0
- package/src/treemap/model/pdf-export.js +5 -4
- package/src/treemap/model/print.d.ts +2 -0
- package/src/treemap/model/print.js +4 -1
- package/src/treemap/treemap-model.d.ts +19 -19
- package/src/treemap/treemap.d.ts +74 -47
- package/src/treemap/treemap.js +74 -59
- package/src/treemap/user-interaction/highlight-selection.d.ts +6 -1
- package/src/treemap/user-interaction/highlight-selection.js +22 -21
- package/src/treemap/user-interaction/tooltip.js +3 -5
- package/src/treemap/utils/helper.d.ts +281 -12
- package/src/treemap/utils/helper.js +308 -77
|
@@ -18,6 +18,12 @@ export declare class Size {
|
|
|
18
18
|
width: number;
|
|
19
19
|
constructor(width: number, height: number);
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @param {string} value - specifies the text.
|
|
24
|
+
* @param {number} containerSize - specifies the container size value.
|
|
25
|
+
* @returns {number} - Returns the number value which is converted from string.
|
|
26
|
+
*/
|
|
21
27
|
export declare function stringToNumber(value: string, containerSize: number): number;
|
|
22
28
|
/**
|
|
23
29
|
* Internal use of type rect
|
|
@@ -64,7 +70,6 @@ export declare class PathOption {
|
|
|
64
70
|
*
|
|
65
71
|
* @param {string} text - Specifies the text.
|
|
66
72
|
* @param {FontModel} font - Specifies the font.
|
|
67
|
-
* @param {string} id - Specifies the id.
|
|
68
73
|
* @returns {Size} - Returns the size.
|
|
69
74
|
* @private
|
|
70
75
|
*/
|
|
@@ -111,8 +116,21 @@ export declare class Location {
|
|
|
111
116
|
}
|
|
112
117
|
/**
|
|
113
118
|
* Method to calculate x position of title
|
|
119
|
+
*
|
|
120
|
+
* @param {Rect} location - Specifies the location of text.
|
|
121
|
+
* @param {Alignment} alignment - Specifies the alignment of the text.
|
|
122
|
+
* @param {Size} textSize - Specifies the size of the text.
|
|
123
|
+
* @param {type} type - Specifies whether the provided text is title or subtitle.
|
|
124
|
+
* @returns {Location} - Returns the location of text.
|
|
114
125
|
*/
|
|
115
126
|
export declare function findPosition(location: Rect, alignment: Alignment, textSize: Size, type: string): Location;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @param {SvgRenderer} renderer - Specifies the rendering element of the SVG.
|
|
130
|
+
* @param {any} renderOptions - Specifies the settings of the text.
|
|
131
|
+
* @param {string} text - Specifies the text.
|
|
132
|
+
* @returns {HTMLElement} - Returns the HTML element for the text.
|
|
133
|
+
*/
|
|
116
134
|
export declare function createTextStyle(renderer: SvgRenderer, renderOptions: any, text: string): HTMLElement;
|
|
117
135
|
/**
|
|
118
136
|
* Internal rendering of text
|
|
@@ -120,17 +138,56 @@ export declare function createTextStyle(renderer: SvgRenderer, renderOptions: an
|
|
|
120
138
|
* @param {TextOption} options - Specifies the text option
|
|
121
139
|
* @param {FontModel} font - Specifies the font model
|
|
122
140
|
* @param {string} color - Specifies the color
|
|
123
|
-
* @param {HTMLElement | Element} parent -
|
|
141
|
+
* @param {HTMLElement | Element} parent - Specifies the parent element of the text
|
|
124
142
|
* @param {boolean} isMinus - Specifies the boolean value
|
|
125
143
|
* @returns {Element} - Returns the element
|
|
126
144
|
* @private
|
|
127
145
|
*/
|
|
128
146
|
export declare function renderTextElement(options: TextOption, font: FontModel, color: string, parent: HTMLElement | Element, isMinus?: boolean): Element;
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @param {string} targetId - Specifies the id of the element to which template is to be appended.
|
|
150
|
+
* @param {Element} targetElement - Specifies the element to which template is to be appended.
|
|
151
|
+
* @param {string} contentItemTemplate - Specifies the content to be appended as template.
|
|
152
|
+
* @returns {void}
|
|
153
|
+
*/
|
|
129
154
|
export declare function setItemTemplateContent(targetId: string, targetElement: Element, contentItemTemplate: string): void;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @param {string} id - Specifies the id of the element.
|
|
158
|
+
* @returns {Element} - Returns the element.
|
|
159
|
+
*/
|
|
130
160
|
export declare function getElement(id: string): Element;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @param {any} a - Specifies the first order of TreeMap leaf elements.
|
|
164
|
+
* @param {any} b - Specifies the second order of TreeMap leaf elements.
|
|
165
|
+
* @returns {number} - Returns the order of the TreeMap leaf element.
|
|
166
|
+
*/
|
|
131
167
|
export declare function itemsToOrder(a: any, b: any): number;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @param {string[]} source - Specifies the data from the data source.
|
|
171
|
+
* @param {string} pathName - Specifies the path name in the data source.
|
|
172
|
+
* @param {any} processData - Specifies the data source object.
|
|
173
|
+
* @param {TreeMap} treemap - Specifies the treemap instance.
|
|
174
|
+
* @returns {boolean} - Specifies whether data is available in the data source or not.
|
|
175
|
+
*/
|
|
132
176
|
export declare function isContainsData(source: string[], pathName: string, processData: any, treemap: TreeMap): boolean;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @param {any} data - Specifies the data to which the children elements to be found.
|
|
180
|
+
* @returns {any} - Returns the children elements of the TreeMap leaf element.
|
|
181
|
+
*/
|
|
133
182
|
export declare function findChildren(data: any): any;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @param {any} data - Specifies the data to which highlight must be done.
|
|
186
|
+
* @param {items} items - Specifies the data source items.
|
|
187
|
+
* @param {string} mode - Specifies the mode of highlight.
|
|
188
|
+
* @param {TreeMap} treeMap - Specifies the treemap instance.
|
|
189
|
+
* @returns {string[]} - Returns the highlighted items.
|
|
190
|
+
*/
|
|
134
191
|
export declare function findHightLightItems(data: any, items: string[], mode: string, treeMap: TreeMap): string[];
|
|
135
192
|
/**
|
|
136
193
|
* Function to compile the template function for maps.
|
|
@@ -148,39 +205,194 @@ export declare function getTemplateFunction(template: string): any;
|
|
|
148
205
|
* @returns {HTMLElement} - Returns the element
|
|
149
206
|
*/
|
|
150
207
|
export declare function convertElement(element: HTMLCollection, labelId: string, data: any): HTMLElement;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @param {Rect} rect - Specifies the area.
|
|
211
|
+
* @param {LabelPosition} position - Specifies the position
|
|
212
|
+
* @param {Size} labelSize - Specifies the label size.
|
|
213
|
+
* @param {string} type - Specifies the type.
|
|
214
|
+
* @param {TreeMap} treemap - Specifies the treemap instance.
|
|
215
|
+
* @returns {Location} - Returns the text location.
|
|
216
|
+
*/
|
|
151
217
|
export declare function findLabelLocation(rect: Rect, position: LabelPosition, labelSize: Size, type: string, treemap: TreeMap): Location;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @param {HTMLElement} element - Specifies the element to be measured.
|
|
221
|
+
* @param {HTMLElement} parentElement - Specifies the parent element of the element to be measured.
|
|
222
|
+
* @returns {Size} - Returns the element size.
|
|
223
|
+
*/
|
|
152
224
|
export declare function measureElement(element: HTMLElement, parentElement: HTMLElement): Size;
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @param {Rect} rect - Specifies the area.
|
|
228
|
+
* @returns {number} - Returns the area width.
|
|
229
|
+
*/
|
|
153
230
|
export declare function getArea(rect: Rect): number;
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @param {Rect} input - Specifies input for the calculation.
|
|
234
|
+
* @returns {number} - Returns the shortest edge.
|
|
235
|
+
*/
|
|
154
236
|
export declare function getShortestEdge(input: Rect): number;
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @param {Rect} rect - Specifies the rectangle bounds of the container.
|
|
240
|
+
* @returns {Rect} - Returns the rectangle bounds.
|
|
241
|
+
*/
|
|
155
242
|
export declare function convertToContainer(rect: Rect): Rect;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @param {Rect} container - Specifies the rectangle bounds of the container.
|
|
246
|
+
* @returns {Rect} - Returns the rectangle bounds.
|
|
247
|
+
*/
|
|
156
248
|
export declare function convertToRect(container: Rect): Rect;
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @param {number} pageX - Specifies the horizontal position of the mouse location.
|
|
252
|
+
* @param {number} pageY - Specifies the vertical position of the mouse location.
|
|
253
|
+
* @param {Element} element - Specifies the element to which the click is done.
|
|
254
|
+
* @returns {Location} - Returns the clicked location.
|
|
255
|
+
*/
|
|
157
256
|
export declare function getMousePosition(pageX: number, pageY: number, element: Element): Location;
|
|
158
|
-
|
|
159
|
-
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @param {ColorMappingModel[]} colorMapping - Specifies the color mapping instance.
|
|
260
|
+
* @param {string} equalValue - Specifies the equal value.
|
|
261
|
+
* @param {number | string} value - Specifies the range value.
|
|
262
|
+
* @returns {any} - Returns the color mapping object.
|
|
263
|
+
* @private
|
|
264
|
+
*/
|
|
265
|
+
export declare function colorMap(colorMapping: ColorMappingModel[], equalValue: string, value: number | string): any;
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @param {ColorMappingModel} colorMapping - Specifies the color mapping object.
|
|
269
|
+
* @param {number} rangeValue - Specifies the range value.
|
|
270
|
+
* @returns {string} - Returns the opacity for the color mapping.
|
|
271
|
+
* @private
|
|
272
|
+
*/
|
|
273
|
+
export declare function deSaturationColor(colorMapping: ColorMappingModel, rangeValue: number): string;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @param {ColorMappingModel} colorMap - Specifies the color mapping object.
|
|
277
|
+
* @param {number} value - Specifies the range value.
|
|
278
|
+
* @returns {string} - Returns the fill color.
|
|
279
|
+
*/
|
|
160
280
|
export declare function colorCollections(colorMap: ColorMappingModel, value: number): string;
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @param {number} r - Specifies the red color value.
|
|
284
|
+
* @param {number} g - Specifies the green color value.
|
|
285
|
+
* @param {number} b - Specifies the blue color value.
|
|
286
|
+
* @returns {string} - Returns the fill color.
|
|
287
|
+
*/
|
|
161
288
|
export declare function rgbToHex(r: number, g: number, b: number): string;
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* @param {ColorMappingModel} colorMap - Specifies the color mapping.
|
|
292
|
+
* @param {number} value - Specifies the range value.
|
|
293
|
+
* @returns {string} - Returns the fill color.
|
|
294
|
+
*/
|
|
162
295
|
export declare function getColorByValue(colorMap: ColorMappingModel, value: number): string;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @param {number} value - Specifies the range value.
|
|
299
|
+
* @param {ColorMappingModel} colorMap - Specifies the color mapping.
|
|
300
|
+
* @returns {ColorValue} - Returns the color value object.
|
|
301
|
+
*/
|
|
163
302
|
export declare function getGradientColor(value: number, colorMap: ColorMappingModel): ColorValue;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @param {number} percent - Specifies the percentage of the color.
|
|
306
|
+
* @param {number} previous - Specifies the previous color.
|
|
307
|
+
* @param {number} next - Specifies the next color.
|
|
308
|
+
* @returns {ColorValue} - Returns the color value object.
|
|
309
|
+
*/
|
|
164
310
|
export declare function getPercentageColor(percent: number, previous: string, next: string): ColorValue;
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @param {number} percent - Specifies the percentage of the color.
|
|
314
|
+
* @param {number} previous - Specifies the previous color.
|
|
315
|
+
* @param {number} next - Specifies the next color.
|
|
316
|
+
* @returns {number} - Returns the color value.
|
|
317
|
+
*/
|
|
165
318
|
export declare function getPercentage(percent: number, previous: number, next: number): number;
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @param {number} maximumWidth - Specifies the length of the text.
|
|
322
|
+
* @param {string} dataLabel - Specifies the label.
|
|
323
|
+
* @param {FontModel} font - Specifies the font of the label.
|
|
324
|
+
* @returns {string[]} - Returns the labels.
|
|
325
|
+
*/
|
|
166
326
|
export declare function wordWrap(maximumWidth: number, dataLabel: string, font: FontModel): string[];
|
|
327
|
+
/**
|
|
328
|
+
*
|
|
329
|
+
* @param {number} maxWidth - Specifies the length of the text.
|
|
330
|
+
* @param {string} label - Specifies the label.
|
|
331
|
+
* @param {FontModel} font - Specifies the font of the label.
|
|
332
|
+
* @returns {string[]} - Returns the labels.
|
|
333
|
+
*/
|
|
167
334
|
export declare function textWrap(maxWidth: number, label: string, font: FontModel): string[];
|
|
168
335
|
/**
|
|
169
336
|
* hide function
|
|
170
337
|
*
|
|
171
|
-
* @param {number} maxWidth - Specifies the maximum width
|
|
172
|
-
* @param {number} maxHeight - Specifies the maximum height
|
|
173
|
-
* @param {string} text - Specifies the text
|
|
174
|
-
* @param {FontModel} font - Specifies the font
|
|
175
|
-
* @returns {string} - Returns the
|
|
338
|
+
* @param {number} maxWidth - Specifies the maximum width.
|
|
339
|
+
* @param {number} maxHeight - Specifies the maximum height.
|
|
340
|
+
* @param {string} text - Specifies the text.
|
|
341
|
+
* @param {FontModel} font - Specifies the font.
|
|
342
|
+
* @returns {string} - Returns the hidden text.
|
|
176
343
|
*/
|
|
177
344
|
export declare function hide(maxWidth: number, maxHeight: number, text: string, font: FontModel): string;
|
|
345
|
+
/**
|
|
346
|
+
*
|
|
347
|
+
* @param {number} a - Specifies the first value of the leaf.
|
|
348
|
+
* @param {number} b - Specifies the second value of the leaf.
|
|
349
|
+
* @returns {number} - Returns whether values are equal or not.
|
|
350
|
+
*/
|
|
178
351
|
export declare function orderByArea(a: number, b: number): number;
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @param {TreeMap} treemap - Specifies the treemap instance.
|
|
355
|
+
* @param {Element} element - Specifies the selected TreeMap leaf item.
|
|
356
|
+
* @param {string} className -Specifies the selected class name.
|
|
357
|
+
* @returns {void}
|
|
358
|
+
*/
|
|
179
359
|
export declare function maintainSelection(treemap: TreeMap, element: Element, className: string): void;
|
|
360
|
+
/**
|
|
361
|
+
*
|
|
362
|
+
* @param {TreeMap} treemap - Specifies the treemap instance.
|
|
363
|
+
* @param {Element} legendGroup - Specifies the selected element.
|
|
364
|
+
* @returns {void}
|
|
365
|
+
*/
|
|
180
366
|
export declare function legendMaintain(treemap: TreeMap, legendGroup: Element): void;
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @param {HTMLCollection} elements - Specifies the selected TreeMap element.
|
|
370
|
+
* @param {string} type - Specifies the selection type.
|
|
371
|
+
* @param {TreeMap} treemap - Specifies the TreeMap instance.
|
|
372
|
+
* @returns {void}
|
|
373
|
+
*/
|
|
181
374
|
export declare function removeClassNames(elements: HTMLCollection, type: string, treemap: TreeMap): void;
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @param {SVGPathElement} element - Specifies the SVG path element.
|
|
378
|
+
* @param {any} options - Specifies the settings for the SVG path element.
|
|
379
|
+
* @returns {void}
|
|
380
|
+
*/
|
|
182
381
|
export declare function applyOptions(element: SVGPathElement, options: any): void;
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @param {string} format - Specifies the format value.
|
|
385
|
+
* @param {any} data - Specifies the data source object.
|
|
386
|
+
* @param {TreeMap} treemap - Specifies the TreeMap instance.
|
|
387
|
+
* @returns {string} - Returns the formatted text.
|
|
388
|
+
*/
|
|
183
389
|
export declare function textFormatter(format: string, data: any, treemap: TreeMap): string;
|
|
390
|
+
/**
|
|
391
|
+
*
|
|
392
|
+
* @param {number} value - Specifies the text to be formatted.
|
|
393
|
+
* @param {TreeMap} treemap - Specifies the TreeMap instance.
|
|
394
|
+
* @returns {string | number} - Returns the formatted text.
|
|
395
|
+
*/
|
|
184
396
|
export declare function formatValue(value: number, treemap: TreeMap): string | number;
|
|
185
397
|
/**
|
|
186
398
|
* @private
|
|
@@ -198,7 +410,7 @@ export declare class ColorValue {
|
|
|
198
410
|
*/
|
|
199
411
|
export declare function convertToHexCode(value: ColorValue): string;
|
|
200
412
|
/**
|
|
201
|
-
* @param {number} value -
|
|
413
|
+
* @param {number} value - Specifies the value
|
|
202
414
|
* @returns {string} - Returns the string
|
|
203
415
|
* @private */
|
|
204
416
|
export declare function componentToHex(value: number): string;
|
|
@@ -235,6 +447,12 @@ export declare function drawSymbol(location: Location, shape: string, size: Size
|
|
|
235
447
|
* @private
|
|
236
448
|
*/
|
|
237
449
|
export declare function renderLegendShape(location: Location, size: Size, shape: string, options: PathOption, url: string): IShapes;
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @param {any} data - Specifies the data source object.
|
|
453
|
+
* @param {any} item - Specifies the leaf item.
|
|
454
|
+
* @returns {boolean} - Returns whether the TreeMap item is level item or leaf item.
|
|
455
|
+
*/
|
|
238
456
|
export declare function isParentItem(data: any[], item: any): boolean;
|
|
239
457
|
/**
|
|
240
458
|
* Ajax support for treemap
|
|
@@ -252,11 +470,57 @@ export declare class TreeMapAjax {
|
|
|
252
470
|
sendData: string | any;
|
|
253
471
|
constructor(options: string | any, type?: string, async?: boolean, contentType?: string, sendData?: string | any);
|
|
254
472
|
}
|
|
255
|
-
|
|
256
|
-
|
|
473
|
+
/**
|
|
474
|
+
*
|
|
475
|
+
* @param {any[]} collection - Specifies the legend collection.
|
|
476
|
+
* @returns {void}
|
|
477
|
+
* @private
|
|
478
|
+
*/
|
|
479
|
+
export declare function removeShape(collection: any[]): void;
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @param {any[]} collection - Specifies the legend collection.
|
|
483
|
+
* @returns {void}
|
|
484
|
+
* @private
|
|
485
|
+
*/
|
|
486
|
+
export declare function removeLegend(collection: any[]): void;
|
|
487
|
+
/**
|
|
488
|
+
*
|
|
489
|
+
* @param {Element} element - Specifies the selected element.
|
|
490
|
+
* @param {string} fill - Specifies the fill color.
|
|
491
|
+
* @param {string} opacity - Specifies the opacity.
|
|
492
|
+
* @param {string} borderColor - Specifies the border color.
|
|
493
|
+
* @param {string} borderWidth - Specifies the border width.
|
|
494
|
+
* @returns {void}
|
|
495
|
+
*/
|
|
257
496
|
export declare function setColor(element: Element, fill: string, opacity: string, borderColor: string, borderWidth: string): void;
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @param {any[]} collection - Specifies the selected item collection.
|
|
500
|
+
* @param {any[]} element - Specifies the selected element collection.
|
|
501
|
+
* @param {TreeMap} treemap - Specifies the TreeMap instance.
|
|
502
|
+
* @returns {void}
|
|
503
|
+
*/
|
|
258
504
|
export declare function removeSelectionWithHighlight(collection: any[], element: any[], treemap: TreeMap): void;
|
|
505
|
+
/**
|
|
506
|
+
*
|
|
507
|
+
* @param {number} length - Specifies the length of the legend group.
|
|
508
|
+
* @param {any} item - Specifies the legend item.
|
|
509
|
+
* @param {TreeMap} treemap - Specifies the TreeMap instance.
|
|
510
|
+
* @returns {number} - Returns the legend index.
|
|
511
|
+
*/
|
|
259
512
|
export declare function getLegendIndex(length: number, item: any, treemap: TreeMap): number;
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* @param {any[]} collection - Specifies the legend collection.
|
|
516
|
+
* @param {number} index - Specifies the index of legend.
|
|
517
|
+
* @param {number} number - Specifies the leaf item index.
|
|
518
|
+
* @param {Element} legendElement - Specifies the legend element.
|
|
519
|
+
* @param {Element} shapeElement - Specifies the shape element.
|
|
520
|
+
* @param {any[]} renderItems - Specifies the item index.
|
|
521
|
+
* @param {any[]} legendCollection - Specifies the legend collection.
|
|
522
|
+
* @returns {void}
|
|
523
|
+
*/
|
|
260
524
|
export declare function pushCollection(collection: any[], index: number, number: number, legendElement: Element, shapeElement: Element, renderItems: any[], legendCollection: any[]): void;
|
|
261
525
|
/**
|
|
262
526
|
* To trigger the download element
|
|
@@ -268,4 +532,9 @@ export declare function pushCollection(collection: any[], index: number, number:
|
|
|
268
532
|
* @returns {void}
|
|
269
533
|
*/
|
|
270
534
|
export declare function triggerDownload(fileName: string, type: ExportType, url: string, isDownload: boolean): void;
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @param {string} id - Specifies the id of the element to be removed.
|
|
538
|
+
* @returns {void}
|
|
539
|
+
*/
|
|
271
540
|
export declare function removeElement(id: string): void;
|