@smart-webcomponents-angular/window 14.2.0 → 15.0.2
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/index.d.ts +1405 -7
- package/package.json +1 -1
- package/source/modules/smart.window.js +2 -2
- package/source/smart.button.js +2 -2
- package/source/smart.combobox.js +3 -3
- package/source/smart.dropdownlist.js +3 -3
- package/source/smart.element.js +2 -2
- package/source/smart.listbox.js +3 -3
- package/source/smart.multilinetextbox.js +2 -2
- package/source/smart.progressbar.js +2 -2
- package/source/smart.scrollbar.js +2 -2
- package/source/smart.textbox.js +2 -2
- package/source/smart.window.js +2 -2
- package/styles/font/smart-icons.eot +0 -0
- package/styles/font/smart-icons.svg +310 -296
- package/styles/font/smart-icons.ttf +0 -0
- package/styles/font/smart-icons.woff +0 -0
- package/styles/font/smart-icons.woff2 +0 -0
- package/styles/smart.base.css +1 -1
- package/styles/smart.window.css +1 -1
package/index.d.ts
CHANGED
|
@@ -1,3 +1,1252 @@
|
|
|
1
|
+
export interface ThreeDChartProperties {
|
|
2
|
+
/**
|
|
3
|
+
* Sets or gets the animation mode. Animation is disabled when the property is set to 'none'.
|
|
4
|
+
* Default value: advanced
|
|
5
|
+
*/
|
|
6
|
+
animation?: Animation | string;
|
|
7
|
+
/**
|
|
8
|
+
* Determines the rate of the animation. The default animation rate is 1
|
|
9
|
+
* Default value: 1
|
|
10
|
+
*/
|
|
11
|
+
animationSpeed?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Sets whether the chart will rotate automatically.
|
|
14
|
+
* Default value: false
|
|
15
|
+
*/
|
|
16
|
+
autoRotate?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Sets the speed of the automatic rotation.
|
|
19
|
+
* Default value: 1
|
|
20
|
+
*/
|
|
21
|
+
autoRotateSpeed?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the chart's background color. For example: '#DDFFE8'
|
|
24
|
+
* Default value: #ffffff
|
|
25
|
+
*/
|
|
26
|
+
backgroundColor?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Sets the chart's background to a static linear gradient. The property must be set to an Array of Strings in the format: 'offset, color'
|
|
29
|
+
* Default value: []
|
|
30
|
+
*/
|
|
31
|
+
backgroundGradient?: any[];
|
|
32
|
+
/**
|
|
33
|
+
* Sets the chart's background to a static image. For example: 'https://www.htmlelements.com/demos/images/stars.jpg'
|
|
34
|
+
* Default value: ""
|
|
35
|
+
*/
|
|
36
|
+
backgroundImage?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the chart's background to a dynamic background image which rotates with the camera. The property must be set an Array of 6 images. All images must have aspect ratio 1:1
|
|
39
|
+
* Default value: []
|
|
40
|
+
*/
|
|
41
|
+
backgroundTexture?: any[];
|
|
42
|
+
/**
|
|
43
|
+
* Sets the camera's position. The property must be set to an {x, y, z} object.
|
|
44
|
+
* Default value: [object Object]
|
|
45
|
+
*/
|
|
46
|
+
cameraPosition?: ThreeDChartCameraPosition;
|
|
47
|
+
/**
|
|
48
|
+
* Sets the intial camera zoom. The default value is 1
|
|
49
|
+
* Default value: 1
|
|
50
|
+
*/
|
|
51
|
+
cameraZoom?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Sets the caption (title) of the chart.
|
|
54
|
+
* Default value: "Caption"
|
|
55
|
+
*/
|
|
56
|
+
caption?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Sets the chart's color pallete. jqxChart suppports 32 color schemes from 'scheme01' to 'scheme32'.
|
|
59
|
+
* Default value: scheme01
|
|
60
|
+
*/
|
|
61
|
+
colorScheme?: ThreeDChartColorScheme | string;
|
|
62
|
+
/**
|
|
63
|
+
* Sets the chart's controls settings.
|
|
64
|
+
* Default value: [object Object]
|
|
65
|
+
*/
|
|
66
|
+
controlsSettings?: any;
|
|
67
|
+
/**
|
|
68
|
+
* Allows substituting default items with custom 3D Objects. The property must be set to an Array of Objects in the format: { groupIndex, serieIndex, itemIndex, modelUrl }
|
|
69
|
+
* Default value: []
|
|
70
|
+
*/
|
|
71
|
+
customModels?: any[];
|
|
72
|
+
/**
|
|
73
|
+
* Sets the chart's data source.
|
|
74
|
+
* Default value:
|
|
75
|
+
*/
|
|
76
|
+
dataSource?: any[];
|
|
77
|
+
/**
|
|
78
|
+
* Sets the description text of the chart.
|
|
79
|
+
* Default value: "Description"
|
|
80
|
+
*/
|
|
81
|
+
description?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Enables or disables the chart.
|
|
84
|
+
* Default value: false
|
|
85
|
+
*/
|
|
86
|
+
disabled?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Sets whether the chart's toolbar is enabled.
|
|
89
|
+
* Default value: true
|
|
90
|
+
*/
|
|
91
|
+
enableControlsToolbar?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* Default value: reset-camera,zoom-in,zoom-out,save-image,camera-control
|
|
95
|
+
*/
|
|
96
|
+
controlsToolbarItems?: any;
|
|
97
|
+
/**
|
|
98
|
+
* Sets the chart's grid options.
|
|
99
|
+
* Default value: [object Object]
|
|
100
|
+
*/
|
|
101
|
+
gridOptions?: any;
|
|
102
|
+
/**
|
|
103
|
+
* Sets whether the legend will be created based on the chart's series or serie groups. "auto" - the legend index will change depending on the Chart type
|
|
104
|
+
* Default value: auto
|
|
105
|
+
*/
|
|
106
|
+
legendIndex?: ThreeDChartLegendIndex | string;
|
|
107
|
+
/**
|
|
108
|
+
* Sets the legend's layout.
|
|
109
|
+
* Default value: [object Object]
|
|
110
|
+
*/
|
|
111
|
+
legendLayout?: any;
|
|
112
|
+
/**
|
|
113
|
+
* Sets the light color of the 3D Scene.
|
|
114
|
+
* Default value: "#ffffff"
|
|
115
|
+
*/
|
|
116
|
+
lightColor?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Sets or gets the locale. Used in conjunction with the property messages.
|
|
119
|
+
* Default value: "en"
|
|
120
|
+
*/
|
|
121
|
+
locale?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale.
|
|
124
|
+
* Default value: * [object Object]
|
|
125
|
+
*/
|
|
126
|
+
messages?: any;
|
|
127
|
+
/**
|
|
128
|
+
* Sets or gets a value indicating whether the Chart's layout is mirrored.
|
|
129
|
+
* Default value: false
|
|
130
|
+
*/
|
|
131
|
+
rightToLeft?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Determines the selection mode.
|
|
134
|
+
* Default value: multiple
|
|
135
|
+
*/
|
|
136
|
+
selectionMode?: ThreeDChartSelectionMode | string;
|
|
137
|
+
/**
|
|
138
|
+
* The seriesGroups property is used to describe all series displayed on the chart. jqxChart supports multiple series of different types and series grouping. Each series group may have its own Value Axis (Y-axis) which allows you to have values with different scales displayed on the same chart at the same time. It also allows you to display multiple series types together on the same chart. For example, you can display all series in one group as lines and the series in a second group as columns. seriesGroups is an array of objects where each object represents one group.
|
|
139
|
+
* Default value:
|
|
140
|
+
*/
|
|
141
|
+
seriesGroups?: ThreeDChartSeriesGroup[];
|
|
142
|
+
/**
|
|
143
|
+
* Determines whether to show grid connecting lines when a chart item is hovered over.
|
|
144
|
+
* Default value: false
|
|
145
|
+
*/
|
|
146
|
+
showConnectionLines?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Determines whether to show or hide the chart series legend.
|
|
149
|
+
* Default value: true
|
|
150
|
+
*/
|
|
151
|
+
showLegend?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* Determines whether to show or hide the chart series legend table.
|
|
154
|
+
* Default value: false
|
|
155
|
+
*/
|
|
156
|
+
showLegendTable?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Enables or disables the chart tooltips.
|
|
159
|
+
* Default value: true
|
|
160
|
+
*/
|
|
161
|
+
showToolTips?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Sets the padding of the chart's title (caption).
|
|
164
|
+
* Default value: [object Object]
|
|
165
|
+
*/
|
|
166
|
+
titlePadding?: ThreeDChartPadding;
|
|
167
|
+
/**
|
|
168
|
+
* User defined tooltip text formatting callback function.
|
|
169
|
+
* Default value: null
|
|
170
|
+
*/
|
|
171
|
+
toolTipFormatFunction?: {(value?: any, index?: number, series?: any): string};
|
|
172
|
+
/**
|
|
173
|
+
* Tooltip line color. By default it is set to the hovered item's color
|
|
174
|
+
* Default value: null
|
|
175
|
+
*/
|
|
176
|
+
toolTipLineColor?: string | null;
|
|
177
|
+
/**
|
|
178
|
+
* An object with settings about the Chart's y-axis (value axis).
|
|
179
|
+
* Default value: [object Object]
|
|
180
|
+
*/
|
|
181
|
+
valueAxis?: ThreeDChartValueAxis;
|
|
182
|
+
/**
|
|
183
|
+
* Sets the Chart's xAxis.
|
|
184
|
+
* Default value: [object Object]
|
|
185
|
+
*/
|
|
186
|
+
xAxis?: ThreeDChartXAxis;
|
|
187
|
+
/**
|
|
188
|
+
* Sets the Chart's zAxis.
|
|
189
|
+
* Default value: [object Object]
|
|
190
|
+
*/
|
|
191
|
+
zAxis?: ThreeDChartZAxis;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
3D Chart is a feature-complete interactive WebGL 3D graph library that answers the data visualization needs of any modern web app.
|
|
195
|
+
*/
|
|
196
|
+
export interface ThreeDChart extends BaseElement, ThreeDChartProperties {
|
|
197
|
+
|
|
198
|
+
/* Get a member by its name */
|
|
199
|
+
[name: string]: any;
|
|
200
|
+
/**
|
|
201
|
+
* The event is raised when the user clicks on a chart element.
|
|
202
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(itemIndex, serieIndex, groupIndex)
|
|
203
|
+
* itemIndex - The item index of the item.
|
|
204
|
+
* serieIndex - The serie index of the item.
|
|
205
|
+
* groupIndex - The group index of the item.
|
|
206
|
+
*/
|
|
207
|
+
onItemClick?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
208
|
+
/**
|
|
209
|
+
* The event is raised when a chart element is shown.
|
|
210
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(itemIndex, serieIndex, groupIndex)
|
|
211
|
+
* itemIndex - The item index of the item.
|
|
212
|
+
* serieIndex - The serie index of the item.
|
|
213
|
+
* groupIndex - The group index of the item.
|
|
214
|
+
*/
|
|
215
|
+
onShow?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
216
|
+
/**
|
|
217
|
+
* The event is raised when a chart element is hidden.
|
|
218
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(itemIndex, serieIndex, groupIndex)
|
|
219
|
+
* itemIndex - The item index of the item.
|
|
220
|
+
* serieIndex - The serie index of the item.
|
|
221
|
+
* groupIndex - The group index of the item.
|
|
222
|
+
*/
|
|
223
|
+
onHide?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
224
|
+
/**
|
|
225
|
+
* The event is raised when a chart element is selected.
|
|
226
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(itemIndex, serieIndex, groupIndex)
|
|
227
|
+
* itemIndex - The item index of the item.
|
|
228
|
+
* serieIndex - The serie index of the item.
|
|
229
|
+
* groupIndex - The group index of the item.
|
|
230
|
+
*/
|
|
231
|
+
onSelect?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
232
|
+
/**
|
|
233
|
+
* The event is raised when a chart element is unselected.
|
|
234
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(itemIndex, serieIndex, groupIndex)
|
|
235
|
+
* itemIndex - The item index of the item.
|
|
236
|
+
* serieIndex - The serie index of the item.
|
|
237
|
+
* groupIndex - The group index of the item.
|
|
238
|
+
*/
|
|
239
|
+
onUnselect?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
240
|
+
/**
|
|
241
|
+
* The event is raised after the chart's range selector position changes and after the chart ends rendering.
|
|
242
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(minValue, maxValue)
|
|
243
|
+
* minValue - The start value of the range selector.
|
|
244
|
+
* maxValue - The end value of the range selector.
|
|
245
|
+
*/
|
|
246
|
+
onRangeSelectionChanged?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
247
|
+
/**
|
|
248
|
+
* The event is raised when the chart's range selector position changes and before the chart starts rendering. The event can be default prevented to cancel the range selection change.
|
|
249
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(minValue, maxValue, oldMinValue, oldMaxValue)
|
|
250
|
+
* minValue - The start value of the range selector.
|
|
251
|
+
* maxValue - The end value of the range selector.
|
|
252
|
+
* oldMinValue - The previous start value of the range selector.
|
|
253
|
+
* oldMaxValue - The previous end value of the range selector.
|
|
254
|
+
*/
|
|
255
|
+
onRangeSelectionChanging?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
256
|
+
/**
|
|
257
|
+
* The event is raised when the chart begins rendering.
|
|
258
|
+
* @param event. The custom event. */
|
|
259
|
+
onRefreshBegin?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
260
|
+
/**
|
|
261
|
+
* The event is raised when the chart finishes rendering.
|
|
262
|
+
* @param event. The custom event. */
|
|
263
|
+
onRefreshEnd?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
264
|
+
/**
|
|
265
|
+
* The event is raised when the chart begins resizing.
|
|
266
|
+
* @param event. The custom event. */
|
|
267
|
+
onResizeBegin?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
268
|
+
/**
|
|
269
|
+
* The event is raised when the chart finishes resizing.
|
|
270
|
+
* @param event. The custom event. */
|
|
271
|
+
onResizeEnd?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
272
|
+
/**
|
|
273
|
+
* Adds a new color sheme. If a scheme with the same name already exists, the method will update its colors.
|
|
274
|
+
* @param {string} schemeName. The name of the custom color scheme.
|
|
275
|
+
* @param {any[]} colorsArray. An array of color values.
|
|
276
|
+
*/
|
|
277
|
+
addColorScheme(schemeName: string, colorsArray: any[]): void;
|
|
278
|
+
/**
|
|
279
|
+
* Begins an update of the chart. The chart will not be rendered until the endUpdate method is called.
|
|
280
|
+
*/
|
|
281
|
+
beginUpdate(): void;
|
|
282
|
+
/**
|
|
283
|
+
* Ends an update of the chart. The chart will be rendered after the endUpdate method is called.
|
|
284
|
+
* @param {boolean} refresh?. If set to true, the chart will complete a full refresh.
|
|
285
|
+
*/
|
|
286
|
+
endUpdate(refresh?: boolean): void;
|
|
287
|
+
/**
|
|
288
|
+
* Returns the colors of a color scheme by name. If the scheme doesn't exist the method returns undefined.
|
|
289
|
+
* @param {string} schemeName. The name of the color scheme.
|
|
290
|
+
* @returns {any[]}
|
|
291
|
+
*/
|
|
292
|
+
getColorScheme(schemeName: string): any[];
|
|
293
|
+
/**
|
|
294
|
+
* Gets the item with the specified indexes.
|
|
295
|
+
* @param {number | null} groupIndex?. Series group index.
|
|
296
|
+
* @param {number | null} serieIndex?. Series index.
|
|
297
|
+
* @param {number | null} itemIndex?. Item (data point) index.
|
|
298
|
+
* @returns {any}
|
|
299
|
+
*/
|
|
300
|
+
getItemByIndexes(groupIndex?: number | null, serieIndex?: number | null, itemIndex?: number | null): any;
|
|
301
|
+
/**
|
|
302
|
+
* Gets an arrat of the items with the specified indexes. Leaving an index null will return all items that match the other indexes.
|
|
303
|
+
* @param {number | null} groupIndex?. Series group index.
|
|
304
|
+
* @param {number | null} serieIndex?. Series index.
|
|
305
|
+
* @param {number | null} itemIndex?. Item (data point) index.
|
|
306
|
+
* @returns {any}
|
|
307
|
+
*/
|
|
308
|
+
getItemsByIndexes(groupIndex?: number | null, serieIndex?: number | null, itemIndex?: number | null): any;
|
|
309
|
+
/**
|
|
310
|
+
* Gets the indexes of the hidden series.
|
|
311
|
+
* @returns {{ groupIndex: number, serieIndex: number, itemIndex: number }[]}
|
|
312
|
+
*/
|
|
313
|
+
getHidden(): { groupIndex: number, serieIndex: number, itemIndex: number }[];
|
|
314
|
+
/**
|
|
315
|
+
* Gets the selected items.
|
|
316
|
+
* @returns {any[]}
|
|
317
|
+
*/
|
|
318
|
+
getSelection(): any[];
|
|
319
|
+
/**
|
|
320
|
+
* Gets the rendered values of the valueAxis labels.
|
|
321
|
+
* @returns {any}
|
|
322
|
+
*/
|
|
323
|
+
getValueAxisLabels(): any;
|
|
324
|
+
/**
|
|
325
|
+
* Gets the rendered values of the xAxis labels.
|
|
326
|
+
* @returns {any}
|
|
327
|
+
*/
|
|
328
|
+
getXAxisLabels(): any;
|
|
329
|
+
/**
|
|
330
|
+
* Gets the rendered values of the zAxis labels.
|
|
331
|
+
* @returns {any}
|
|
332
|
+
*/
|
|
333
|
+
getZAxisLabels(): any;
|
|
334
|
+
/**
|
|
335
|
+
* Hides all items of a chart group.
|
|
336
|
+
* @param {number} groupIndex. Series group index.
|
|
337
|
+
*/
|
|
338
|
+
hideGroup(groupIndex: number): void;
|
|
339
|
+
/**
|
|
340
|
+
* Hides a chart item.
|
|
341
|
+
* @param {number} groupIndex. Series group index.
|
|
342
|
+
* @param {number} serieIndex. Series index.
|
|
343
|
+
* @param {number} itemIndex?. Item (data point) index.
|
|
344
|
+
*/
|
|
345
|
+
hideItem(groupIndex: number, serieIndex: number, itemIndex?: number): void;
|
|
346
|
+
/**
|
|
347
|
+
* Hides all items of a chart serie.
|
|
348
|
+
* @param {number} groupIndex. Series group index.
|
|
349
|
+
* @param {number} serieIndex. Series index.
|
|
350
|
+
*/
|
|
351
|
+
hideSerie(groupIndex: number, serieIndex: number): void;
|
|
352
|
+
/**
|
|
353
|
+
* Refreshes the content of the chart element after a property or data update.
|
|
354
|
+
*/
|
|
355
|
+
refresh(): void;
|
|
356
|
+
/**
|
|
357
|
+
* Removes an existing color scheme. If the scheme does not exist, the method has no effect.
|
|
358
|
+
* @param {string} schemeName. The name of the custom color scheme.
|
|
359
|
+
*/
|
|
360
|
+
removeColorScheme(schemeName: string): void;
|
|
361
|
+
/**
|
|
362
|
+
* Exports the chart's content as JPEG image.
|
|
363
|
+
* @param {string} fileName?. File name.
|
|
364
|
+
* @param {boolean} includeLegend?. Sets whether the legend will be part of the saved file.
|
|
365
|
+
* @param {boolean} includeCaption?. Sets whether the caption will be part of the saved file.
|
|
366
|
+
*/
|
|
367
|
+
saveAsJPEG(fileName?: string, includeLegend?: boolean, includeCaption?: boolean): void;
|
|
368
|
+
/**
|
|
369
|
+
* Exports the chart's content as PNG image.
|
|
370
|
+
* @param {string} fileName?. File name.
|
|
371
|
+
* @param {boolean} includeLegend?. Sets whether the legend will be part of the saved file.
|
|
372
|
+
* @param {boolean} includeCaption?. Sets whether the caption will be part of the saved file.
|
|
373
|
+
*/
|
|
374
|
+
saveAsPNG(fileName?: string, includeLegend?: boolean, includeCaption?: boolean): void;
|
|
375
|
+
/**
|
|
376
|
+
* Exports the chart's content as PDF file.
|
|
377
|
+
* @param {string} fileName?. File name.
|
|
378
|
+
* @param {boolean} includeLegend?. Sets whether the legend will be part of the saved file.
|
|
379
|
+
* @param {boolean} includeCaption?. Sets whether the caption will be part of the saved file.
|
|
380
|
+
*/
|
|
381
|
+
saveAsPDF(fileName?: string, includeLegend?: boolean, includeCaption?: boolean): void;
|
|
382
|
+
/**
|
|
383
|
+
* Selects a chart item. If selectionMode is 'one', the previous item will be unselected.
|
|
384
|
+
* @param {number} groupIndex. Series group index.
|
|
385
|
+
* @param {number} serieIndex. Series index.
|
|
386
|
+
* @param {number} itemIndex?. Item (data point) index.
|
|
387
|
+
*/
|
|
388
|
+
selectItem(groupIndex: number, serieIndex: number, itemIndex?: number): void;
|
|
389
|
+
/**
|
|
390
|
+
* Shows all items of a chart group.
|
|
391
|
+
* @param {number} groupIndex. Series group index.
|
|
392
|
+
*/
|
|
393
|
+
showGroup(groupIndex: number): void;
|
|
394
|
+
/**
|
|
395
|
+
* Shows a chart item.
|
|
396
|
+
* @param {number} groupIndex. Series group index.
|
|
397
|
+
* @param {number} serieIndex. Series index.
|
|
398
|
+
* @param {number} itemIndex?. Item (data point) index.
|
|
399
|
+
*/
|
|
400
|
+
showItem(groupIndex: number, serieIndex: number, itemIndex?: number): void;
|
|
401
|
+
/**
|
|
402
|
+
* Shows all items of a chart serie.
|
|
403
|
+
* @param {number} groupIndex. Series group index.
|
|
404
|
+
* @param {number} serieIndex. Series index.
|
|
405
|
+
*/
|
|
406
|
+
showSerie(groupIndex: number, serieIndex: number): void;
|
|
407
|
+
/**
|
|
408
|
+
* Sets the camera position to its position during the initialization.
|
|
409
|
+
*/
|
|
410
|
+
setDefaultPosition(): void;
|
|
411
|
+
/**
|
|
412
|
+
* Sets the camera mode. Different camera modes change the control actions of the mouse. Available modes are 'zoom', 'pan' and 'default'.
|
|
413
|
+
* @param {string} mode. Camera mode.
|
|
414
|
+
*/
|
|
415
|
+
setCameraMode(mode: string): void;
|
|
416
|
+
/**
|
|
417
|
+
* Sets the camera position.
|
|
418
|
+
* @param {number} x. X coordinate.
|
|
419
|
+
* @param {number} y. Y coordinate.
|
|
420
|
+
* @param {number} z. Z coordinate.
|
|
421
|
+
* @param {boolean} animation?. Animation Enabled
|
|
422
|
+
*/
|
|
423
|
+
setCameraPosition(x: number, y: number, z: number, animation?: boolean): void;
|
|
424
|
+
/**
|
|
425
|
+
* Sets the camera zoom.
|
|
426
|
+
* @param {number} level. Zoom level.
|
|
427
|
+
* @param {boolean} animation?. Animation Enabled
|
|
428
|
+
*/
|
|
429
|
+
setCameraZoom(level: number, animation?: boolean): void;
|
|
430
|
+
/**
|
|
431
|
+
* Unelects a chart item.
|
|
432
|
+
* @param {number} groupIndex. Series group index.
|
|
433
|
+
* @param {number} serieIndex. Series index.
|
|
434
|
+
* @param {number} itemIndex?. Item (data point) index.
|
|
435
|
+
*/
|
|
436
|
+
unselectItem(groupIndex: number, serieIndex: number, itemIndex?: number): void;
|
|
437
|
+
/**
|
|
438
|
+
* Updates the values of the chart series without full refresh of the entire chart. The method should be used for animation of frequently changing values.
|
|
439
|
+
*/
|
|
440
|
+
update(): void;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**Sets the camera's position. The property must be set to an {x, y, z} object. */
|
|
444
|
+
export interface ThreeDChartCameraPosition {
|
|
445
|
+
/**
|
|
446
|
+
* Sets the camera's x position. This is the left-right axis
|
|
447
|
+
* Default value: 5
|
|
448
|
+
*/
|
|
449
|
+
x?: number;
|
|
450
|
+
/**
|
|
451
|
+
* Sets the camera's y position. This is the up-down axis
|
|
452
|
+
* Default value: 20
|
|
453
|
+
*/
|
|
454
|
+
y?: number;
|
|
455
|
+
/**
|
|
456
|
+
* Sets the camera's z position. This is the forward-backward axis
|
|
457
|
+
* Default value: 55
|
|
458
|
+
*/
|
|
459
|
+
z?: number;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export interface ThreeDChartSeriesGroup {
|
|
463
|
+
/**
|
|
464
|
+
* Optional color bands dislayed in the chart's plot area.
|
|
465
|
+
* Default value: null
|
|
466
|
+
*/
|
|
467
|
+
bands?: ThreeDChartBand[];
|
|
468
|
+
/**
|
|
469
|
+
* Determines the data source of the serie
|
|
470
|
+
* Default value: null
|
|
471
|
+
*/
|
|
472
|
+
dataSource?: any;
|
|
473
|
+
/**
|
|
474
|
+
* Sets the Z-axis width of the series group. Can be set as number or percetage of the slot's width.
|
|
475
|
+
* Default value: 2
|
|
476
|
+
*/
|
|
477
|
+
depth?: number | string;
|
|
478
|
+
/**
|
|
479
|
+
* Callback function used to format series labels.
|
|
480
|
+
* Default value: null
|
|
481
|
+
*/
|
|
482
|
+
formatFunction?: {(value?: any, index?: number, series?: any): string};
|
|
483
|
+
/**
|
|
484
|
+
* Object describing the format settings of series labels.
|
|
485
|
+
* Default value: [object Object]
|
|
486
|
+
*/
|
|
487
|
+
formatSettings?: ThreeDChartFormatSettings;
|
|
488
|
+
/**
|
|
489
|
+
* Sets the opacity of the series group.
|
|
490
|
+
* Default value: 1
|
|
491
|
+
*/
|
|
492
|
+
opacity?: number;
|
|
493
|
+
/**
|
|
494
|
+
* An array of chart series.
|
|
495
|
+
* Default value:
|
|
496
|
+
*/
|
|
497
|
+
series?: ThreeDChartSeriesGroupSerie[];
|
|
498
|
+
/**
|
|
499
|
+
* When showLabels is set to true, the chart will render pie labels.
|
|
500
|
+
* Default value: true
|
|
501
|
+
*/
|
|
502
|
+
showLabels?: boolean;
|
|
503
|
+
/**
|
|
504
|
+
* The start angle (in degrees) of the polar coordinate system. Applicable to polar and spider charts only.
|
|
505
|
+
* Default value: 0
|
|
506
|
+
*/
|
|
507
|
+
startAngle?: number;
|
|
508
|
+
/**
|
|
509
|
+
* Sets the chart type. jqxChart supports several common chart types. You can easily plot series of different types on a common chart. A type must be specified for each series group. Currently, jqxChart supports the following series types:'column' - simple column series'stackedcolumn' - stacked column series'stackedcolumn100' - percentage stacked columns'rangecolumn' - floating column between two values'waterfall' - waterfall series'stackedwaterfall' - stacked waterfall series'line' - simple straight lines connecting the value points'stackedline' - stacked lines'stackedline100' - percentage stacked lines'spline' - smooth lines connecting the value points'stackedspline' - smooth stacked lines'stackedspline100' - percentage stacked smooth lines'stepline' - step line'stackedstepline' - stacked step line'stackedstepline100' - percentage stacked step line'area' - area connecting the value points with straight lines'stackedarea' - stacked area with straight lines between the points'stackedarea100' - percentage stacked area with straight lines between the points'rangearea' - floating area between pairs of value points'splinearea' - smooth area connecting the value points'stackedsplinearea' - stacked smooth area connecting the value points'stackedsplinearea100' - percentage stacked smooth area'splinerangearea' - smooth floating area between pairs of value points'steprangearea' - step area between pairs of value points'stackedsplineara' - smooth stacked area'steparea' - step area connecting the value points'stackedsteparea' - step stacked area'stackedsteparea100' - percentage stacked step area'pie' - circular chart divided into sectors, illustrating proportion'donut' - chart divided into circular sectors with different inner and outer radius'scatter' - data is displayed as a collection of points'stackedscatter' - data is displayed as a collection of points and the values are stacked'stackedscatter100' - data is displayed as a collection of points and the values are percentage stacked'bubble' - data is displayed as a collection of bubbles'stackedbubble' - data is displayed as a collection of bubbles and the values are stacked'stackedbubble100' - data is displayed as a collection of bubbles and the values are percentage stacked'candlestick' - display candlestick series using open, high, low, close data points'ohlc' - display OHLC series using open, high, low, close data points
|
|
510
|
+
* Default value: column
|
|
511
|
+
*/
|
|
512
|
+
type?: ThreeDChartType | string;
|
|
513
|
+
/**
|
|
514
|
+
* Sets the Y-axis width of the series group. Used to set the thickness of the line series
|
|
515
|
+
* Default value: 2
|
|
516
|
+
*/
|
|
517
|
+
verticalWidth?: number;
|
|
518
|
+
/**
|
|
519
|
+
* Sets the X-axis width of the series group. Can be set as number or percetage of the slot's width.
|
|
520
|
+
* Default value: 2
|
|
521
|
+
*/
|
|
522
|
+
width?: number | string;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export interface ThreeDChartBand {
|
|
526
|
+
/**
|
|
527
|
+
* Color used to fill the area between the minValue and the maxValue.
|
|
528
|
+
* Default value: null
|
|
529
|
+
*/
|
|
530
|
+
color?: string | null;
|
|
531
|
+
/**
|
|
532
|
+
* Band line color.
|
|
533
|
+
* Default value: null
|
|
534
|
+
*/
|
|
535
|
+
lineColor?: string | null;
|
|
536
|
+
/**
|
|
537
|
+
* Band line width.
|
|
538
|
+
* Default value: null
|
|
539
|
+
*/
|
|
540
|
+
lineWidth?: string | number | null;
|
|
541
|
+
/**
|
|
542
|
+
* End value of the color band.
|
|
543
|
+
* Default value: NaN
|
|
544
|
+
*/
|
|
545
|
+
maxValue?: any;
|
|
546
|
+
/**
|
|
547
|
+
* Start value of the color band.
|
|
548
|
+
* Default value: NaN
|
|
549
|
+
*/
|
|
550
|
+
minValue?: any;
|
|
551
|
+
/**
|
|
552
|
+
* Fraction indicating the fill opacity.
|
|
553
|
+
* Default value: 1
|
|
554
|
+
*/
|
|
555
|
+
opacity?: number;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/**Object describing the format settings of series labels. */
|
|
559
|
+
export interface ThreeDChartFormatSettings {
|
|
560
|
+
/**
|
|
561
|
+
* Optional date format string. This property is applicable only when displaying Date objects.
|
|
562
|
+
* Default value: null
|
|
563
|
+
*/
|
|
564
|
+
dateFormat?: string | null;
|
|
565
|
+
/**
|
|
566
|
+
* Decimal places of numeric values.
|
|
567
|
+
* Default value: null
|
|
568
|
+
*/
|
|
569
|
+
decimalPlaces?: number | null;
|
|
570
|
+
/**
|
|
571
|
+
* A symbol used to mark the border between the integer and fractional parts of a number. The default value is inherited from localization.decimalSeparator.
|
|
572
|
+
* Default value: null
|
|
573
|
+
*/
|
|
574
|
+
decimalSeparator?: string | null;
|
|
575
|
+
/**
|
|
576
|
+
* A boolean value indicating whether to display negative numbers in brackets.
|
|
577
|
+
* Default value: false
|
|
578
|
+
*/
|
|
579
|
+
negativeWithBrackets?: boolean;
|
|
580
|
+
/**
|
|
581
|
+
* Text to prepend to the value.
|
|
582
|
+
* Default value: ""
|
|
583
|
+
*/
|
|
584
|
+
prefix?: string;
|
|
585
|
+
/**
|
|
586
|
+
* Text to append to the value
|
|
587
|
+
* Default value: ""
|
|
588
|
+
*/
|
|
589
|
+
sufix?: string;
|
|
590
|
+
/**
|
|
591
|
+
* A symbol used to mark the border between thousands, millions, billions, etc. The default value is inherited from localization.thousandsSeparator.
|
|
592
|
+
* Default value: null
|
|
593
|
+
*/
|
|
594
|
+
thousandsSeparator?: string | null;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export interface ThreeDChartSeriesGroupSerie {
|
|
598
|
+
/**
|
|
599
|
+
* A custom function that returns the color of a data point. The function will receive the following parameters: dataValue, itemIndex, serie, group. The implementation of the function can return a single color which will be used as a fillColor and the other colors will be derived or it can return an object containing fillColor, fillColorSelected, etc.
|
|
600
|
+
* Default value: null
|
|
601
|
+
*/
|
|
602
|
+
colorFunction?: any;
|
|
603
|
+
/**
|
|
604
|
+
* Name of the field in the data source.
|
|
605
|
+
* Default value: "null"
|
|
606
|
+
*/
|
|
607
|
+
dataField?: string;
|
|
608
|
+
/**
|
|
609
|
+
* Data field used in candlestcik and ohlc series.
|
|
610
|
+
* Default value: "null"
|
|
611
|
+
*/
|
|
612
|
+
dataFieldClose?: string;
|
|
613
|
+
/**
|
|
614
|
+
* Data field used in candlestcik and ohlc series.
|
|
615
|
+
* Default value: "null"
|
|
616
|
+
*/
|
|
617
|
+
dataFieldHigh?: string;
|
|
618
|
+
/**
|
|
619
|
+
* Data field used in candlestcik and ohlc series.
|
|
620
|
+
* Default value: "null"
|
|
621
|
+
*/
|
|
622
|
+
dataFieldLow?: string;
|
|
623
|
+
/**
|
|
624
|
+
* Data field used in candlestcik and ohlc series.
|
|
625
|
+
* Default value: "null"
|
|
626
|
+
*/
|
|
627
|
+
dataFieldOpen?: string;
|
|
628
|
+
/**
|
|
629
|
+
* Data field used in in range column series as a start data field.
|
|
630
|
+
* Default value: "null"
|
|
631
|
+
*/
|
|
632
|
+
dataFieldFrom?: string;
|
|
633
|
+
/**
|
|
634
|
+
* Data field used in range column series as an end data field.
|
|
635
|
+
* Default value: "null"
|
|
636
|
+
*/
|
|
637
|
+
dataFieldTo?: string;
|
|
638
|
+
/**
|
|
639
|
+
* Data field used in bubble series.
|
|
640
|
+
* Default value: "null"
|
|
641
|
+
*/
|
|
642
|
+
radiusDataField?: string;
|
|
643
|
+
/**
|
|
644
|
+
* Name to display for this serie.
|
|
645
|
+
* Default value: "null"
|
|
646
|
+
*/
|
|
647
|
+
displayText?: string;
|
|
648
|
+
/**
|
|
649
|
+
* Name to display for candlestick and ohlc series.
|
|
650
|
+
* Default value: "null"
|
|
651
|
+
*/
|
|
652
|
+
displayTextClose?: string;
|
|
653
|
+
/**
|
|
654
|
+
* Name to display for candlestick and ohlc series.
|
|
655
|
+
* Default value: "null"
|
|
656
|
+
*/
|
|
657
|
+
displayTextHigh?: string;
|
|
658
|
+
/**
|
|
659
|
+
* Name to display for candlestick and ohlc series.
|
|
660
|
+
* Default value: "null"
|
|
661
|
+
*/
|
|
662
|
+
displayTextLow?: string;
|
|
663
|
+
/**
|
|
664
|
+
* Name to display for candlestick and ohlc series.
|
|
665
|
+
* Default value: "null"
|
|
666
|
+
*/
|
|
667
|
+
displayTextOpen?: string;
|
|
668
|
+
/**
|
|
669
|
+
* Callback function used to format the labels.
|
|
670
|
+
* Default value: null
|
|
671
|
+
*/
|
|
672
|
+
formatFunction?: {(value?: any, index?: number, series?: any): string};
|
|
673
|
+
/**
|
|
674
|
+
* Object describing the format settings of the labels.
|
|
675
|
+
* Default value: [object Object]
|
|
676
|
+
*/
|
|
677
|
+
formatSettings?: ThreeDChartFormatSettings;
|
|
678
|
+
/**
|
|
679
|
+
* Specifies the summary of the series group.
|
|
680
|
+
* Default value: ""
|
|
681
|
+
*/
|
|
682
|
+
summary?: string;
|
|
683
|
+
/**
|
|
684
|
+
* Maximum angle in a pie, donut, polar and spider series.
|
|
685
|
+
* Default value: 360
|
|
686
|
+
*/
|
|
687
|
+
endAngle?: number;
|
|
688
|
+
/**
|
|
689
|
+
* Initial angle in pie and donut series.
|
|
690
|
+
* Default value: 0
|
|
691
|
+
*/
|
|
692
|
+
initialAngle?: number;
|
|
693
|
+
/**
|
|
694
|
+
* Inner radius of donut series in pixels or percents.
|
|
695
|
+
* Default value: 0
|
|
696
|
+
*/
|
|
697
|
+
innerRadius?: number;
|
|
698
|
+
/**
|
|
699
|
+
* Object describing the labels properties of the axis.
|
|
700
|
+
* Default value: undefined
|
|
701
|
+
*/
|
|
702
|
+
labels?: ThreeDChartLabels;
|
|
703
|
+
/**
|
|
704
|
+
* Fill color of the legend box. The default value is inherited from the serie's color.
|
|
705
|
+
* Default value: null
|
|
706
|
+
*/
|
|
707
|
+
legendFillColor?: string | null;
|
|
708
|
+
/**
|
|
709
|
+
* Legend data formatting function for the values in the serie.
|
|
710
|
+
* Default value: null
|
|
711
|
+
*/
|
|
712
|
+
legendFormatFunction?: any;
|
|
713
|
+
/**
|
|
714
|
+
* Legend data formatting settings for the values in the serie.
|
|
715
|
+
* Default value: [object Object]
|
|
716
|
+
*/
|
|
717
|
+
legendFormatSettings?: ThreeDChartFormatSettings;
|
|
718
|
+
/**
|
|
719
|
+
* Line color of the legend box. The default value is inherited from the serie's color.
|
|
720
|
+
* Default value: null
|
|
721
|
+
*/
|
|
722
|
+
legendLineColor?: string | null;
|
|
723
|
+
/**
|
|
724
|
+
* Line color for the serie.
|
|
725
|
+
* Default value: null
|
|
726
|
+
*/
|
|
727
|
+
lineColor?: string | null;
|
|
728
|
+
/**
|
|
729
|
+
* Line color for the serie when selected.
|
|
730
|
+
* Default value: null
|
|
731
|
+
*/
|
|
732
|
+
lineColorSelected?: string | null;
|
|
733
|
+
/**
|
|
734
|
+
* Line color for the marker symbols in serie.
|
|
735
|
+
* Default value: null
|
|
736
|
+
*/
|
|
737
|
+
lineColorSymbol?: string | null;
|
|
738
|
+
/**
|
|
739
|
+
* Determines the line tickness of the items in this serie.
|
|
740
|
+
* Default value: null
|
|
741
|
+
*/
|
|
742
|
+
lineWidth?: string | null | number;
|
|
743
|
+
/**
|
|
744
|
+
* Determines the line tickness of the items in this serie when selected.
|
|
745
|
+
* Default value: null
|
|
746
|
+
*/
|
|
747
|
+
lineWidthSelected?: string | null | number;
|
|
748
|
+
/**
|
|
749
|
+
* Min radius of bubble series in pixels or percents.
|
|
750
|
+
* Default value: null
|
|
751
|
+
*/
|
|
752
|
+
minRadius?: string | null | number;
|
|
753
|
+
/**
|
|
754
|
+
* Max radius of bubble series in pixels or percents.
|
|
755
|
+
* Default value: null
|
|
756
|
+
*/
|
|
757
|
+
maxRadius?: string | null | number;
|
|
758
|
+
/**
|
|
759
|
+
* Determines the opacity of the items in this serie.
|
|
760
|
+
* Default value: 1
|
|
761
|
+
*/
|
|
762
|
+
opacity?: number;
|
|
763
|
+
/**
|
|
764
|
+
* Outer radius of pie and donut series in pixels or percents.
|
|
765
|
+
* Default value: null
|
|
766
|
+
*/
|
|
767
|
+
radius?: number | null;
|
|
768
|
+
/**
|
|
769
|
+
* Radius change on selection of pie and donut series in pixels or percents.
|
|
770
|
+
* Default value: null
|
|
771
|
+
*/
|
|
772
|
+
selectedRadiusChange?: number | null;
|
|
773
|
+
/**
|
|
774
|
+
* Minimum angle in a pie, donut, polar and spider series.
|
|
775
|
+
* Default value: 0
|
|
776
|
+
*/
|
|
777
|
+
startAngle?: number;
|
|
778
|
+
/**
|
|
779
|
+
* Determines the size of the symbol element.
|
|
780
|
+
* Default value: null
|
|
781
|
+
*/
|
|
782
|
+
symbolSize?: number;
|
|
783
|
+
/**
|
|
784
|
+
* Determines the size of the symbol element. This property is applicable to line and area series only.
|
|
785
|
+
* Default value: null
|
|
786
|
+
*/
|
|
787
|
+
symbolSizeSelected?: number;
|
|
788
|
+
/**
|
|
789
|
+
* Determines the symbol type displayed for the data points in the serie. This parameter is applicable to line, area, scatter and bubble series only.
|
|
790
|
+
* Default value: none
|
|
791
|
+
*/
|
|
792
|
+
symbolType?: ThreeDChartSymbolType | string;
|
|
793
|
+
/**
|
|
794
|
+
* Determines the tooltip's background.
|
|
795
|
+
* Default value: null
|
|
796
|
+
*/
|
|
797
|
+
toolTipBackground?: string | null;
|
|
798
|
+
/**
|
|
799
|
+
* Determines the tooltip's CSS class name.
|
|
800
|
+
* Default value: null
|
|
801
|
+
*/
|
|
802
|
+
toolTipClass?: string | null;
|
|
803
|
+
/**
|
|
804
|
+
* Tooltip data formatting function for the values in the serie.
|
|
805
|
+
* Default value: null
|
|
806
|
+
*/
|
|
807
|
+
toolTipFormatFunction?: {(value?: any, index?: number, series?: any): string};
|
|
808
|
+
/**
|
|
809
|
+
* Tooltip data formatting settings for the values in the serie.
|
|
810
|
+
* Default value: [object Object]
|
|
811
|
+
*/
|
|
812
|
+
toolTipFormatSettings?: ThreeDChartFormatSettings;
|
|
813
|
+
/**
|
|
814
|
+
* Determines the tooltip's border lines color.
|
|
815
|
+
* Default value: null
|
|
816
|
+
*/
|
|
817
|
+
toolTipLineColor?: string | null;
|
|
818
|
+
/**
|
|
819
|
+
* Determines whether to use color gradients.
|
|
820
|
+
* Default value: false
|
|
821
|
+
*/
|
|
822
|
+
useGradientColors?: boolean;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
/**Object describing the labels properties of the axis. */
|
|
826
|
+
export interface ThreeDChartLabels {
|
|
827
|
+
/**
|
|
828
|
+
* Text rotation angle.
|
|
829
|
+
* Default value: 0
|
|
830
|
+
*/
|
|
831
|
+
angle?: number;
|
|
832
|
+
/**
|
|
833
|
+
* Callback function used to format the labels.
|
|
834
|
+
* Default value: null
|
|
835
|
+
*/
|
|
836
|
+
formatFunction?: {(value?: any, index?: number, series?: any): string};
|
|
837
|
+
/**
|
|
838
|
+
* Object describing the format settings of the labels.
|
|
839
|
+
* Default value: [object Object]
|
|
840
|
+
*/
|
|
841
|
+
formatSettings?: ThreeDChartFormatSettings;
|
|
842
|
+
/**
|
|
843
|
+
* Labels offset.
|
|
844
|
+
* Default value: [object Object]
|
|
845
|
+
*/
|
|
846
|
+
offset?: ThreeDChartOffset;
|
|
847
|
+
/**
|
|
848
|
+
* Radius of the labels in pie/donut series.
|
|
849
|
+
* Default value: null
|
|
850
|
+
*/
|
|
851
|
+
radius?: number | null;
|
|
852
|
+
/**
|
|
853
|
+
* Interval steps between label placements (multiples of the axis unit interval).
|
|
854
|
+
* Default value: null
|
|
855
|
+
*/
|
|
856
|
+
step?: number | null;
|
|
857
|
+
/**
|
|
858
|
+
* Sets the interval between the labels.
|
|
859
|
+
* Default value: null
|
|
860
|
+
*/
|
|
861
|
+
unitInterval?: number;
|
|
862
|
+
/**
|
|
863
|
+
* Possible values: true, false, 'custom'.Determines the visibility of labels. When 'custom' is set, displays only custom values/offsets from the labels.custom array.
|
|
864
|
+
* Default value: true
|
|
865
|
+
*/
|
|
866
|
+
visible?: boolean | string;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
/**Labels offset. */
|
|
870
|
+
export interface ThreeDChartOffset {
|
|
871
|
+
/**
|
|
872
|
+
* Horizontal offset.
|
|
873
|
+
* Default value: 0
|
|
874
|
+
*/
|
|
875
|
+
x?: number | null;
|
|
876
|
+
/**
|
|
877
|
+
* Vertical offset.
|
|
878
|
+
* Default value: 0
|
|
879
|
+
*/
|
|
880
|
+
y?: number | null;
|
|
881
|
+
/**
|
|
882
|
+
* Horizontal offset on Z-axis.
|
|
883
|
+
* Default value: 0
|
|
884
|
+
*/
|
|
885
|
+
z?: number | null;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
/**Sets the padding of the chart's title (caption). */
|
|
889
|
+
export interface ThreeDChartPadding {
|
|
890
|
+
/**
|
|
891
|
+
* Bottom padding.
|
|
892
|
+
* Default value: 10
|
|
893
|
+
*/
|
|
894
|
+
bottom?: number;
|
|
895
|
+
/**
|
|
896
|
+
* Left padding.
|
|
897
|
+
* Default value: 5
|
|
898
|
+
*/
|
|
899
|
+
left?: number;
|
|
900
|
+
/**
|
|
901
|
+
* Right padding.
|
|
902
|
+
* Default value: 5
|
|
903
|
+
*/
|
|
904
|
+
right?: number;
|
|
905
|
+
/**
|
|
906
|
+
* Top padding.
|
|
907
|
+
* Default value: 5
|
|
908
|
+
*/
|
|
909
|
+
top?: number;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
/**An object with settings about the Chart's y-axis (value axis). */
|
|
913
|
+
export interface ThreeDChartValueAxis {
|
|
914
|
+
/**
|
|
915
|
+
* Sets the baseline value for the axis.
|
|
916
|
+
* Default value: 0
|
|
917
|
+
*/
|
|
918
|
+
baselineValue?: any;
|
|
919
|
+
/**
|
|
920
|
+
* Sets the text displayed on the axis.
|
|
921
|
+
* Default value: null
|
|
922
|
+
*/
|
|
923
|
+
displayText?: string | null;
|
|
924
|
+
/**
|
|
925
|
+
* Custom function to format the displayed values along the axis.
|
|
926
|
+
* Default value: null
|
|
927
|
+
*/
|
|
928
|
+
formatFunction?: {(value?: any): string};
|
|
929
|
+
/**
|
|
930
|
+
* Settings used to format the displayed values along the axis.
|
|
931
|
+
* Default value: [object Object]
|
|
932
|
+
*/
|
|
933
|
+
formatSettings?: ThreeDChartFormatSettings;
|
|
934
|
+
/**
|
|
935
|
+
* Object describing the grid lines properties of the valueAxis.
|
|
936
|
+
* Default value: [object Object]
|
|
937
|
+
*/
|
|
938
|
+
gridLines?: ThreeDChartLines;
|
|
939
|
+
/**
|
|
940
|
+
* Object describing the labels properties of the axis.
|
|
941
|
+
* Default value: [object Object]
|
|
942
|
+
*/
|
|
943
|
+
labels?: ThreeDChartLabels;
|
|
944
|
+
/**
|
|
945
|
+
* Determines whether to use logarithmic scale.
|
|
946
|
+
* Default value: false
|
|
947
|
+
*/
|
|
948
|
+
logarithmicScale?: boolean;
|
|
949
|
+
/**
|
|
950
|
+
* Base for logarithmic scale.
|
|
951
|
+
* Default value: 10
|
|
952
|
+
*/
|
|
953
|
+
logarithmicScaleBase?: number;
|
|
954
|
+
/**
|
|
955
|
+
* Sets the maximum value of the valueAxis.
|
|
956
|
+
* Default value: NaN
|
|
957
|
+
*/
|
|
958
|
+
maxValue?: any;
|
|
959
|
+
/**
|
|
960
|
+
* Sets the minimum value of the valueAxis.
|
|
961
|
+
* Default value: NaN
|
|
962
|
+
*/
|
|
963
|
+
minValue?: any;
|
|
964
|
+
/**
|
|
965
|
+
* Sets the interval between the units.
|
|
966
|
+
* Default value: null
|
|
967
|
+
*/
|
|
968
|
+
unitInterval?: number | null;
|
|
969
|
+
/**
|
|
970
|
+
* Shows or hides the valueAxis.
|
|
971
|
+
* Default value: true
|
|
972
|
+
*/
|
|
973
|
+
visible?: boolean;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
/**Object describing the grid lines properties of the valueAxis. */
|
|
977
|
+
export interface ThreeDChartLines {
|
|
978
|
+
/**
|
|
979
|
+
* Color of the grid lines.
|
|
980
|
+
* Default value: ""
|
|
981
|
+
*/
|
|
982
|
+
color?: string;
|
|
983
|
+
/**
|
|
984
|
+
* Interval steps between grid line placements (multiples of the axis unit interval).
|
|
985
|
+
* Default value: null
|
|
986
|
+
*/
|
|
987
|
+
step?: number | null;
|
|
988
|
+
/**
|
|
989
|
+
* Possible values: true, false, 'custom'.Determines the visibility of grid lines. When 'custom' is set, displays only custom values/offsets from the gridLines.custom array.
|
|
990
|
+
* Default value: true
|
|
991
|
+
*/
|
|
992
|
+
visible?: boolean | string;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
/**Sets the Chart's xAxis. */
|
|
996
|
+
export interface ThreeDChartXAxis {
|
|
997
|
+
/**
|
|
998
|
+
* Points to a data field in the data source.
|
|
999
|
+
* Default value: ""
|
|
1000
|
+
*/
|
|
1001
|
+
dataField?: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* Optional custom xAxis display text.
|
|
1004
|
+
* Default value: null
|
|
1005
|
+
*/
|
|
1006
|
+
displayText?: string | null;
|
|
1007
|
+
/**
|
|
1008
|
+
* Specifies whether the values are displayed in reverse order.
|
|
1009
|
+
* Default value: false
|
|
1010
|
+
*/
|
|
1011
|
+
flip?: boolean;
|
|
1012
|
+
/**
|
|
1013
|
+
* Custom function to format the displayed values along the axis.
|
|
1014
|
+
* Default value: null
|
|
1015
|
+
*/
|
|
1016
|
+
formatFunction?: {(value?: any, index?: number, series?: any): string};
|
|
1017
|
+
/**
|
|
1018
|
+
* Settings used to format the displayed values along the axis.
|
|
1019
|
+
* Default value: [object Object]
|
|
1020
|
+
*/
|
|
1021
|
+
formatSettings?: ThreeDChartFormatSettings;
|
|
1022
|
+
/**
|
|
1023
|
+
* Object describing the grid lines properties of the xAxis.
|
|
1024
|
+
* Default value: [object Object]
|
|
1025
|
+
*/
|
|
1026
|
+
gridLines?: ThreeDChartLines;
|
|
1027
|
+
/**
|
|
1028
|
+
* Object describing the labels properties of the axis.
|
|
1029
|
+
* Default value: [object Object]
|
|
1030
|
+
*/
|
|
1031
|
+
labels?: ThreeDChartLabels;
|
|
1032
|
+
/**
|
|
1033
|
+
* Determines whether to use logarithmic scale.
|
|
1034
|
+
* Default value: false
|
|
1035
|
+
*/
|
|
1036
|
+
logarithmicScale?: boolean;
|
|
1037
|
+
/**
|
|
1038
|
+
* Base for logarithmic scale.
|
|
1039
|
+
* Default value: 10
|
|
1040
|
+
*/
|
|
1041
|
+
logarithmicScaleBase?: number;
|
|
1042
|
+
/**
|
|
1043
|
+
* Sets the maximum value of the xAxis.
|
|
1044
|
+
* Default value: NaN
|
|
1045
|
+
*/
|
|
1046
|
+
maxValue?: any;
|
|
1047
|
+
/**
|
|
1048
|
+
* Sets the minimum value of the xAxis.
|
|
1049
|
+
* Default value: NaN
|
|
1050
|
+
*/
|
|
1051
|
+
minValue?: any;
|
|
1052
|
+
/**
|
|
1053
|
+
* Definition of a range selector on the xAxis. The range selector itself is also an instance of smart-chart.
|
|
1054
|
+
* Default value: [object Object]
|
|
1055
|
+
*/
|
|
1056
|
+
rangeSelector?: ThreeDChartRangeSelector;
|
|
1057
|
+
/**
|
|
1058
|
+
* The type of the axis. 'auto' - automatically detects and switches to 'basic', 'linear' or 'date'.'date' - when displaying dates.'basic' - displays all data points sequentially.'linear' - linear arrangement by the value of the xAxis data field.
|
|
1059
|
+
* Default value: auto
|
|
1060
|
+
*/
|
|
1061
|
+
type?: ThreeDChartXAxisType | string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Sets the interval between the units.
|
|
1064
|
+
* Default value: null
|
|
1065
|
+
*/
|
|
1066
|
+
unitInterval?: number | null;
|
|
1067
|
+
/**
|
|
1068
|
+
* Shows or hides the xAxis.
|
|
1069
|
+
* Default value: true
|
|
1070
|
+
*/
|
|
1071
|
+
visible?: boolean;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
/**Definition of a range selector on the xAxis. The range selector itself is also an instance of ${namespace.toLowerCase()}-chart. */
|
|
1075
|
+
export interface ThreeDChartRangeSelector {
|
|
1076
|
+
/**
|
|
1077
|
+
* Sets the color of the range selector chart. If null, it will be set to the same color as the chart
|
|
1078
|
+
* Default value: null
|
|
1079
|
+
*/
|
|
1080
|
+
color?: string | null;
|
|
1081
|
+
/**
|
|
1082
|
+
* Callback function used to format the values.
|
|
1083
|
+
* Default value: null
|
|
1084
|
+
*/
|
|
1085
|
+
formatFunction?: {(value?: any, index?: number, series?: any): string};
|
|
1086
|
+
/**
|
|
1087
|
+
* Chart Format Settings
|
|
1088
|
+
* Default value: null
|
|
1089
|
+
*/
|
|
1090
|
+
formatSettings?: any;
|
|
1091
|
+
/**
|
|
1092
|
+
* Object describing the labels properties of the axis.
|
|
1093
|
+
* Default value: [object Object]
|
|
1094
|
+
*/
|
|
1095
|
+
labels?: ThreeDChartLabels;
|
|
1096
|
+
/**
|
|
1097
|
+
* Sets the opacity of the range selector chart.
|
|
1098
|
+
* Default value: 1
|
|
1099
|
+
*/
|
|
1100
|
+
opacity?: number;
|
|
1101
|
+
/**
|
|
1102
|
+
* Sets the range selector chart type
|
|
1103
|
+
* Default value: area
|
|
1104
|
+
*/
|
|
1105
|
+
serieType?: ThreeDChartRangeSelectorSerieType | string;
|
|
1106
|
+
/**
|
|
1107
|
+
* Shows or hides the range selector.
|
|
1108
|
+
* Default value: false
|
|
1109
|
+
*/
|
|
1110
|
+
visible?: boolean;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/**Sets the Chart's zAxis. */
|
|
1114
|
+
export interface ThreeDChartZAxis {
|
|
1115
|
+
/**
|
|
1116
|
+
* Points to a data field in the data source.
|
|
1117
|
+
* Default value: ""
|
|
1118
|
+
*/
|
|
1119
|
+
dataField?: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* Optional custom zAxis display text.
|
|
1122
|
+
* Default value: null
|
|
1123
|
+
*/
|
|
1124
|
+
displayText?: string | null;
|
|
1125
|
+
/**
|
|
1126
|
+
* Specifies whether the values are displayed in reverse order.
|
|
1127
|
+
* Default value: false
|
|
1128
|
+
*/
|
|
1129
|
+
flip?: boolean;
|
|
1130
|
+
/**
|
|
1131
|
+
* Custom function to format the displayed values along the axis.
|
|
1132
|
+
* Default value: null
|
|
1133
|
+
*/
|
|
1134
|
+
formatFunction?: {(value?: any, index?: number, series?: any): string};
|
|
1135
|
+
/**
|
|
1136
|
+
* Settings used to format the displayed values along the axis.
|
|
1137
|
+
* Default value: [object Object]
|
|
1138
|
+
*/
|
|
1139
|
+
formatSettings?: ThreeDChartFormatSettings;
|
|
1140
|
+
/**
|
|
1141
|
+
* Object describing the grid lines properties of the zAxis.
|
|
1142
|
+
* Default value: [object Object]
|
|
1143
|
+
*/
|
|
1144
|
+
gridLines?: ThreeDChartLines;
|
|
1145
|
+
/**
|
|
1146
|
+
* Object describing the labels properties of the axis.
|
|
1147
|
+
* Default value: [object Object]
|
|
1148
|
+
*/
|
|
1149
|
+
labels?: ThreeDChartLabels;
|
|
1150
|
+
/**
|
|
1151
|
+
* Determines whether to use logarithmic scale.
|
|
1152
|
+
* Default value: false
|
|
1153
|
+
*/
|
|
1154
|
+
logarithmicScale?: boolean;
|
|
1155
|
+
/**
|
|
1156
|
+
* Base for logarithmic scale.
|
|
1157
|
+
* Default value: 10
|
|
1158
|
+
*/
|
|
1159
|
+
logarithmicScaleBase?: number;
|
|
1160
|
+
/**
|
|
1161
|
+
* Sets the maximum value of the zAxis.
|
|
1162
|
+
* Default value: NaN
|
|
1163
|
+
*/
|
|
1164
|
+
maxValue?: any;
|
|
1165
|
+
/**
|
|
1166
|
+
* Sets the minimum value of the zAxis.
|
|
1167
|
+
* Default value: NaN
|
|
1168
|
+
*/
|
|
1169
|
+
minValue?: any;
|
|
1170
|
+
/**
|
|
1171
|
+
* Sets the interval between the units.
|
|
1172
|
+
* Default value: null
|
|
1173
|
+
*/
|
|
1174
|
+
unitInterval?: number | null;
|
|
1175
|
+
/**
|
|
1176
|
+
* Shows or hides the zAxis.
|
|
1177
|
+
* Default value: true
|
|
1178
|
+
*/
|
|
1179
|
+
visible?: boolean;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
declare global {
|
|
1183
|
+
interface Document {
|
|
1184
|
+
createElement(tagName: "smart-3d-chart"): ThreeDChart;
|
|
1185
|
+
querySelector(selectors: "smart-3d-chart"): ThreeDChart | null;
|
|
1186
|
+
querySelectorAll(selectors: "smart-3d-chart"): NodeListOf<ThreeDChart>;
|
|
1187
|
+
getElementsByTagName(qualifiedName: "smart-3d-chart"): HTMLCollectionOf<ThreeDChart>;
|
|
1188
|
+
getElementsByName(elementName: "smart-3d-chart"): NodeListOf<ThreeDChart>;
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
/**Sets or gets the animation mode. Animation is disabled when the property is set to 'none'. */
|
|
1193
|
+
export declare type Animation = 'none' | 'simple' | 'advanced';
|
|
1194
|
+
/**Sets the chart's color pallete. jqxChart suppports 32 color schemes from 'scheme01' to 'scheme32'. */
|
|
1195
|
+
export declare type ThreeDChartColorScheme = 'scheme01' | 'scheme02' | 'scheme03' | 'scheme04' | 'scheme05' | 'scheme06' | 'scheme07' | 'scheme08' | 'scheme09' | 'scheme10' | 'scheme11' | 'scheme12' | 'scheme13' | 'scheme14' | 'scheme15' | 'scheme16' | 'scheme17' | 'scheme18' | 'scheme19' | 'scheme20' | 'scheme21' | 'scheme22' | 'scheme23' | 'scheme24' | 'scheme25' | 'scheme26' | 'scheme27' | 'scheme28' | 'scheme29' | 'scheme30' | 'scheme31' | 'scheme32' | 'custom';
|
|
1196
|
+
/**Sets whether the legend will be created based on the chart's series or serie groups. "auto" - the legend index will change depending on the Chart type */
|
|
1197
|
+
export declare type ThreeDChartLegendIndex = 'auto' | 'serie' | 'group';
|
|
1198
|
+
/**Determines the selection mode. */
|
|
1199
|
+
export declare type ThreeDChartSelectionMode = 'none' | 'single' | 'multiple';
|
|
1200
|
+
/**Determines the symbol type displayed for the data points in the serie. This parameter is applicable to line, area, scatter and bubble series only. */
|
|
1201
|
+
export declare type ThreeDChartSymbolType = 'none' | 'circle' | 'square' | 'diamond' | 'triangle_up' | 'triangle_down' | 'triangle_left' | 'triangle_right';
|
|
1202
|
+
/**Sets the chart type. jqxChart supports several common chart types. You can easily plot series of different types on a common chart. A type must be specified for each series group. Currently, jqxChart supports the following series types:'column' - simple column series
|
|
1203
|
+
'stackedcolumn' - stacked column series
|
|
1204
|
+
'stackedcolumn100' - percentage stacked columns
|
|
1205
|
+
'rangecolumn' - floating column between two values
|
|
1206
|
+
'waterfall' - waterfall series
|
|
1207
|
+
'stackedwaterfall' - stacked waterfall series
|
|
1208
|
+
'line' - simple straight lines connecting the value points
|
|
1209
|
+
'stackedline' - stacked lines
|
|
1210
|
+
'stackedline100' - percentage stacked lines
|
|
1211
|
+
'spline' - smooth lines connecting the value points
|
|
1212
|
+
'stackedspline' - smooth stacked lines
|
|
1213
|
+
'stackedspline100' - percentage stacked smooth lines
|
|
1214
|
+
'stepline' - step line
|
|
1215
|
+
'stackedstepline' - stacked step line
|
|
1216
|
+
'stackedstepline100' - percentage stacked step line
|
|
1217
|
+
'area' - area connecting the value points with straight lines
|
|
1218
|
+
'stackedarea' - stacked area with straight lines between the points
|
|
1219
|
+
'stackedarea100' - percentage stacked area with straight lines between the points
|
|
1220
|
+
'rangearea' - floating area between pairs of value points
|
|
1221
|
+
'splinearea' - smooth area connecting the value points
|
|
1222
|
+
'stackedsplinearea' - stacked smooth area connecting the value points
|
|
1223
|
+
'stackedsplinearea100' - percentage stacked smooth area
|
|
1224
|
+
'splinerangearea' - smooth floating area between pairs of value points
|
|
1225
|
+
'steprangearea' - step area between pairs of value points
|
|
1226
|
+
'stackedsplineara' - smooth stacked area
|
|
1227
|
+
'steparea' - step area connecting the value points
|
|
1228
|
+
'stackedsteparea' - step stacked area
|
|
1229
|
+
'stackedsteparea100' - percentage stacked step area
|
|
1230
|
+
'pie' - circular chart divided into sectors, illustrating proportion
|
|
1231
|
+
'donut' - chart divided into circular sectors with different inner and outer radius
|
|
1232
|
+
'scatter' - data is displayed as a collection of points
|
|
1233
|
+
'stackedscatter' - data is displayed as a collection of points and the values are stacked
|
|
1234
|
+
'stackedscatter100' - data is displayed as a collection of points and the values are percentage stacked
|
|
1235
|
+
'bubble' - data is displayed as a collection of bubbles
|
|
1236
|
+
'stackedbubble' - data is displayed as a collection of bubbles and the values are stacked
|
|
1237
|
+
'stackedbubble100' - data is displayed as a collection of bubbles and the values are percentage stacked
|
|
1238
|
+
'candlestick' - display candlestick series using open, high, low, close data points
|
|
1239
|
+
'ohlc' - display OHLC series using open, high, low, close data points
|
|
1240
|
+
*/
|
|
1241
|
+
export declare type ThreeDChartType = 'column' | 'stackedcolumn' | 'stackedcolumn100' | 'rangecolumn' | 'waterfall' | 'stackedwaterfall' | 'line' | 'stackedline' | 'stackedline100' | 'spline' | 'stackedspline' | 'stackedspline100' | 'stepline' | 'stackedstepline' | 'stackedstepline100' | 'area' | 'stackedarea' | 'stackedarea100' | 'rangearea' | 'splinearea' | 'stackedsplinearea' | 'stackedsplinearea100' | 'splinerangearea' | 'steprangearea' | 'stackedsplineara' | 'steparea' | 'stackedsteparea' | 'stackedsteparea100' | 'pie' | 'donut' | 'scatter' | 'stackedscatter' | 'stackedscatter100' | 'bubble' | 'stackedbubble' | 'stackedbubble100' | 'candlestick' | 'ohlc';
|
|
1242
|
+
/**Sets the range selector chart type */
|
|
1243
|
+
export declare type ThreeDChartRangeSelectorSerieType = 'line' | 'area';
|
|
1244
|
+
/**The type of the axis. 'auto' - automatically detects and switches to 'basic', 'linear' or 'date'.
|
|
1245
|
+
'date' - when displaying dates.
|
|
1246
|
+
'basic' - displays all data points sequentially.
|
|
1247
|
+
'linear' - linear arrangement by the value of the xAxis data field.
|
|
1248
|
+
*/
|
|
1249
|
+
export declare type ThreeDChartXAxisType = 'auto' | 'date' | 'basic' | 'linear';
|
|
1
1250
|
export interface AccordionProperties {
|
|
2
1251
|
/**
|
|
3
1252
|
* Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
|
|
@@ -181,8 +1430,6 @@ declare global {
|
|
|
181
1430
|
}
|
|
182
1431
|
}
|
|
183
1432
|
|
|
184
|
-
/**Sets or gets the animation mode. Animation is disabled when the property is set to 'none' */
|
|
185
|
-
export declare type Animation = 'none' | 'simple' | 'advanced';
|
|
186
1433
|
/**Sets or gets the expand mode. Expand mode determines how the items will expand or collapse. */
|
|
187
1434
|
export declare type AccordionExpandMode = 'single' | 'singleFitHeight' | 'multiple' | 'toggle' | 'none';
|
|
188
1435
|
export interface AccordionItemProperties {
|
|
@@ -8572,6 +9819,11 @@ export interface EditorProperties {
|
|
|
8572
9819
|
* Default value: null
|
|
8573
9820
|
*/
|
|
8574
9821
|
charCountFormatFunction?: any;
|
|
9822
|
+
/**
|
|
9823
|
+
* Sets or gets whether files will be automatically uploaded after selection.
|
|
9824
|
+
* Default value: false
|
|
9825
|
+
*/
|
|
9826
|
+
autoUpload?: boolean;
|
|
8575
9827
|
/**
|
|
8576
9828
|
* Determines the content filtering settings.
|
|
8577
9829
|
* Default value: [object Object]
|
|
@@ -8919,6 +10171,16 @@ export interface EditorProperties {
|
|
|
8919
10171
|
* Default value: 100
|
|
8920
10172
|
*/
|
|
8921
10173
|
splitModeRefreshTimeout?: number;
|
|
10174
|
+
/**
|
|
10175
|
+
* Sets or gets the upload URL. This property corresponds to the upload form's action attribute. For example, the uploadUrl property can point to a PHP file, which handles the upload operation on the server-side.
|
|
10176
|
+
* Default value: ""
|
|
10177
|
+
*/
|
|
10178
|
+
uploadUrl?: string;
|
|
10179
|
+
/**
|
|
10180
|
+
* Sets or gets the remove URL. This property corresponds to the form's action attribute. For example, the removeUrl property can point to a PHP file, which handles the remove operation on the server-side.
|
|
10181
|
+
* Default value: ""
|
|
10182
|
+
*/
|
|
10183
|
+
removeUrl?: string;
|
|
8922
10184
|
/**
|
|
8923
10185
|
* Determines the theme. Theme defines the look of the element
|
|
8924
10186
|
* Default value: ""
|
|
@@ -9123,7 +10385,7 @@ export interface Editor extends BaseElement, EditorProperties {
|
|
|
9123
10385
|
onDialogClosing?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
9124
10386
|
/**
|
|
9125
10387
|
* This event is triggered when the uploading of an image/video is successful.
|
|
9126
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(target, item, filename, type, size, index, status)
|
|
10388
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(target, item, filename, type, size, index, status, serverResponse)
|
|
9127
10389
|
* target - The file upload element that is the target of the operation.
|
|
9128
10390
|
* item - The toolbar item that is the target of the operation.
|
|
9129
10391
|
* filename - The name of the uploaded file.
|
|
@@ -9131,11 +10393,12 @@ export interface Editor extends BaseElement, EditorProperties {
|
|
|
9131
10393
|
* size - The size of the uploaded file.
|
|
9132
10394
|
* index - The index of the uploaded file.
|
|
9133
10395
|
* status - The status of the uploaded file. Whether there was an error or success.
|
|
10396
|
+
* serverResponse - The response of the remote server.
|
|
9134
10397
|
*/
|
|
9135
10398
|
onImageUploadSuccess?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
9136
10399
|
/**
|
|
9137
10400
|
* This event is triggered when the uploading of an image/video is unsuccessful.
|
|
9138
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(target, item, filename, type, size, index, status)
|
|
10401
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(target, item, filename, type, size, index, status, serverResponse)
|
|
9139
10402
|
* target - The file upload element that is the target of the operation.
|
|
9140
10403
|
* item - The toolbar item that is the target of the operation.
|
|
9141
10404
|
* filename - The name of the canceled file.
|
|
@@ -9143,6 +10406,7 @@ export interface Editor extends BaseElement, EditorProperties {
|
|
|
9143
10406
|
* size - The size of the canceled file.
|
|
9144
10407
|
* index - The index of the canceled file.
|
|
9145
10408
|
* status - The status of the uploaded file. Whether there was an error or success.
|
|
10409
|
+
* serverResponse - The response of the remote server.
|
|
9146
10410
|
*/
|
|
9147
10411
|
onImageUploadFailed?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
9148
10412
|
/**
|
|
@@ -9827,6 +11091,11 @@ export interface FileUploadProperties {
|
|
|
9827
11091
|
* Default value: false
|
|
9828
11092
|
*/
|
|
9829
11093
|
unfocusable?: boolean;
|
|
11094
|
+
/**
|
|
11095
|
+
* Sets or gets the remove URL. This property corresponds to the form's action attribute. For example, the removeUrl property can point to a PHP file, which handles the remove operation on the server-side.
|
|
11096
|
+
* Default value: ""
|
|
11097
|
+
*/
|
|
11098
|
+
removeUrl?: string;
|
|
9830
11099
|
/**
|
|
9831
11100
|
* Gets the file upload value.
|
|
9832
11101
|
* Default value: null
|
|
@@ -9865,12 +11134,13 @@ export interface FileUpload extends BaseElement, FileUploadProperties {
|
|
|
9865
11134
|
onUploadCanceled?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
9866
11135
|
/**
|
|
9867
11136
|
* This event is triggered when a file upload operation is completed.
|
|
9868
|
-
* @param event. The custom event. Custom data event was created with: ev.detail(filename, type, size, index, status)
|
|
11137
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(filename, type, size, index, status, serverResponse)
|
|
9869
11138
|
* filename - The name of the canceled file.
|
|
9870
11139
|
* type - The type of the canceled file.
|
|
9871
11140
|
* size - The size of the canceled file.
|
|
9872
11141
|
* index - The index of the canceled file.
|
|
9873
11142
|
* status - The status of the uploaded file. Whether there was an error or success.
|
|
11143
|
+
* serverResponse - The response of the remote server.
|
|
9874
11144
|
*/
|
|
9875
11145
|
onUploadCompleted?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
9876
11146
|
/**
|
|
@@ -11333,7 +12603,7 @@ export interface FormProperties {
|
|
|
11333
12603
|
*/
|
|
11334
12604
|
controls?: Control[];
|
|
11335
12605
|
/**
|
|
11336
|
-
* Callback function for handling status changes
|
|
12606
|
+
* Callback function for handling status changes. The status could be 'disabled', 'invalid', 'pending', 'valid'.
|
|
11337
12607
|
* Default value: null
|
|
11338
12608
|
*/
|
|
11339
12609
|
onStatusChanges?: any;
|
|
@@ -13956,6 +15226,11 @@ export interface GridProperties {
|
|
|
13956
15226
|
* Default value: []
|
|
13957
15227
|
*/
|
|
13958
15228
|
users?: any[];
|
|
15229
|
+
/**
|
|
15230
|
+
* Sets the grid's image and filter upload settings for the image and attachment columns.
|
|
15231
|
+
* Default value: [object Object]
|
|
15232
|
+
*/
|
|
15233
|
+
uploadSettings?: GridUploadSettings;
|
|
13959
15234
|
/**
|
|
13960
15235
|
* Describes the paging settings.
|
|
13961
15236
|
* Default value: [object Object]
|
|
@@ -13986,6 +15261,11 @@ export interface GridProperties {
|
|
|
13986
15261
|
* Default value: [object Object]
|
|
13987
15262
|
*/
|
|
13988
15263
|
summaryRow?: GridSummaryRow;
|
|
15264
|
+
/**
|
|
15265
|
+
* Sets the grid's state settings.
|
|
15266
|
+
* Default value: [object Object]
|
|
15267
|
+
*/
|
|
15268
|
+
stateSettings?: GridStateSettings;
|
|
13989
15269
|
/**
|
|
13990
15270
|
* Describes the settings for the group header.
|
|
13991
15271
|
* Default value: [object Object]
|
|
@@ -14646,10 +15926,26 @@ export interface Grid extends BaseElement, GridProperties {
|
|
|
14646
15926
|
*/
|
|
14647
15927
|
getViewRows(): any;
|
|
14648
15928
|
/**
|
|
14649
|
-
* Gets a JSON object with the following fields: 'sort', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'.
|
|
15929
|
+
* Gets a JSON object with the following fields: 'sort', 'columns', 'expandedRows', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'. The 'sort' represents an object which contains the sorted columns. Each key in that json object is the column's dataField item which has sortOrder: string and sortIndex: int properties. The sortOrder could be either 'asc' or 'desc'. Similarly, the filter object contains the filtered columns. Each key in that object is a column data field and each value has 'filters' array property with the applied filters to the column. The 'columns' property contains an array of columns with saved properties such as visible, width and freeze. The 'expandedRows' property contains the indexes of the expanded rows. The 'groups' property contains the grouped column data fields and the selectedCells and selectedRows include information about the cells or rows selection. These depend on the selection mode used in the Grid. The 'paging' object includes the sub-properties 'count', 'index' and 'size' which determine the count of pages, the current page's index and the page size.
|
|
14650
15930
|
* @returns {any}
|
|
14651
15931
|
*/
|
|
14652
15932
|
getState(): any;
|
|
15933
|
+
/**
|
|
15934
|
+
* Saves the Grid state and returns a JSON object with the following fields: 'sort', 'columns', 'expandedRows', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'. The 'sort' represents an object which contains the sorted columns. Each key in that json object is the column's dataField item which has sortOrder: string and sortIndex: int properties. The sortOrder could be either 'asc' or 'desc'. Similarly, the filter object contains the filtered columns. Each key in that object is a column data field and each value has 'filters' array property with the applied filters to the column. The 'columns' property contains an array of columns with saved properties such as visible, width and freeze. The 'expandedRows' property contains the indexes of the expanded rows. The 'groups' property contains the grouped column data fields and the selectedCells and selectedRows include information about the cells or rows selection. These depend on the selection mode used in the Grid. The 'paging' object includes the sub-properties 'count', 'index' and 'size' which determine the count of pages, the current page's index and the page size.
|
|
15935
|
+
* @param {string} name?. state name
|
|
15936
|
+
* @returns {any}
|
|
15937
|
+
*/
|
|
15938
|
+
saveState(name?: string): any;
|
|
15939
|
+
/**
|
|
15940
|
+
* Loads a previously saved Grid state. You can pass a state name when there is a state which was previously saved with the saveState(stateName) method call or a state object returned by the saveState or getState method calls. The state object is required to be a JSON object with the following fields: 'sort', 'columns', 'expandedRows', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'. The 'sort' represents an object which contains the sorted columns. Each key in that json object is the column's dataField item which has sortOrder: string and sortIndex: int properties. The sortOrder could be either 'asc' or 'desc'. Similarly, the filter object contains the filtered columns. Each key in that object is a column data field and each value has 'filters' array property with the applied filters to the column. The 'columns' property contains an array of columns with saved properties such as visible, width and freeze. The 'expandedRows' property contains the indexes of the expanded rows. The 'groups' property contains the grouped column data fields and the selectedCells and selectedRows include information about the cells or rows selection. These depend on the selection mode used in the Grid. The 'paging' object includes the sub-properties 'count', 'index' and 'size' which determine the count of pages, the current page's index and the page size.
|
|
15941
|
+
* @param {any} state. state name or state object
|
|
15942
|
+
* @returns {any}
|
|
15943
|
+
*/
|
|
15944
|
+
loadState(state: any): any;
|
|
15945
|
+
/**
|
|
15946
|
+
* Resets the Grid state.
|
|
15947
|
+
*/
|
|
15948
|
+
resetState(): void;
|
|
14653
15949
|
/**
|
|
14654
15950
|
* Gets the changes from the batch edit.
|
|
14655
15951
|
* @returns
|
|
@@ -16567,6 +17863,40 @@ export interface GridGroupingSummaryRow {
|
|
|
16567
17863
|
visible?: boolean;
|
|
16568
17864
|
}
|
|
16569
17865
|
|
|
17866
|
+
/**Sets the grid's image and filter upload settings for the image and attachment columns. */
|
|
17867
|
+
export interface GridUploadSettings {
|
|
17868
|
+
/**
|
|
17869
|
+
* Sets or file/image upload url.
|
|
17870
|
+
* Default value: ""
|
|
17871
|
+
*/
|
|
17872
|
+
url?: string;
|
|
17873
|
+
/**
|
|
17874
|
+
* Sets or file/image remove url.
|
|
17875
|
+
* Default value: ""
|
|
17876
|
+
*/
|
|
17877
|
+
removeUrl?: string;
|
|
17878
|
+
/**
|
|
17879
|
+
* Sets or gets the upload field name. In the backend, you can use this name to access the images data. For example in expressJS, you can use something like that: const images = req['files']['userfile[]'];
|
|
17880
|
+
* Default value: "userfile[]"
|
|
17881
|
+
*/
|
|
17882
|
+
name?: string;
|
|
17883
|
+
/**
|
|
17884
|
+
* Additional data to pass to the server. The format should be a JSON string.
|
|
17885
|
+
* Default value: ""
|
|
17886
|
+
*/
|
|
17887
|
+
data?: string;
|
|
17888
|
+
/**
|
|
17889
|
+
* Function called when the upload is completed. JSON object with 'files', 'status', 'fileURL' and 'serverResponse' are passed as parameters when the function is called by the Grid.
|
|
17890
|
+
* Default value:
|
|
17891
|
+
*/
|
|
17892
|
+
onUploadCompleted?: any;
|
|
17893
|
+
/**
|
|
17894
|
+
* Function called when the upload has failed. JSON object with 'files', 'status' and 'serverResponse' are passed as parameters when the function is called by the Grid.
|
|
17895
|
+
* Default value:
|
|
17896
|
+
*/
|
|
17897
|
+
onUploadError?: any;
|
|
17898
|
+
}
|
|
17899
|
+
|
|
16570
17900
|
/**Describes the paging settings. */
|
|
16571
17901
|
export interface GridPaging {
|
|
16572
17902
|
/**
|
|
@@ -16828,6 +18158,40 @@ export interface GridSummaryRow {
|
|
|
16828
18158
|
editing?: boolean;
|
|
16829
18159
|
}
|
|
16830
18160
|
|
|
18161
|
+
/**Sets the grid's state settings. */
|
|
18162
|
+
export interface GridStateSettings {
|
|
18163
|
+
/**
|
|
18164
|
+
* Enables or disables auto-save of the Grid's state
|
|
18165
|
+
* Default value: false
|
|
18166
|
+
*/
|
|
18167
|
+
autoSave?: boolean;
|
|
18168
|
+
/**
|
|
18169
|
+
* Enables or disables save/load of the grid state.
|
|
18170
|
+
* Default value: true
|
|
18171
|
+
*/
|
|
18172
|
+
enabled?: boolean;
|
|
18173
|
+
/**
|
|
18174
|
+
* Sets or gets the current state.
|
|
18175
|
+
* Default value: ""
|
|
18176
|
+
*/
|
|
18177
|
+
current?: string;
|
|
18178
|
+
/**
|
|
18179
|
+
* Container which is auto-filled with state objects when you call the saveState method or enable the autoSave of states. Each object has a key which is the state's name and value which is a json with the state's properties.
|
|
18180
|
+
* Default value: null
|
|
18181
|
+
*/
|
|
18182
|
+
storage?: any;
|
|
18183
|
+
/**
|
|
18184
|
+
* Function called when the state is changed.
|
|
18185
|
+
* Default value:
|
|
18186
|
+
*/
|
|
18187
|
+
onStateChange?: any;
|
|
18188
|
+
/**
|
|
18189
|
+
* Array with state options such as 'sort', 'filter', 'expandedRows', 'paging', 'selectedCells', 'selectedRows', 'group', 'columns'. This property determines which parts of the state would be saved or loaded.
|
|
18190
|
+
* Default value:
|
|
18191
|
+
*/
|
|
18192
|
+
options?: string[];
|
|
18193
|
+
}
|
|
18194
|
+
|
|
16831
18195
|
/**Describes the settings for the group header. */
|
|
16832
18196
|
export interface GridGroupHeader {
|
|
16833
18197
|
/**
|
|
@@ -24051,6 +25415,11 @@ export interface QueryBuilderProperties {
|
|
|
24051
25415
|
* Default value: change
|
|
24052
25416
|
*/
|
|
24053
25417
|
applyMode?: QueryBuilderApplyMode | string;
|
|
25418
|
+
/**
|
|
25419
|
+
* When 'applyMode' is set to 'immediately', the default value is applied to the editor's value and the QueryBuilder's value is updated automatically.
|
|
25420
|
+
* Default value: false
|
|
25421
|
+
*/
|
|
25422
|
+
autoApplyValue?: boolean;
|
|
24054
25423
|
/**
|
|
24055
25424
|
* Determines whether QueryBuilder will automatically prompt the user to enter a condition value when a new condition is created. When 'applyMode' is set to 'immediately', the operation field is automatically populated if empty when the selected condition operator is changed. The input field prompts the user when the operation or operator of the condition is changed.
|
|
24056
25425
|
* Default value: false
|
|
@@ -24270,6 +25639,13 @@ export interface QueryBuilder extends BaseElement, QueryBuilderProperties {
|
|
|
24270
25639
|
* value - The value of the selected property.
|
|
24271
25640
|
*/
|
|
24272
25641
|
onPropertySelected?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
25642
|
+
/**
|
|
25643
|
+
* This event is triggered when the component validates the input values. This happens when you input a new value and focus another component.
|
|
25644
|
+
* @param event. The custom event. Custom data event was created with: ev.detail(oldValue, newValue)
|
|
25645
|
+
* oldValue - Old validation status.
|
|
25646
|
+
* newValue - New validation status.
|
|
25647
|
+
*/
|
|
25648
|
+
onValidationChange?: ((this: any, ev: Event) => any) | ((this: any, ev: CustomEvent<any>) => any) | null;
|
|
24273
25649
|
/**
|
|
24274
25650
|
* Converts the current value of the element to DynamicLINQ expression.
|
|
24275
25651
|
* @returns {string}
|
|
@@ -24730,6 +26106,11 @@ export interface SchedulerProperties {
|
|
|
24730
26106
|
* Default value: false
|
|
24731
26107
|
*/
|
|
24732
26108
|
autoHeightAllDayCells?: boolean;
|
|
26109
|
+
/**
|
|
26110
|
+
* Defines an array of objects with start and end fields, where start and end are Date objects. For example: [{ 'start': '2022-10-25T12:00.000Z', 'end': '2022-10-25T13:00.000Z' }].
|
|
26111
|
+
* Default value:
|
|
26112
|
+
*/
|
|
26113
|
+
available?: any;
|
|
24733
26114
|
/**
|
|
24734
26115
|
* Determines the color scheme for the event background selector in the event window editor.
|
|
24735
26116
|
* Default value: #D50000,#E67C73,#F4511E,#F6BF26,#33B679,#0B8043,#039BE5,#3F51B5,#7986CB,#8E24AA,#616161,
|
|
@@ -24995,6 +26376,16 @@ export interface SchedulerProperties {
|
|
|
24995
26376
|
* Default value: near
|
|
24996
26377
|
*/
|
|
24997
26378
|
legendPosition?: SchedulerLegendPosition | string;
|
|
26379
|
+
/**
|
|
26380
|
+
* Determines the layout of the legend items.
|
|
26381
|
+
* Default value: auto
|
|
26382
|
+
*/
|
|
26383
|
+
legendLayout?: SchedulerLegendLayout | string;
|
|
26384
|
+
/**
|
|
26385
|
+
* Determines the number of items when the legend switches automatically from horizontal list to menu.
|
|
26386
|
+
* Default value: 10
|
|
26387
|
+
*/
|
|
26388
|
+
legendLayoutMenuBreakpoint?: number;
|
|
24998
26389
|
/**
|
|
24999
26390
|
* Determines the mouse wheel step. When this property is set to a positive number, the scroll step with mouse wheel or trackpad will depend on the property value.
|
|
25000
26391
|
* Default value: 50
|
|
@@ -25080,6 +26471,11 @@ export interface SchedulerProperties {
|
|
|
25080
26471
|
* Default value:
|
|
25081
26472
|
*/
|
|
25082
26473
|
restrictedHours?: any;
|
|
26474
|
+
/**
|
|
26475
|
+
* Defines an array of dates and hours that are not allowed to have events on. Events that overlap restricted Hours or start/end on them will not be displayed. Each array item is an Object and requires 2 fields - date and hours. For example: { date: new Date(2022, 10, 1), hours: [[0, 6], 12, [20, 23]] }. The hours define a range of restricted hours similartly to the restricted hours property, the date defines a date where the restricted hours will be applied.
|
|
26476
|
+
* Default value:
|
|
26477
|
+
*/
|
|
26478
|
+
restricted?: any;
|
|
25083
26479
|
/**
|
|
25084
26480
|
* Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
|
|
25085
26481
|
* Default value: false
|
|
@@ -26017,6 +27413,8 @@ export declare type SchedulerHeaderViewPosition = 'far' | 'near';
|
|
|
26017
27413
|
export declare type SchedulerLegendLocation = 'footer' | 'header';
|
|
26018
27414
|
/**Determines the position of the legend. By default it's positioned to the near side but setting it to 'far' will change that. */
|
|
26019
27415
|
export declare type SchedulerLegendPosition = 'near' | 'far';
|
|
27416
|
+
/**Determines the layout of the legend items. */
|
|
27417
|
+
export declare type SchedulerLegendLayout = null | 'auto' | 'menu';
|
|
26020
27418
|
/**Determines the minute formatting inside the Scheduler. */
|
|
26021
27419
|
export declare type MinuteFormat = '2-digit' | 'numeric';
|
|
26022
27420
|
/**Determines the visibility of the resize handles. */
|