tsichart-core 1.0.5 → 2.0.0-beta.1
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/LICENSE +22 -22
- package/README.md +80 -0
- package/dist/index.d.ts +1744 -0
- package/dist/index.js +14284 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +14209 -0
- package/dist/index.mjs.map +1 -0
- package/dist/{tsiclient.css → styles/index.css} +9498 -9497
- package/dist/styles/index.css.map +1 -0
- package/package.json +115 -124
- package/README.MD +0 -171
- package/dist/AggregateExpression.d.ts +0 -13
- package/dist/AggregateExpression.js +0 -70
- package/dist/AvailabilityChart-C8ewvn3T.js +0 -488
- package/dist/AvailabilityChart.d.ts +0 -59
- package/dist/AvailabilityChart.js +0 -26
- package/dist/ChartComponent-Dg8P-BTZ.js +0 -302
- package/dist/ChartComponent-ONNW31RL.d.ts +0 -80
- package/dist/ChartComponentData-DBW8_FnY.d.ts +0 -47
- package/dist/ChartDataOptions-CNTSB636.js +0 -49
- package/dist/ChartDataOptions-D0BJuRZy.d.ts +0 -38
- package/dist/ChartVisualizationComponent-CTs5Q_sg.js +0 -23
- package/dist/ChartVisualizationComponent-CpR8xZla.d.ts +0 -8
- package/dist/ColorPicker-0p6vkATj.js +0 -120
- package/dist/ColorPicker.d.ts +0 -28
- package/dist/ColorPicker.js +0 -6
- package/dist/Component-BgifJdKl.js +0 -401
- package/dist/Component-DXwYPoSo.d.ts +0 -226
- package/dist/ContextMenu-wqGGgAzp.js +0 -197
- package/dist/DateTimeButton-D7N8XG0S.js +0 -38
- package/dist/DateTimeButton-DfJL5kvr.d.ts +0 -16
- package/dist/DateTimeButtonRange-BM_J646m.js +0 -71
- package/dist/DateTimeButtonRange.d.ts +0 -19
- package/dist/DateTimeButtonRange.js +0 -15
- package/dist/DateTimeButtonSingle-BxMSitQG.js +0 -48
- package/dist/DateTimeButtonSingle.d.ts +0 -17
- package/dist/DateTimeButtonSingle.js +0 -14
- package/dist/DateTimePicker-BgTi-DY9.js +0 -532
- package/dist/DateTimePicker.d.ts +0 -69
- package/dist/DateTimePicker.js +0 -13
- package/dist/EllipsisMenu-CxJ0LoVm.js +0 -116
- package/dist/EllipsisMenu.d.ts +0 -20
- package/dist/EllipsisMenu.js +0 -6
- package/dist/Enums-DWpaQlXk.d.ts +0 -12
- package/dist/EventsTable-CsnBvvIW.js +0 -553
- package/dist/EventsTable.d.ts +0 -34
- package/dist/EventsTable.js +0 -10
- package/dist/GeoProcessGraphic-CUBMHIHX.js +0 -145
- package/dist/GeoProcessGraphic.d.ts +0 -34
- package/dist/GeoProcessGraphic.js +0 -7
- package/dist/Grid-uoHKTet9.js +0 -874
- package/dist/Grid.d.ts +0 -43
- package/dist/Grid.js +0 -6
- package/dist/GroupedBarChart-Bc3cGhgz.js +0 -579
- package/dist/GroupedBarChart.d.ts +0 -22
- package/dist/GroupedBarChart.js +0 -17
- package/dist/GroupedBarChartData-B7BTM9JH.d.ts +0 -20
- package/dist/GroupedBarChartData-Ml5JJimg.js +0 -121
- package/dist/Heatmap-5gFc_AVW.js +0 -524
- package/dist/Heatmap.d.ts +0 -31
- package/dist/Heatmap.js +0 -14
- package/dist/Hierarchy-C5ueDsus.js +0 -260
- package/dist/Hierarchy.d.ts +0 -39
- package/dist/Hierarchy.js +0 -6
- package/dist/HierarchyNavigation-C3Pwt0D6.js +0 -336
- package/dist/HierarchyNavigation.d.ts +0 -34
- package/dist/HierarchyNavigation.js +0 -6
- package/dist/HistoryPlayback-D09bter3.js +0 -175
- package/dist/HistoryPlayback-DmJ6u7lU.d.ts +0 -68
- package/dist/Interfaces-R_1l9lIT.d.ts +0 -6
- package/dist/Legend-gCIrAytG.js +0 -497
- package/dist/LineChart-CzDp5ULB.js +0 -3181
- package/dist/LineChart.d.ts +0 -163
- package/dist/LineChart.js +0 -18
- package/dist/ModelAutocomplete-lU71Ndju.js +0 -100
- package/dist/ModelAutocomplete.d.ts +0 -12
- package/dist/ModelAutocomplete.js +0 -7
- package/dist/ModelSearch-OF4DygOJ.js +0 -189
- package/dist/ModelSearch.d.ts +0 -23
- package/dist/ModelSearch.js +0 -9
- package/dist/PieChart-XLc9Itne.js +0 -258
- package/dist/PieChart.d.ts +0 -26
- package/dist/PieChart.js +0 -17
- package/dist/PlaybackControls-DbG9gExy.js +0 -195
- package/dist/PlaybackControls.d.ts +0 -39
- package/dist/PlaybackControls.js +0 -13
- package/dist/ProcessGraphic-Cft1b4Mf.js +0 -154
- package/dist/ProcessGraphic.d.ts +0 -31
- package/dist/ProcessGraphic.js +0 -7
- package/dist/ScatterPlot-CdnqSHq2.js +0 -924
- package/dist/ScatterPlot.d.ts +0 -115
- package/dist/ScatterPlot.js +0 -17
- package/dist/SingleDateTimePicker-Ddr-ogTk.js +0 -213
- package/dist/SingleDateTimePicker.d.ts +0 -45
- package/dist/SingleDateTimePicker.js +0 -12
- package/dist/Slider-CX0nvlqx.js +0 -186
- package/dist/Slider.d.ts +0 -31
- package/dist/Slider.js +0 -6
- package/dist/TemporalXAxisComponent-DXmMekYq.js +0 -129
- package/dist/TemporalXAxisComponent-PIeiJYUr.d.ts +0 -23
- package/dist/TimezonePicker-CQpXR5eb.js +0 -58
- package/dist/TimezonePicker.d.ts +0 -16
- package/dist/TimezonePicker.js +0 -10
- package/dist/Tooltip-C13k0eeH.js +0 -104
- package/dist/TsqExpression.d.ts +0 -36
- package/dist/TsqExpression.js +0 -89
- package/dist/UXClient-Bn1afElm.js +0 -230
- package/dist/UXClient.d.ts +0 -74
- package/dist/UXClient.js +0 -47
- package/dist/Utils-BcQeZOM3.d.ts +0 -104
- package/dist/Utils-DDGqSryb.js +0 -1138
- package/dist/Utils.d.ts +0 -7
- package/dist/Utils.js +0 -7
- package/dist/_tslib-BYFmvNeL.js +0 -96
- package/dist/pikaday-jh_aVtJs.js +0 -1252
- package/dist/tsiclient.cjs.js +0 -3
- package/dist/tsiclient.cjs.js.LICENSE.txt +0 -19
- package/dist/tsiclient.cjs.js.map +0 -1
- package/dist/tsiclient.d.ts +0 -46
- package/dist/tsiclient.esm.js +0 -3
- package/dist/tsiclient.esm.js.LICENSE.txt +0 -19
- package/dist/tsiclient.esm.js.map +0 -1
- package/dist/tsiclient.js +0 -58
- package/dist/tsiclient.min.css +0 -6
- package/dist/tsiclient.min.css.map +0 -1
- package/dist/tsiclient.umd.js +0 -3
- package/dist/tsiclient.umd.js.LICENSE.txt +0 -19
- package/dist/tsiclient.umd.js.map +0 -1
- package/dist/tsiclient.umd.min.js +0 -3
- package/dist/tsiclient.umd.min.js.LICENSE.txt +0 -19
- package/dist/tsiclient.umd.min.js.map +0 -1
- package/tsiclient.css +0 -17323
- package/tsiclient.d.ts +0 -46
- package/tsiclient.js +0 -58
- package/tsiclient.min.css +0 -6
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1744 @@
|
|
|
1
|
+
import * as d3 from 'd3';
|
|
2
|
+
|
|
3
|
+
declare enum YAxisStates {
|
|
4
|
+
Stacked = "stacked",
|
|
5
|
+
Shared = "shared",
|
|
6
|
+
Overlap = "overlap"
|
|
7
|
+
}
|
|
8
|
+
declare enum TooltipMeasureFormat {
|
|
9
|
+
Enveloped = "Enveloped",
|
|
10
|
+
SingleValue = "SingleValue",
|
|
11
|
+
Scatter = "Scatter"
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare class Strings {
|
|
15
|
+
private stringValueDefaults;
|
|
16
|
+
private stringValues;
|
|
17
|
+
constructor();
|
|
18
|
+
mergeStrings(stringKeyValues: any): void;
|
|
19
|
+
getString(stringKey: string): any;
|
|
20
|
+
toObject(): any;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
interface HorizontalMarker {
|
|
24
|
+
color: string;
|
|
25
|
+
value: number;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface swimLaneOption {
|
|
29
|
+
yAxisType: YAxisStates;
|
|
30
|
+
label?: string;
|
|
31
|
+
onClick?: (lane: number) => any;
|
|
32
|
+
collapseEvents?: string;
|
|
33
|
+
horizontalMarkers?: Array<HorizontalMarker>;
|
|
34
|
+
}
|
|
35
|
+
declare class ChartOptions {
|
|
36
|
+
aggTopMargin: number;
|
|
37
|
+
arcWidthRatio: number;
|
|
38
|
+
autoTriggerBrushContextMenu: boolean;
|
|
39
|
+
availabilityLeftMargin: number;
|
|
40
|
+
bucketSizeMillis: number;
|
|
41
|
+
brushClearable: boolean;
|
|
42
|
+
brushContextMenuActions: Array<any>;
|
|
43
|
+
brushHandlesVisible: boolean;
|
|
44
|
+
brushMoveAction: any;
|
|
45
|
+
brushMoveEndAction: any;
|
|
46
|
+
brushRangeVisible: boolean;
|
|
47
|
+
canDownload: boolean;
|
|
48
|
+
color: string;
|
|
49
|
+
colors: Array<string>;
|
|
50
|
+
dateLocale: string;
|
|
51
|
+
defaultAvailabilityZoomRangeMillis: number;
|
|
52
|
+
defaultColor: any;
|
|
53
|
+
dTPIsModal: boolean;
|
|
54
|
+
ellipsisItems: Array<any>;
|
|
55
|
+
focusHidden: boolean;
|
|
56
|
+
fromChart: boolean;
|
|
57
|
+
grid: boolean;
|
|
58
|
+
hideChartControlPanel: boolean;
|
|
59
|
+
includeDots: boolean;
|
|
60
|
+
includeEnvelope: boolean;
|
|
61
|
+
includeTimezones: boolean;
|
|
62
|
+
initialValue: any;
|
|
63
|
+
interpolationFunction: any;
|
|
64
|
+
isArea: boolean;
|
|
65
|
+
isColorValueHidden: boolean;
|
|
66
|
+
isCompact: boolean;
|
|
67
|
+
isTemporal: boolean;
|
|
68
|
+
is24HourTime: boolean;
|
|
69
|
+
keepBrush: boolean;
|
|
70
|
+
keepSplitByColor: boolean;
|
|
71
|
+
labelSeriesWithMarker: boolean;
|
|
72
|
+
legend: string;
|
|
73
|
+
markers: Array<any>;
|
|
74
|
+
maxBuckets: number;
|
|
75
|
+
minBrushWidth: number;
|
|
76
|
+
minutesForTimeLabels: boolean;
|
|
77
|
+
noAnimate: boolean;
|
|
78
|
+
numberOfColors: number;
|
|
79
|
+
updateInterval: number;
|
|
80
|
+
offset: any;
|
|
81
|
+
isRelative: any;
|
|
82
|
+
currentQuickTime: any;
|
|
83
|
+
onClick: (d3Event: any) => void;
|
|
84
|
+
onInput: (searchText: string, event: any) => void;
|
|
85
|
+
onInstanceClick: (instance: any) => any;
|
|
86
|
+
onKeydown: (d3Event: any, awesompleteObject: any) => void;
|
|
87
|
+
onMarkersChange: (markers: Array<number>) => any;
|
|
88
|
+
onMouseout: () => void;
|
|
89
|
+
onMouseover: (aggKey: string, splitBy: string) => void;
|
|
90
|
+
onSelect: (value: any) => void;
|
|
91
|
+
onSticky: (aggKey: string, splitBy: string) => void;
|
|
92
|
+
onUnsticky: (aggKey: string, splitBy: string) => void;
|
|
93
|
+
preserveAvailabilityState: boolean;
|
|
94
|
+
persistDateTimeButtonRange: boolean;
|
|
95
|
+
scaledToCurrentTime: boolean;
|
|
96
|
+
spMeasures: Array<string>;
|
|
97
|
+
scatterPlotRadius: Array<number>;
|
|
98
|
+
spAxisLabels: Array<string>;
|
|
99
|
+
singleLineXAxisLabel: boolean;
|
|
100
|
+
snapBrush: boolean;
|
|
101
|
+
stacked: boolean;
|
|
102
|
+
shouldSticky: boolean;
|
|
103
|
+
strings: any;
|
|
104
|
+
suppressResizeListener: boolean;
|
|
105
|
+
swimLaneOptions: {
|
|
106
|
+
[key: number]: swimLaneOption;
|
|
107
|
+
} | null;
|
|
108
|
+
theme: string;
|
|
109
|
+
timeFrame: any;
|
|
110
|
+
timestamp: any;
|
|
111
|
+
tooltip: boolean;
|
|
112
|
+
throttleSlider: boolean;
|
|
113
|
+
warmStoreRange: Array<string>;
|
|
114
|
+
xAxisHidden: boolean;
|
|
115
|
+
xAxisTimeFormat: (d: any, i: any, isFirst: any, isLast: any) => {};
|
|
116
|
+
yAxisHidden: boolean;
|
|
117
|
+
yAxisState: string;
|
|
118
|
+
yExtent: any;
|
|
119
|
+
zeroYAxis: boolean;
|
|
120
|
+
withContextMenu: boolean;
|
|
121
|
+
hierarchyOptions: any;
|
|
122
|
+
onError: (titleKey: any, messageKey: any, xhr: any) => any;
|
|
123
|
+
timeSeriesIdProperties: Array<{
|
|
124
|
+
name: string;
|
|
125
|
+
type: any;
|
|
126
|
+
}>;
|
|
127
|
+
stringsInstance: Strings;
|
|
128
|
+
private getInterpolationFunction;
|
|
129
|
+
setOptions(chartOptionsObj: any): void;
|
|
130
|
+
private mergeStrings;
|
|
131
|
+
private mergeValue;
|
|
132
|
+
toObject(): {
|
|
133
|
+
grid: boolean;
|
|
134
|
+
preserveAvailabilityState: boolean;
|
|
135
|
+
persistDateTimeButtonRange: boolean;
|
|
136
|
+
isCompact: boolean;
|
|
137
|
+
keepBrush: boolean;
|
|
138
|
+
isArea: boolean;
|
|
139
|
+
noAnimate: boolean;
|
|
140
|
+
minutesForTimeLabels: boolean;
|
|
141
|
+
aggTopMargin: number;
|
|
142
|
+
color: string;
|
|
143
|
+
maxBuckets: number;
|
|
144
|
+
yAxisHidden: boolean;
|
|
145
|
+
focusHidden: boolean;
|
|
146
|
+
singleLineXAxisLabel: boolean;
|
|
147
|
+
legend: string;
|
|
148
|
+
tooltip: boolean;
|
|
149
|
+
throttleSlider: boolean;
|
|
150
|
+
snapBrush: boolean;
|
|
151
|
+
minBrushWidth: number;
|
|
152
|
+
theme: string;
|
|
153
|
+
keepSplitByColor: boolean;
|
|
154
|
+
brushContextMenuActions: any[];
|
|
155
|
+
timeFrame: any;
|
|
156
|
+
fromChart: boolean;
|
|
157
|
+
timestamp: any;
|
|
158
|
+
stacked: boolean;
|
|
159
|
+
scaledToCurrentTime: boolean;
|
|
160
|
+
zeroYAxis: boolean;
|
|
161
|
+
arcWidthRatio: number;
|
|
162
|
+
brushClearable: boolean;
|
|
163
|
+
brushMoveAction: any;
|
|
164
|
+
yAxisState: string;
|
|
165
|
+
xAxisHidden: boolean;
|
|
166
|
+
suppressResizeListener: boolean;
|
|
167
|
+
brushMoveEndAction: any;
|
|
168
|
+
onMouseout: () => void;
|
|
169
|
+
onMouseover: (aggKey: string, splitBy: string) => void;
|
|
170
|
+
onSticky: (aggKey: string, splitBy: string) => void;
|
|
171
|
+
onUnsticky: (aggKey: string, splitBy: string) => void;
|
|
172
|
+
onKeydown: (d3Event: any, awesompleteObject: any) => void;
|
|
173
|
+
onInput: (searchText: string, event: any) => void;
|
|
174
|
+
brushHandlesVisible: boolean;
|
|
175
|
+
hideChartControlPanel: boolean;
|
|
176
|
+
offset: any;
|
|
177
|
+
is24HourTime: () => boolean;
|
|
178
|
+
includeTimezones: boolean;
|
|
179
|
+
availabilityLeftMargin: number;
|
|
180
|
+
onInstanceClick: (instance: any) => any;
|
|
181
|
+
interpolationFunction: any;
|
|
182
|
+
includeEnvelope: boolean;
|
|
183
|
+
canDownload: boolean;
|
|
184
|
+
withContextMenu: boolean;
|
|
185
|
+
autoTriggerBrushContextMenu: boolean;
|
|
186
|
+
includeDots: boolean;
|
|
187
|
+
yExtent: any;
|
|
188
|
+
ellipsisItems: any[];
|
|
189
|
+
markers: any[];
|
|
190
|
+
onMarkersChange: (markers: Array<number>) => any;
|
|
191
|
+
xAxisTimeFormat: (d: any, i: any, isFirst: any, isLast: any) => {};
|
|
192
|
+
spMeasures: string[];
|
|
193
|
+
scatterPlotRadius: number[];
|
|
194
|
+
spAxisLabels: string[];
|
|
195
|
+
brushRangeVisible: boolean;
|
|
196
|
+
strings: any;
|
|
197
|
+
dateLocale: string;
|
|
198
|
+
defaultAvailabilityZoomRangeMillis: number;
|
|
199
|
+
warmStoreRange: string[];
|
|
200
|
+
initialValue: any;
|
|
201
|
+
bucketSizeMillis: number;
|
|
202
|
+
updateInterval: number;
|
|
203
|
+
dTPIsModal: boolean;
|
|
204
|
+
numberOfColors: number;
|
|
205
|
+
defaultColor: any;
|
|
206
|
+
isColorValueHidden: boolean;
|
|
207
|
+
onClick: (d3Event: any) => void;
|
|
208
|
+
onSelect: (value: any) => void;
|
|
209
|
+
colors: string[];
|
|
210
|
+
swimLaneOptions: {
|
|
211
|
+
[key: number]: swimLaneOption;
|
|
212
|
+
};
|
|
213
|
+
hierarchyOptions: any;
|
|
214
|
+
onError: (titleKey: any, messageKey: any, xhr: any) => any;
|
|
215
|
+
labelSeriesWithMarker: boolean;
|
|
216
|
+
timeSeriesIdProperties: {
|
|
217
|
+
name: string;
|
|
218
|
+
type: any;
|
|
219
|
+
}[];
|
|
220
|
+
shouldSticky: boolean;
|
|
221
|
+
isRelative: any;
|
|
222
|
+
currentQuickTime: any;
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
declare class Component {
|
|
227
|
+
renderTarget: any;
|
|
228
|
+
protected currentTheme: string;
|
|
229
|
+
readonly TRANSDURATION: number;
|
|
230
|
+
usesSeconds: boolean;
|
|
231
|
+
usesMillis: boolean;
|
|
232
|
+
protected chartOptions: ChartOptions;
|
|
233
|
+
protected getString(str: string): any;
|
|
234
|
+
constructor(renderTarget: Element);
|
|
235
|
+
protected themify(targetElement: any, theme: string): void;
|
|
236
|
+
protected teardropD: (width: any, height: any) => string;
|
|
237
|
+
protected tooltipFormat(d: any, text: any, measureFormat: TooltipMeasureFormat, xyrMeasures?: any): void;
|
|
238
|
+
protected createTooltipSeriesInfo(d: any, group: any, cDO: any): void;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
declare class ChartComponentData {
|
|
242
|
+
data: any;
|
|
243
|
+
displayState: any;
|
|
244
|
+
timeArrays: any;
|
|
245
|
+
visibleTSCount: number;
|
|
246
|
+
visibleTAs: any;
|
|
247
|
+
allValues: any;
|
|
248
|
+
allNumericValues: any;
|
|
249
|
+
filteredAggregates: any;
|
|
250
|
+
usesSeconds: boolean;
|
|
251
|
+
usesMillis: boolean;
|
|
252
|
+
fromMillis: number;
|
|
253
|
+
toMillis: number;
|
|
254
|
+
stickiedKey: any;
|
|
255
|
+
allTimestampsArray: any;
|
|
256
|
+
isFromHeatmap: boolean;
|
|
257
|
+
constructor();
|
|
258
|
+
protected getSwimlane: (aggKey: any) => any;
|
|
259
|
+
protected setAllTimestampsArray(): void;
|
|
260
|
+
getDataType(aggKey: any): any;
|
|
261
|
+
private fillColors;
|
|
262
|
+
private getVisibleType;
|
|
263
|
+
mergeDataToDisplayStateAndTimeArrays(data: any, aggregateExpressionOptions?: any): void;
|
|
264
|
+
private determineMeasureTypes;
|
|
265
|
+
getTemporalShiftStringTuple(aggKey: any): any[];
|
|
266
|
+
getTemporalShiftMillis(aggKey: any): number;
|
|
267
|
+
doesTimeArrayUseSeconds(timeArray: any): any;
|
|
268
|
+
doesTimeArrayUseMillis(timeArray: any): any;
|
|
269
|
+
setAllValuesAndVisibleTAs(): Date[];
|
|
270
|
+
findLastTimestampWithValue(aggKey: any, splitBy: any): any;
|
|
271
|
+
private findFirstBucket;
|
|
272
|
+
private getNumberOfPaddedBuckets;
|
|
273
|
+
convertAggregateToArray(agg: any, aggKey: string, aggName: string, splitBy: string, from: Date, to: Date, bucketSize: number, shiftValue: number): Array<any>;
|
|
274
|
+
isSplitByVisible(aggI: string, splitBy: string): any;
|
|
275
|
+
isPossibleEnvelope(aggKey: string, splitBy: string): boolean;
|
|
276
|
+
getVisibleMeasure(aggI: string, splitBy: string): any;
|
|
277
|
+
getAggVisible(aggKey: any): boolean;
|
|
278
|
+
getSplitByVisible(aggKey: any, splitBy: any): any;
|
|
279
|
+
aggHasVisibleSplitBys(aggKey: any): boolean;
|
|
280
|
+
valueAtTS(aggKey: any, splitByName: any, ts: any): any;
|
|
281
|
+
setFilteredAggregates(): void;
|
|
282
|
+
private guessValueType;
|
|
283
|
+
generateCSVString(offset?: number, dateLocale?: string, spMeasures?: any): string;
|
|
284
|
+
getVisibilityState(): any[];
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
declare class EllipsisMenu extends Component {
|
|
288
|
+
private containerElement;
|
|
289
|
+
private buttonElement;
|
|
290
|
+
private menuElement;
|
|
291
|
+
private menuItems;
|
|
292
|
+
private menuIsVisible;
|
|
293
|
+
constructor(renderTarget: Element);
|
|
294
|
+
private createIconPath;
|
|
295
|
+
setMenuVisibility(isVisible: any): void;
|
|
296
|
+
private focusOnMenuItem;
|
|
297
|
+
private menuItemKeyHandler;
|
|
298
|
+
render(menuItems: any, options?: any): void;
|
|
299
|
+
private setMenuItems;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
declare class Legend extends Component {
|
|
303
|
+
drawChart: any;
|
|
304
|
+
legendElement: any;
|
|
305
|
+
legendWidth: number;
|
|
306
|
+
private legendState;
|
|
307
|
+
private stickySeriesAction;
|
|
308
|
+
private labelMouseover;
|
|
309
|
+
private labelMouseout;
|
|
310
|
+
private svgSelection;
|
|
311
|
+
private chartComponentData;
|
|
312
|
+
constructor(drawChart: any, renderTarget: Element, legendWidth: number);
|
|
313
|
+
private labelMouseoutWrapper;
|
|
314
|
+
private toggleSplitByVisible;
|
|
315
|
+
triggerSplitByFocus(aggKey: string, splitBy: string): void;
|
|
316
|
+
private getHeightPerSplitBy;
|
|
317
|
+
private createGradient;
|
|
318
|
+
private isNonNumeric;
|
|
319
|
+
private createNonNumericColorKey;
|
|
320
|
+
private createCategoricalColorKey;
|
|
321
|
+
private createEventsColorKey;
|
|
322
|
+
private renderSplitBys;
|
|
323
|
+
private toggleSticky;
|
|
324
|
+
draw(legendState: string, chartComponentData: any, labelMouseover: any, svgSelection: any, options: any, labelMouseoutAction?: any, stickySeriesAction?: any, event?: any): void;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
declare class ChartComponent extends Component {
|
|
328
|
+
readonly MINWIDTH = 350;
|
|
329
|
+
protected MINHEIGHT: number;
|
|
330
|
+
readonly CONTROLSWIDTH = 200;
|
|
331
|
+
readonly GUTTERWIDTH = 6;
|
|
332
|
+
data: any;
|
|
333
|
+
aggregateExpressionOptions: any;
|
|
334
|
+
protected chartControlsPanel: any;
|
|
335
|
+
protected ellipsisContainer: any;
|
|
336
|
+
protected ellipsisMenu: EllipsisMenu;
|
|
337
|
+
protected legendObject: Legend;
|
|
338
|
+
protected width: number;
|
|
339
|
+
protected chartWidth: number;
|
|
340
|
+
protected svgSelection: any;
|
|
341
|
+
protected legendWidth: number;
|
|
342
|
+
draw: any;
|
|
343
|
+
chartComponentData: ChartComponentData;
|
|
344
|
+
chartMargins: any;
|
|
345
|
+
constructor(renderTarget: Element);
|
|
346
|
+
showGrid(): void;
|
|
347
|
+
gatedShowGrid(): void;
|
|
348
|
+
hideGrid(): void;
|
|
349
|
+
isGridVisible(): boolean;
|
|
350
|
+
protected drawEllipsisMenu(additionalEllipsisItems?: any[]): void;
|
|
351
|
+
downloadAsCSV: (isScatterPlot?: boolean) => void;
|
|
352
|
+
protected removeControlPanel(): void;
|
|
353
|
+
protected removeEllipsisMenu(): void;
|
|
354
|
+
protected getWidth(): number;
|
|
355
|
+
getVisibilityState(): any[];
|
|
356
|
+
protected ellipsisItemsExist(): boolean;
|
|
357
|
+
protected getDataType(aggKey: any): any;
|
|
358
|
+
protected getCDOFromAggKey(aggKey: any): any;
|
|
359
|
+
protected getFilteredMeasures(measureList: any, visibleMeasure: any, measureFormat: TooltipMeasureFormat, xyrMeasures?: any): any;
|
|
360
|
+
protected convertToTimeValueFormat(d: any): {
|
|
361
|
+
aggregateKey: any;
|
|
362
|
+
splitBy: any;
|
|
363
|
+
aggregateName: any;
|
|
364
|
+
measures: {};
|
|
365
|
+
};
|
|
366
|
+
protected formatDate(date: any, shiftMillis: any): string;
|
|
367
|
+
protected tooltipFormat(d: any, text: any, measureFormat: TooltipMeasureFormat, xyrMeasures?: any): void;
|
|
368
|
+
protected getSVGWidth(): any;
|
|
369
|
+
protected getChartWidth(legendWidth?: number): number;
|
|
370
|
+
protected calcSVGWidth(): any;
|
|
371
|
+
protected setControlsPanelWidth(): void;
|
|
372
|
+
protected legendPostRenderProcess(legendState: string, chartElement: any, shouldSetControlsWidth: boolean, splitLegendOnDrag?: any): void;
|
|
373
|
+
protected splitLegendAndSVG(chartElement: any, onDrag?: () => void): void;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
declare class ChartVisualizationComponent extends ChartComponent {
|
|
377
|
+
constructor(renderTarget: Element);
|
|
378
|
+
render(data: any, options: any, aggregateExpressionOptions: any): void;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
declare class TemporalXAxisComponent extends ChartVisualizationComponent {
|
|
382
|
+
protected xAxis: any;
|
|
383
|
+
protected x: any;
|
|
384
|
+
protected chartHeight: any;
|
|
385
|
+
private smartTickFormat;
|
|
386
|
+
private xAxisEntered;
|
|
387
|
+
constructor(renderTarget: Element);
|
|
388
|
+
private createOffsetXAxis;
|
|
389
|
+
private createXAxis;
|
|
390
|
+
private getXTickNumber;
|
|
391
|
+
private labelFormatUsesSeconds;
|
|
392
|
+
private labelFormatUsesMillis;
|
|
393
|
+
updateXAxis(forceFirst?: boolean, forceLast?: boolean): void;
|
|
394
|
+
private updateAxisText;
|
|
395
|
+
protected drawXAxis(yOffset: any, snapFirst?: boolean, snapLast?: boolean): void;
|
|
396
|
+
private isSameDate;
|
|
397
|
+
private isTickSpanGreaterThan;
|
|
398
|
+
private createSmartTickFormat;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
declare class LineChartData extends ChartComponentData {
|
|
402
|
+
timeMap: any;
|
|
403
|
+
get yExtents(): Array<any>;
|
|
404
|
+
private _yExtents;
|
|
405
|
+
setYExtents(idx: number, value: [number, number]): void;
|
|
406
|
+
resetYExtents(): void;
|
|
407
|
+
setTimeMap(): void;
|
|
408
|
+
constructor();
|
|
409
|
+
mergeDataToDisplayStateAndTimeArrays(data: any, aggregateExpressionOptions?: any): void;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
declare class LineChart extends TemporalXAxisComponent {
|
|
413
|
+
private targetElement;
|
|
414
|
+
private focus;
|
|
415
|
+
private horizontalValueBox;
|
|
416
|
+
private verticalValueBox;
|
|
417
|
+
private horizontalValueBar;
|
|
418
|
+
private contextMenu;
|
|
419
|
+
private brushContextMenu;
|
|
420
|
+
private setDisplayStateFromData;
|
|
421
|
+
private minBrushWidth;
|
|
422
|
+
private strokeOpacity;
|
|
423
|
+
private nonFocusStrokeOpactiy;
|
|
424
|
+
chartComponentData: LineChartData;
|
|
425
|
+
private surpressBrushTimeSet;
|
|
426
|
+
private hasStackedButton;
|
|
427
|
+
private stackedButton;
|
|
428
|
+
private visibleAggCount;
|
|
429
|
+
private swimLaneLabelGroup;
|
|
430
|
+
private horizontalLabelOffset;
|
|
431
|
+
private tooltip;
|
|
432
|
+
private height;
|
|
433
|
+
private xLowerBound;
|
|
434
|
+
private xUpperBound;
|
|
435
|
+
private y;
|
|
436
|
+
private yMap;
|
|
437
|
+
private line;
|
|
438
|
+
private areaPath;
|
|
439
|
+
private envelope;
|
|
440
|
+
private voronoi;
|
|
441
|
+
private possibleTimesArray;
|
|
442
|
+
private colorMap;
|
|
443
|
+
private markers;
|
|
444
|
+
private seriesLabelsMarker;
|
|
445
|
+
private markerGuidMap;
|
|
446
|
+
private isDroppingMarker;
|
|
447
|
+
private activeMarker;
|
|
448
|
+
private brush;
|
|
449
|
+
private brushElem;
|
|
450
|
+
brushStartTime: Date;
|
|
451
|
+
brushEndTime: Date;
|
|
452
|
+
private brushStartPosition;
|
|
453
|
+
private brushEndPosition;
|
|
454
|
+
private hasBrush;
|
|
455
|
+
private isClearingBrush;
|
|
456
|
+
private previousAggregateData;
|
|
457
|
+
private previousIncludeDots;
|
|
458
|
+
private voronoiDiagram;
|
|
459
|
+
private voronoiRegion;
|
|
460
|
+
private mx;
|
|
461
|
+
private my;
|
|
462
|
+
private focusedAggKey;
|
|
463
|
+
private focusedSplitby;
|
|
464
|
+
private plotComponents;
|
|
465
|
+
private isFirstMarkerDrop;
|
|
466
|
+
private xOffset;
|
|
467
|
+
private swimlaneYExtents;
|
|
468
|
+
private swimLaneContents;
|
|
469
|
+
private originalSwimLanes;
|
|
470
|
+
private originalSwimLaneOptions;
|
|
471
|
+
constructor(renderTarget: Element);
|
|
472
|
+
LineChart(): void;
|
|
473
|
+
getBrushPositions(): {
|
|
474
|
+
leftPos: any;
|
|
475
|
+
rightPos: any;
|
|
476
|
+
};
|
|
477
|
+
private resetValueElementsFocus;
|
|
478
|
+
private hideFocusElements;
|
|
479
|
+
private voronoiMouseout;
|
|
480
|
+
private createMarkerInstructions;
|
|
481
|
+
private destroyMarkerInstructions;
|
|
482
|
+
triggerLineFocus: (aggKey: string, splitBy: string) => void;
|
|
483
|
+
private getMouseoverFunction;
|
|
484
|
+
private getMouseoutFunction;
|
|
485
|
+
private focusOnlyHoveredSeries;
|
|
486
|
+
private discreteEventsMouseover;
|
|
487
|
+
private discreteEventsMouseout;
|
|
488
|
+
private mismatchingChartType;
|
|
489
|
+
private categoricalMouseover;
|
|
490
|
+
private categoricalMouseout;
|
|
491
|
+
private setHorizontalValuePosAndText;
|
|
492
|
+
private setVerticalValueAndPosition;
|
|
493
|
+
private voronoiMouseover;
|
|
494
|
+
private getYExtent;
|
|
495
|
+
private getFilteredValues;
|
|
496
|
+
private getFilteredAndSticky;
|
|
497
|
+
stickyOrUnstickySeries: (aggKey: any, splitBy: any) => void;
|
|
498
|
+
unstickySeries: (aggKey: any, splitby?: any) => void;
|
|
499
|
+
private stickySeries;
|
|
500
|
+
private getHandleHeight;
|
|
501
|
+
private getXPosition;
|
|
502
|
+
setBrushStartTime(startTime: any): void;
|
|
503
|
+
setBrushEndTime(endTime: any): void;
|
|
504
|
+
setBrush(): void;
|
|
505
|
+
private findClosestValidTime;
|
|
506
|
+
private getMarkerMarginLeft;
|
|
507
|
+
exportMarkers(): void;
|
|
508
|
+
private createOnMarkerChange;
|
|
509
|
+
private renderMarker;
|
|
510
|
+
private sortMarkers;
|
|
511
|
+
private getAllLinesTransitionsComplete;
|
|
512
|
+
private importMarkers;
|
|
513
|
+
private createSeriesLabelsMarker;
|
|
514
|
+
private renderSeriesLabelsMarker;
|
|
515
|
+
private renderAllMarkers;
|
|
516
|
+
private focusOnEllipsis;
|
|
517
|
+
private filteredValueExist;
|
|
518
|
+
addMarker: () => void;
|
|
519
|
+
private voronoiExists;
|
|
520
|
+
private voronoiMousemove;
|
|
521
|
+
private voronoiContextMenu;
|
|
522
|
+
private voronoiClick;
|
|
523
|
+
private getValueOfVisible;
|
|
524
|
+
private brushBrush;
|
|
525
|
+
private brushEnd;
|
|
526
|
+
private focusMarkerLabel;
|
|
527
|
+
labelMouseout: () => void;
|
|
528
|
+
labelMouseover: (aggregateKey: string, splitBy?: string) => void;
|
|
529
|
+
private drawBrushRange;
|
|
530
|
+
private getSVGLeftOffset;
|
|
531
|
+
updateBrushRange(): void;
|
|
532
|
+
deleteBrushRange(): void;
|
|
533
|
+
getYExtents(): any[];
|
|
534
|
+
private nextStackedState;
|
|
535
|
+
private clearBrush;
|
|
536
|
+
private getVisibleNumerics;
|
|
537
|
+
private getSwimlaneOffsets;
|
|
538
|
+
private setSwimLaneYExtents;
|
|
539
|
+
private getEventsCollapsedSwimlaneHeight;
|
|
540
|
+
private createYOffsets;
|
|
541
|
+
private heightNonNumeric;
|
|
542
|
+
private getGroupYExtent;
|
|
543
|
+
private getAggAxisType;
|
|
544
|
+
private adjustSwimLanes;
|
|
545
|
+
private overwriteSwimLanes;
|
|
546
|
+
private getHorizontalMarkersWithYScales;
|
|
547
|
+
private getAdditionalOffsetFromHorizontalMargin;
|
|
548
|
+
private drawHorizontalMarkers;
|
|
549
|
+
private createSwimlaneLabels;
|
|
550
|
+
render(data: any, options: any, aggregateExpressionOptions: any): void;
|
|
551
|
+
private createPlot;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
declare class AvailabilityChart extends ChartComponent {
|
|
555
|
+
private fromMillis;
|
|
556
|
+
private toMillis;
|
|
557
|
+
private selectedFromMillis;
|
|
558
|
+
private selectedToMillis;
|
|
559
|
+
private zoomedFromMillis;
|
|
560
|
+
private zoomedToMillis;
|
|
561
|
+
private minBrushWidth;
|
|
562
|
+
private color;
|
|
563
|
+
private transformedAvailability;
|
|
564
|
+
private minGhostWidth;
|
|
565
|
+
private timeContainer;
|
|
566
|
+
private dateTimeButton;
|
|
567
|
+
private margins;
|
|
568
|
+
private targetElement;
|
|
569
|
+
private brushMoveAction;
|
|
570
|
+
private brushContextMenuActions;
|
|
571
|
+
private timePickerLineChart;
|
|
572
|
+
private timePickerContainer;
|
|
573
|
+
private timePickerChart;
|
|
574
|
+
private timePickerTextContainer;
|
|
575
|
+
private sparkLineChart;
|
|
576
|
+
private ae;
|
|
577
|
+
private rawAvailability;
|
|
578
|
+
private maxBuckets;
|
|
579
|
+
private bucketSize;
|
|
580
|
+
private dateTimePickerContainer;
|
|
581
|
+
private dateTimePicker;
|
|
582
|
+
constructor(renderTarget: Element);
|
|
583
|
+
private getMinZoomedRange;
|
|
584
|
+
private zoom;
|
|
585
|
+
private setChartOptions;
|
|
586
|
+
private dateTimePickerAction;
|
|
587
|
+
private createDisplayBuckets;
|
|
588
|
+
private setRangeVariables;
|
|
589
|
+
render(transformedAvailability: any, chartOptions: any, rawAvailability?: any): void;
|
|
590
|
+
private buildZoomButtons;
|
|
591
|
+
private setSelectedMillis;
|
|
592
|
+
private renderDateTimeButton;
|
|
593
|
+
private setFromAndToTimes;
|
|
594
|
+
private drawGhost;
|
|
595
|
+
private drawWarmRange;
|
|
596
|
+
private buildCompactFromAndTo;
|
|
597
|
+
private offsetUTC;
|
|
598
|
+
private buildFromAndToContainer;
|
|
599
|
+
private setTicks;
|
|
600
|
+
private setAvailabilityRange;
|
|
601
|
+
setBrush(fromMillis: any, toMillis: any, isFromButton?: boolean): void;
|
|
602
|
+
private createSparkLineOptions;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
declare class GroupedBarChartData extends ChartComponentData {
|
|
606
|
+
timestamp: any;
|
|
607
|
+
valuesAtTimestamp: any;
|
|
608
|
+
valuesOfVisibleType: Array<any>;
|
|
609
|
+
aggsSeries: any;
|
|
610
|
+
globalMax: number;
|
|
611
|
+
globalMin: number;
|
|
612
|
+
stackedAggregateObject: any;
|
|
613
|
+
constructor();
|
|
614
|
+
mergeDataToDisplayStateAndTimeArrays(data: any, timestamp: any, aggregateExpressionOptions?: any): void;
|
|
615
|
+
private stackMin;
|
|
616
|
+
private stackMax;
|
|
617
|
+
setEntireRangeData(scaledToCurrentTime: any): void;
|
|
618
|
+
setValuesAtTimestamp(): void;
|
|
619
|
+
getValueContainerData(aggKey: any): Array<any>;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
declare class PieChartData extends GroupedBarChartData {
|
|
623
|
+
flatValueArray: any;
|
|
624
|
+
visibleValuesSum: number;
|
|
625
|
+
constructor();
|
|
626
|
+
mergeDataToDisplayStateAndTimeArrays(data: any, timestamp: any, aggregateExpressionOptions?: any): void;
|
|
627
|
+
updateFlatValueArray(timestamp: any): void;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
declare class PieChart extends ChartVisualizationComponent {
|
|
631
|
+
private contextMenu;
|
|
632
|
+
chartComponentData: PieChartData;
|
|
633
|
+
constructor(renderTarget: Element);
|
|
634
|
+
PieChart(): void;
|
|
635
|
+
render(data: any, options: any, aggregateExpressionOptions: any): void;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
declare class ScatterPlotData extends GroupedBarChartData {
|
|
639
|
+
temporalDataArray: any;
|
|
640
|
+
extents: any;
|
|
641
|
+
private extentsSet;
|
|
642
|
+
constructor();
|
|
643
|
+
/******** SETS EXTENT OF EACH DATA MEASURE -- MEASURES UPDATED WHEN RENDER CALLED OUTSIDE OF TEMPORAL ********/
|
|
644
|
+
setExtents(measures: any, forceReset?: boolean): void;
|
|
645
|
+
/******** UPDATE EXTENTS BASED ON VISIBLE DATA ********/
|
|
646
|
+
updateExtents(measures: any): void;
|
|
647
|
+
/******** UPDATES CHART DATA, ALL TIMESTAMPS, AND VALUES AT THE CURRENT TIMESTAMP ********/
|
|
648
|
+
mergeDataToDisplayStateAndTimeArrays(data: any, timestamp: any, aggregateExpressionOptions?: any): void;
|
|
649
|
+
/******** UPDATES DATA TO BE DRAWN -- IF SCATTER IS TEMPORAL, FLATTENS ALL TIMESTAMP DATA ********/
|
|
650
|
+
updateTemporalDataArray(isTemporal: boolean): void;
|
|
651
|
+
/******** HELPER TO FETCH DATA AT THE CURRENT TIMESTAMP AND BUILD AN OBJECT FOR THAT TIMESTAMP ********/
|
|
652
|
+
private updateTemporal;
|
|
653
|
+
/******** OVERRIDES GROUPEDBARCHARTDATA -- UPDATES VALUES AT TIMESTAMP WITH MEASURES & TIMESTAMP********/
|
|
654
|
+
setValuesAtTimestamp(): void;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
declare class ScatterPlot extends ChartVisualizationComponent {
|
|
658
|
+
private activeDot;
|
|
659
|
+
private chartHeight;
|
|
660
|
+
private controlsOffset;
|
|
661
|
+
private focus;
|
|
662
|
+
private focusedAggKey;
|
|
663
|
+
private focusedSplitBy;
|
|
664
|
+
private focusedSite;
|
|
665
|
+
private g;
|
|
666
|
+
private height;
|
|
667
|
+
private measures;
|
|
668
|
+
private pointWrapper;
|
|
669
|
+
private lineWrapper;
|
|
670
|
+
private rMeasure;
|
|
671
|
+
private rScale;
|
|
672
|
+
private slider;
|
|
673
|
+
private sliderWrapper;
|
|
674
|
+
private targetElement;
|
|
675
|
+
private tooltip;
|
|
676
|
+
private voronoi;
|
|
677
|
+
private voronoiDiagram;
|
|
678
|
+
private voronoiGroup;
|
|
679
|
+
private xAxis;
|
|
680
|
+
private xMeasure;
|
|
681
|
+
private xScale;
|
|
682
|
+
private yAxis;
|
|
683
|
+
private yMeasure;
|
|
684
|
+
private yScale;
|
|
685
|
+
private xAxisLabel;
|
|
686
|
+
private yAxisLabel;
|
|
687
|
+
readonly lowOpacity = 0.15;
|
|
688
|
+
readonly standardOpacity = 0.6;
|
|
689
|
+
private focusOpacity;
|
|
690
|
+
readonly standardStroke = 1;
|
|
691
|
+
readonly lowStroke = 0.3;
|
|
692
|
+
chartComponentData: ScatterPlotData;
|
|
693
|
+
constructor(renderTarget: Element);
|
|
694
|
+
ScatterPlot(): void;
|
|
695
|
+
render(data: any, options: any, aggregateExpressionOptions: any, fromSlider?: boolean): void;
|
|
696
|
+
private getSliderWidth;
|
|
697
|
+
protected tooltipFormat(d: any, text: any, measureFormat: TooltipMeasureFormat, xyrMeasures: any): void;
|
|
698
|
+
/******** DRAW UPDATE FUNCTION ********/
|
|
699
|
+
draw: (isFromResize?: boolean, event?: any) => void;
|
|
700
|
+
/******** DRAW CONNECTING LINES BETWEEN POINTS ********/
|
|
701
|
+
private drawConnectingLines;
|
|
702
|
+
/******** CHECK VALIDITY OF EXTENTS ********/
|
|
703
|
+
private checkExtentValidity;
|
|
704
|
+
/******** CREATE VORONOI DIAGRAM FOR MOUSE EVENTS ********/
|
|
705
|
+
private drawVoronoi;
|
|
706
|
+
/******** STICKY/UNSTICKY DATA GROUPS ON VORONOI DIAGRAM CLICK ********/
|
|
707
|
+
private voronoiClick;
|
|
708
|
+
/******** UPDATE STICKY SPLITBY ********/
|
|
709
|
+
stickySeries: (aggregateKey: string, splitBy?: string) => void;
|
|
710
|
+
/******** HIGHLIGHT DOT TARGETED BY CROSSHAIRS WITH BLACK / WHITE STROKE BORDER ********/
|
|
711
|
+
private highlightDot;
|
|
712
|
+
/******** GET UNIQUE STRING HASH ID FOR EACH DOT USING DATA ATTRIBUTES ********/
|
|
713
|
+
private getClassHash;
|
|
714
|
+
/******** UNHIGHLIGHT ACTIVE DOT ********/
|
|
715
|
+
private unhighlightDot;
|
|
716
|
+
/******** EFFICIENTLY SWAP NEW FOCUSED GROUP WITH OLD FOCUSED GROUP ********/
|
|
717
|
+
private labelMouseMove;
|
|
718
|
+
/******** DRAW CROSSHAIRS, TOOLTIP, AND LEGEND FOCUS ********/
|
|
719
|
+
private voronoiMouseMove;
|
|
720
|
+
/******** HIDE TOOLTIP AND CROSSHAIRS ********/
|
|
721
|
+
private voronoiMouseOut;
|
|
722
|
+
/******** FILTER DATA BY VISIBLE AND STICKIED ********/
|
|
723
|
+
private getVoronoiData;
|
|
724
|
+
/******** HIGHLIGHT FOCUSED GROUP ********/
|
|
725
|
+
private labelMouseOver;
|
|
726
|
+
/******** UNHIGHLIGHT FOCUSED GROUP ********/
|
|
727
|
+
private labelMouseOut;
|
|
728
|
+
/******** FILTER DATA, ONLY KEEPING POINTS WITH ALL REQUIRED MEASURES ********/
|
|
729
|
+
private cleanData;
|
|
730
|
+
/******** UPDATE CHART DIMENSIONS ********/
|
|
731
|
+
private setWidthAndHeight;
|
|
732
|
+
/******** SCALE AND DRAW AXIS ********/
|
|
733
|
+
private drawAxis;
|
|
734
|
+
/******** DRAW X AND Y AXIS LABELS ********/
|
|
735
|
+
private drawAxisLabels;
|
|
736
|
+
/******** DRAW TOOLTIP IF ENABLED ********/
|
|
737
|
+
private drawTooltip;
|
|
738
|
+
/******** HELPERS TO FORMAT TIME DISPLAY ********/
|
|
739
|
+
private labelFormatUsesSeconds;
|
|
740
|
+
private labelFormatUsesMillis;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
declare class GroupedBarChart extends ChartVisualizationComponent {
|
|
744
|
+
private contextMenu;
|
|
745
|
+
private setStateFromData;
|
|
746
|
+
private timestamp;
|
|
747
|
+
private isStacked;
|
|
748
|
+
private stackedButton;
|
|
749
|
+
chartComponentData: GroupedBarChartData;
|
|
750
|
+
constructor(renderTarget: Element);
|
|
751
|
+
GroupedBarChart(): void;
|
|
752
|
+
render(data: any, options: any, aggregateExpressionOptions: any): void;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
declare class Grid extends Component {
|
|
756
|
+
private gridComponent;
|
|
757
|
+
private rowLabelKey;
|
|
758
|
+
private colorKey;
|
|
759
|
+
private aggIndexKey;
|
|
760
|
+
private chartComponentData;
|
|
761
|
+
private draw;
|
|
762
|
+
private closeButton;
|
|
763
|
+
private filteredTimestamps;
|
|
764
|
+
private table;
|
|
765
|
+
private tableHeaderRow;
|
|
766
|
+
private tableContentRows;
|
|
767
|
+
usesSeconds: boolean;
|
|
768
|
+
usesMillis: boolean;
|
|
769
|
+
constructor(renderTarget: Element);
|
|
770
|
+
static hideGrid(renderTarget: any): void;
|
|
771
|
+
static showGrid(renderTarget: any, chartOptions: ChartOptions, aggregateExpressionOptions: any, chartComponentData: ChartComponentData): void;
|
|
772
|
+
static createGridEllipsisOption(renderTarget: any, chartOptions: ChartOptions, aggregateExpressionOptions: any, chartComponentData: ChartComponentData, labelText?: string): {
|
|
773
|
+
iconClass: string;
|
|
774
|
+
label: string;
|
|
775
|
+
action: () => void;
|
|
776
|
+
description: string;
|
|
777
|
+
};
|
|
778
|
+
Grid(): void;
|
|
779
|
+
private cellClass;
|
|
780
|
+
focus: (rowIdx: any, colIdx: any) => void;
|
|
781
|
+
renderFromAggregates(data: any, options: any, aggregateExpressionOptions: any, chartComponentData: any): void;
|
|
782
|
+
private getRowData;
|
|
783
|
+
private convertSeriesToGridData;
|
|
784
|
+
private getFormattedDate;
|
|
785
|
+
private setFilteredTimestamps;
|
|
786
|
+
private addHeaderCells;
|
|
787
|
+
private addValueCells;
|
|
788
|
+
render(data: any, options: any, aggregateExpressionOptions: any, chartComponentData?: ChartComponentData): void;
|
|
789
|
+
private arrowNavigate;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
declare class Slider extends Component {
|
|
793
|
+
private sliderSVG;
|
|
794
|
+
sliderTextDiv: any;
|
|
795
|
+
private xScale;
|
|
796
|
+
private data;
|
|
797
|
+
private width;
|
|
798
|
+
private sliderWidth;
|
|
799
|
+
private selectedLabel;
|
|
800
|
+
private isAscendingTimePeriods;
|
|
801
|
+
private margins;
|
|
802
|
+
private height;
|
|
803
|
+
constructor(renderTarget: Element);
|
|
804
|
+
Slider(): void;
|
|
805
|
+
private getXPositionOfLabel;
|
|
806
|
+
private determineIfAscendingTimePeriods;
|
|
807
|
+
render(data: Array<any>, options: any, width: number, selectedLabel?: string): void;
|
|
808
|
+
remove(): void;
|
|
809
|
+
private onDrag;
|
|
810
|
+
private onDragEnd;
|
|
811
|
+
private setSelectedLabelAndGetLabelAction;
|
|
812
|
+
private setSliderTextDivLabel;
|
|
813
|
+
private setStateFromLabel;
|
|
814
|
+
private moveLeft;
|
|
815
|
+
private moveRight;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
declare class HierarchyNode {
|
|
819
|
+
name: string;
|
|
820
|
+
markedName: string;
|
|
821
|
+
children: Array<HierarchyNode>;
|
|
822
|
+
parent: HierarchyNode;
|
|
823
|
+
isExpanded: boolean;
|
|
824
|
+
isSelected: boolean;
|
|
825
|
+
isLeaf: boolean;
|
|
826
|
+
childrenInFilter: boolean;
|
|
827
|
+
selfInFilter: boolean;
|
|
828
|
+
color: (n: HierarchyNode) => string;
|
|
829
|
+
click: (n: any) => void;
|
|
830
|
+
isLeafParent: boolean;
|
|
831
|
+
level: number;
|
|
832
|
+
constructor(name: string, level: number);
|
|
833
|
+
filter(filterText: any): void;
|
|
834
|
+
traverse(condition: (n: HierarchyNode) => boolean): any[];
|
|
835
|
+
colorify(el: any): void;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
declare class Hierarchy extends Component {
|
|
839
|
+
private filterText;
|
|
840
|
+
private root;
|
|
841
|
+
private withContextMenu;
|
|
842
|
+
private contextMenu;
|
|
843
|
+
private clickedNode;
|
|
844
|
+
private hierarchyList;
|
|
845
|
+
constructor(renderTarget: Element);
|
|
846
|
+
render(data: any, options: any): void;
|
|
847
|
+
expandCollapseList: (node: HierarchyNode, el: any, isFromClick?: boolean, event?: any) => void;
|
|
848
|
+
buildTree(data: any): HierarchyNode;
|
|
849
|
+
private closeContextMenu;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
declare class ChartDataOptions {
|
|
853
|
+
searchSpan: any;
|
|
854
|
+
color: string | Function;
|
|
855
|
+
alias: string;
|
|
856
|
+
contextMenu: any;
|
|
857
|
+
measureTypes: Array<string>;
|
|
858
|
+
interpolationFunction: string;
|
|
859
|
+
yExtent: any;
|
|
860
|
+
includeEnvelope: boolean;
|
|
861
|
+
includeDots: boolean;
|
|
862
|
+
visibilityState: Array<any>;
|
|
863
|
+
timeShift: string;
|
|
864
|
+
startAt: string;
|
|
865
|
+
dataType: string;
|
|
866
|
+
valueMapping: any;
|
|
867
|
+
height: number;
|
|
868
|
+
onElementClick: any;
|
|
869
|
+
eventElementType: any;
|
|
870
|
+
rollupCategoricalValues: boolean;
|
|
871
|
+
tooltipAttributes: Array<any>;
|
|
872
|
+
positionX: number;
|
|
873
|
+
positionY: number;
|
|
874
|
+
swimLane: number;
|
|
875
|
+
variableAlias: any;
|
|
876
|
+
connectPoints: boolean;
|
|
877
|
+
pointConnectionMeasure: string;
|
|
878
|
+
positionXVariableName: string;
|
|
879
|
+
positionYVariableName: string;
|
|
880
|
+
image: string;
|
|
881
|
+
isRawData: boolean;
|
|
882
|
+
isVariableAliasShownOnTooltip: boolean;
|
|
883
|
+
horizontalMarkers: Array<HorizontalMarker>;
|
|
884
|
+
constructor(optionsObject: Object);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
declare class AggregateExpression extends ChartDataOptions {
|
|
888
|
+
measureObject: any;
|
|
889
|
+
splitByObject: any;
|
|
890
|
+
predicate: Object;
|
|
891
|
+
visibleSplitByCap: number;
|
|
892
|
+
constructor(predicateObject: any, measureObject: any, measureTypes: Array<string>, searchSpan: any, splitByObject: any, colorOrOptionsObject: any, alias?: string, contextMenu?: Array<any>);
|
|
893
|
+
toTsx(roundFromTo?: boolean): {};
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
declare class Heatmap extends TemporalXAxisComponent {
|
|
897
|
+
private lineHeight;
|
|
898
|
+
private splitByLabelWidth;
|
|
899
|
+
private heatmapWrapper;
|
|
900
|
+
private splitByLabels;
|
|
901
|
+
private heatmapCanvasMap;
|
|
902
|
+
private timeLabels;
|
|
903
|
+
private height;
|
|
904
|
+
private timeLabelsHeight;
|
|
905
|
+
private visibleAggs;
|
|
906
|
+
constructor(renderTarget: Element);
|
|
907
|
+
private focusOnEllipsis;
|
|
908
|
+
private createControlsPanel;
|
|
909
|
+
private chartControlsExist;
|
|
910
|
+
private addTimeLabels;
|
|
911
|
+
mouseover: (hoveredAggKey: any, hoveredSplitBy: any) => void;
|
|
912
|
+
mouseout: (selection: any, hoveredAggKey: any) => void;
|
|
913
|
+
render(data: any, chartOptions: any, aggregateExpressionOptions: any): void;
|
|
914
|
+
renderTimeLabels: (focusStartTime: any, focusEndTime: any, focusX1: any, focusX2: any, focusY: any, yOffset: any, shiftMillis: any) => void;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
declare class EventsTable extends ChartComponent {
|
|
918
|
+
private eventsTable;
|
|
919
|
+
private eventsLegend;
|
|
920
|
+
private headers;
|
|
921
|
+
private maxVisibleIndex;
|
|
922
|
+
private isAscending;
|
|
923
|
+
private timestampColumnName;
|
|
924
|
+
private sortColumn;
|
|
925
|
+
private allSelectedState;
|
|
926
|
+
private eventsTableData;
|
|
927
|
+
private margins;
|
|
928
|
+
constructor(renderTarget: Element);
|
|
929
|
+
EventsTable(): void;
|
|
930
|
+
renderFromEventsTsx(eventsFromTsx: any, chartOptions: any): void;
|
|
931
|
+
render(events: any, chartOptions: any, fromTsx?: boolean): void;
|
|
932
|
+
renderLegend(): void;
|
|
933
|
+
setLegendColumnStates(): void;
|
|
934
|
+
getSelectAllState(): string;
|
|
935
|
+
setSelectAllState(): void;
|
|
936
|
+
private getFilteredColumnKeys;
|
|
937
|
+
private buildHeaders;
|
|
938
|
+
private adjustHeaderWidth;
|
|
939
|
+
private buildTable;
|
|
940
|
+
private formatValue;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
declare class ModelSearch extends Component {
|
|
944
|
+
private hierarchies;
|
|
945
|
+
private clickedInstance;
|
|
946
|
+
private wrapper;
|
|
947
|
+
private types;
|
|
948
|
+
private instanceResults;
|
|
949
|
+
private usedContinuationTokens;
|
|
950
|
+
private contextMenu;
|
|
951
|
+
private currentResultIndex;
|
|
952
|
+
constructor(renderTarget: Element);
|
|
953
|
+
ModelSearch(): void;
|
|
954
|
+
render(environmentFqdn: string, getToken: any, hierarchyData: any, chartOptions: any): void;
|
|
955
|
+
handleKeydown(event: any, ap: any): void;
|
|
956
|
+
private closeContextMenu;
|
|
957
|
+
private stripHits;
|
|
958
|
+
private getInstanceHtml;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
declare class DateTimePicker extends ChartComponent {
|
|
962
|
+
private calendar;
|
|
963
|
+
private calendarPicker;
|
|
964
|
+
private timeControls;
|
|
965
|
+
private minMillis;
|
|
966
|
+
private maxMillis;
|
|
967
|
+
private fromMillis;
|
|
968
|
+
private toMillis;
|
|
969
|
+
private fromMinutes;
|
|
970
|
+
private fromHours;
|
|
971
|
+
private toMinutes;
|
|
972
|
+
private toHours;
|
|
973
|
+
private onSet;
|
|
974
|
+
private onCancel;
|
|
975
|
+
private isValid;
|
|
976
|
+
private targetElement;
|
|
977
|
+
private dateTimeSelectionPanel;
|
|
978
|
+
private quickTimesPanel;
|
|
979
|
+
private isSettingStartTime;
|
|
980
|
+
private startRange;
|
|
981
|
+
private endRange;
|
|
982
|
+
private anchorDate;
|
|
983
|
+
private offsetName;
|
|
984
|
+
private fromInput;
|
|
985
|
+
private toInput;
|
|
986
|
+
private quickTimeArray;
|
|
987
|
+
constructor(renderTarget: Element);
|
|
988
|
+
private getCurrentQuickTime;
|
|
989
|
+
getQuickTimeText(quickTimeMillis: any): any;
|
|
990
|
+
private convertToCalendarDate;
|
|
991
|
+
private setNewOffset;
|
|
992
|
+
private onSaveOrCancel;
|
|
993
|
+
render(chartOptions: any, minMillis: number, maxMillis: number, fromMillis?: number, toMillis?: number, onSet?: any, onCancel?: any): void;
|
|
994
|
+
private updateDisplayedDateTimes;
|
|
995
|
+
private setFromQuickTimes;
|
|
996
|
+
private buildQuickTimesPanel;
|
|
997
|
+
private createTimeString;
|
|
998
|
+
private getTimeFormat;
|
|
999
|
+
updateFromAndTo(fromMillis: any, toMillis: any): void;
|
|
1000
|
+
private createTimezonePicker;
|
|
1001
|
+
private roundDay;
|
|
1002
|
+
private setTimeRange;
|
|
1003
|
+
private createCalendar;
|
|
1004
|
+
private setSelectedQuickTimes;
|
|
1005
|
+
private setFromDate;
|
|
1006
|
+
private setToDate;
|
|
1007
|
+
private setIsSaveable;
|
|
1008
|
+
private adjustSecondsAndMillis;
|
|
1009
|
+
private setFromMillis;
|
|
1010
|
+
private setToMillis;
|
|
1011
|
+
private displayRangeErrors;
|
|
1012
|
+
private rangeIsValid;
|
|
1013
|
+
private updateDisplayedFromDateTime;
|
|
1014
|
+
private updateDisplayedToDateTime;
|
|
1015
|
+
private offsetUTC;
|
|
1016
|
+
private offsetFromUTC;
|
|
1017
|
+
private checkDateTimeValidity;
|
|
1018
|
+
private setTimeInputBox;
|
|
1019
|
+
private createTimePicker;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
declare class TimezonePicker extends ChartComponent {
|
|
1023
|
+
private targetElement;
|
|
1024
|
+
private timeZones;
|
|
1025
|
+
constructor(renderTarget: Element);
|
|
1026
|
+
private sortTimezones;
|
|
1027
|
+
render(onTimezoneSelect: any, defaultTimeZone?: string): void;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
declare class TsqExpression extends ChartDataOptions {
|
|
1031
|
+
private instanceObject;
|
|
1032
|
+
private variableObject;
|
|
1033
|
+
constructor(instanceObject: any, variableObject: any, searchSpan: any, colorOrOptionsObject: any, alias?: string, contextMenu?: Array<any>);
|
|
1034
|
+
toTsq(roundFromTo?: boolean, getEvents?: boolean, getSeries?: boolean): {
|
|
1035
|
+
getEvents: {};
|
|
1036
|
+
getSeries?: undefined;
|
|
1037
|
+
aggregateSeries?: undefined;
|
|
1038
|
+
} | {
|
|
1039
|
+
getSeries: {};
|
|
1040
|
+
getEvents?: undefined;
|
|
1041
|
+
aggregateSeries?: undefined;
|
|
1042
|
+
} | {
|
|
1043
|
+
aggregateSeries: {};
|
|
1044
|
+
getEvents?: undefined;
|
|
1045
|
+
getSeries?: undefined;
|
|
1046
|
+
};
|
|
1047
|
+
toStatsTsq(fromMillis: any, toMillis: any): {
|
|
1048
|
+
getEvents: {};
|
|
1049
|
+
getSeries?: undefined;
|
|
1050
|
+
aggregateSeries?: undefined;
|
|
1051
|
+
} | {
|
|
1052
|
+
getSeries: {};
|
|
1053
|
+
getEvents?: undefined;
|
|
1054
|
+
aggregateSeries?: undefined;
|
|
1055
|
+
} | {
|
|
1056
|
+
aggregateSeries: {};
|
|
1057
|
+
getEvents?: undefined;
|
|
1058
|
+
getSeries?: undefined;
|
|
1059
|
+
};
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
declare class ModelAutocomplete extends Component {
|
|
1063
|
+
chartOptions: any;
|
|
1064
|
+
ap: any;
|
|
1065
|
+
constructor(renderTarget: Element);
|
|
1066
|
+
render(environmentFqdn: string, getToken: any, chartOptions: any): void;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
declare class HierarchyNavigation extends Component {
|
|
1070
|
+
private searchFunction;
|
|
1071
|
+
private hierarchyElem;
|
|
1072
|
+
private path;
|
|
1073
|
+
selectedIds: Array<string>;
|
|
1074
|
+
searchEnabled: boolean;
|
|
1075
|
+
private searchWrapperElem;
|
|
1076
|
+
private hierarchyNavWrapper;
|
|
1077
|
+
ap: any;
|
|
1078
|
+
constructor(renderTarget: Element);
|
|
1079
|
+
render(searchF: Function, hierarchyNavOptions: any, preselectedIds: Array<string>): Promise<void>;
|
|
1080
|
+
private createHierarchyNavWrapper;
|
|
1081
|
+
private createResultsWrapper;
|
|
1082
|
+
private createHierarchyElem;
|
|
1083
|
+
private requestPayload;
|
|
1084
|
+
private renderTree;
|
|
1085
|
+
private renderSearchBox;
|
|
1086
|
+
private pathSearchAndRenderResult;
|
|
1087
|
+
private renderSearchResult;
|
|
1088
|
+
private filterTree;
|
|
1089
|
+
private fillDataRecursively;
|
|
1090
|
+
private createHierarchyItemElem;
|
|
1091
|
+
private getAriaLabel;
|
|
1092
|
+
private hierarchyNodeIdentifier;
|
|
1093
|
+
private instanceNodeIdentifier;
|
|
1094
|
+
private instanceNodeStringToDisplay;
|
|
1095
|
+
private instanceNodeString;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
declare class SingleDateTimePicker extends ChartComponent {
|
|
1099
|
+
private calendar;
|
|
1100
|
+
private calendarPicker;
|
|
1101
|
+
private timeControls;
|
|
1102
|
+
private minMillis;
|
|
1103
|
+
private maxMillis;
|
|
1104
|
+
private millis;
|
|
1105
|
+
private minutes;
|
|
1106
|
+
private hours;
|
|
1107
|
+
private onSet;
|
|
1108
|
+
private targetElement;
|
|
1109
|
+
private isValid;
|
|
1110
|
+
private offsetName;
|
|
1111
|
+
private date;
|
|
1112
|
+
private timeInput;
|
|
1113
|
+
private saveButton;
|
|
1114
|
+
constructor(renderTarget: Element);
|
|
1115
|
+
getMillis(): number;
|
|
1116
|
+
render(chartOptions: any, minMillis: number, maxMillis: number, millis?: number, onSet?: any): void;
|
|
1117
|
+
private roundDay;
|
|
1118
|
+
private setSelectedDate;
|
|
1119
|
+
private createCalendar;
|
|
1120
|
+
private setDate;
|
|
1121
|
+
private setIsValid;
|
|
1122
|
+
private setMillis;
|
|
1123
|
+
private displayErrors;
|
|
1124
|
+
private checkDateTimeValidity;
|
|
1125
|
+
private dateTimeIsValid;
|
|
1126
|
+
private getTimeFormat;
|
|
1127
|
+
private parseUserInputDateTime;
|
|
1128
|
+
private convertToCalendarDate;
|
|
1129
|
+
private updateDisplayedDateTime;
|
|
1130
|
+
private createTimeString;
|
|
1131
|
+
private convertToLocal;
|
|
1132
|
+
private createTimePicker;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
declare class DateTimeButton extends ChartComponent {
|
|
1136
|
+
protected dateTimePicker: any;
|
|
1137
|
+
private pickerIsVisible;
|
|
1138
|
+
protected minMillis: number;
|
|
1139
|
+
protected maxMillis: number;
|
|
1140
|
+
protected onSet: any;
|
|
1141
|
+
protected dateTimeButton: any;
|
|
1142
|
+
protected dateTimePickerContainer: any;
|
|
1143
|
+
constructor(renderTarget: Element);
|
|
1144
|
+
protected buttonDateTimeFormat(millis: any): string;
|
|
1145
|
+
render(chartOptions: any, minMillis: any, maxMillis: any, onSet?: any): void;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
declare class DateTimeButtonSingle extends DateTimeButton {
|
|
1149
|
+
private selectedMillis;
|
|
1150
|
+
constructor(renderTarget: Element);
|
|
1151
|
+
private closeSDTP;
|
|
1152
|
+
private sDTPOnSet;
|
|
1153
|
+
render(chartOptions: any, minMillis: number, maxMillis: number, selectedMillis?: number, onSet?: any): void;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
declare class DateTimeButtonRange extends DateTimeButton {
|
|
1157
|
+
private onCancel;
|
|
1158
|
+
private fromMillis;
|
|
1159
|
+
private toMillis;
|
|
1160
|
+
constructor(renderTarget: Element);
|
|
1161
|
+
private setButtonText;
|
|
1162
|
+
private onClose;
|
|
1163
|
+
render(chartOptions: any, minMillis: number, maxMillis: number, fromMillis?: number, toMillis?: number, onSet?: any, onCancel?: any): void;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
interface IPlaybackSettings {
|
|
1167
|
+
intervalMillis: number;
|
|
1168
|
+
stepSizeMillis: number;
|
|
1169
|
+
}
|
|
1170
|
+
declare class PlaybackControls extends Component {
|
|
1171
|
+
private playbackInterval;
|
|
1172
|
+
private playButton;
|
|
1173
|
+
private handleElement;
|
|
1174
|
+
private controlsContainer;
|
|
1175
|
+
private track;
|
|
1176
|
+
private trackXOffset;
|
|
1177
|
+
private trackYOffset;
|
|
1178
|
+
private trackWidth;
|
|
1179
|
+
private timeFormatter;
|
|
1180
|
+
private selectedTimeStamp;
|
|
1181
|
+
private selectTimeStampCallback;
|
|
1182
|
+
private timeStampToPosition;
|
|
1183
|
+
private playbackSettings;
|
|
1184
|
+
private end;
|
|
1185
|
+
private wasPlayingWhenDragStarted;
|
|
1186
|
+
readonly handleRadius: number;
|
|
1187
|
+
readonly minimumPlaybackInterval: number;
|
|
1188
|
+
constructor(renderTarget: Element, initialTimeStamp?: Date);
|
|
1189
|
+
get currentTimeStamp(): Date;
|
|
1190
|
+
render(start: Date, end: Date, onSelectTimeStamp: (d: Date) => {}, options: any, playbackSettings: IPlaybackSettings): void;
|
|
1191
|
+
play(): void;
|
|
1192
|
+
pause(): void;
|
|
1193
|
+
next(): void;
|
|
1194
|
+
private clamp;
|
|
1195
|
+
private onDrag;
|
|
1196
|
+
private onDragEnd;
|
|
1197
|
+
private updateSelection;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
declare class TsqRange {
|
|
1201
|
+
from: Date;
|
|
1202
|
+
to: Date;
|
|
1203
|
+
private bucketSizeMs;
|
|
1204
|
+
static NeatIntervals: string[];
|
|
1205
|
+
static NeatIntervalsMs: number[];
|
|
1206
|
+
constructor(from: Date, to: Date);
|
|
1207
|
+
setNeatBucketSizeByNumerOfBuckets(targetNumberOfBuckets: number): void;
|
|
1208
|
+
setNeatBucketSizeByRoughBucketSize(roughBucketSizeMillis: number): void;
|
|
1209
|
+
alignWithServerEpoch(): void;
|
|
1210
|
+
get fromMillis(): number;
|
|
1211
|
+
get toMillis(): number;
|
|
1212
|
+
get bucketSizeMillis(): number;
|
|
1213
|
+
get bucketSizeStr(): string;
|
|
1214
|
+
static millisToLargestUnit(interval: number): {
|
|
1215
|
+
value: number;
|
|
1216
|
+
unit: string;
|
|
1217
|
+
};
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
type d3Selection = d3.Selection<d3.BaseType, unknown, null, undefined>;
|
|
1221
|
+
interface GraphicInfo {
|
|
1222
|
+
graphic: any;
|
|
1223
|
+
width: number;
|
|
1224
|
+
height: number;
|
|
1225
|
+
}
|
|
1226
|
+
declare abstract class HistoryPlayback extends Component {
|
|
1227
|
+
protected targetElement: d3Selection;
|
|
1228
|
+
protected tsqExpressions: Array<TsqExpression>;
|
|
1229
|
+
protected componentContainer: d3Selection;
|
|
1230
|
+
protected component: d3Selection;
|
|
1231
|
+
protected playbackControlsContainer: d3Selection;
|
|
1232
|
+
protected playbackControls: PlaybackControls;
|
|
1233
|
+
protected graphicOriginalWidth: number;
|
|
1234
|
+
protected graphicOriginalHeight: number;
|
|
1235
|
+
protected currentCancelTrigger: Function;
|
|
1236
|
+
protected availabilityInterval: number;
|
|
1237
|
+
protected environmentFqdn: string;
|
|
1238
|
+
protected availability: TsqRange;
|
|
1239
|
+
protected getAuthToken: () => Promise<string>;
|
|
1240
|
+
protected playbackRate: number;
|
|
1241
|
+
protected graphic: any;
|
|
1242
|
+
readonly numberOfBuckets = 1000;
|
|
1243
|
+
readonly defaultPlaybackRate = 3000;
|
|
1244
|
+
readonly fetchAvailabilityFrequency = 30000;
|
|
1245
|
+
readonly playbackSliderHeight = 88;
|
|
1246
|
+
readonly previewApiFlag = "?api-version=2018-11-01-preview";
|
|
1247
|
+
constructor(renderTarget: Element);
|
|
1248
|
+
protected abstract loadResources(): Promise<any>;
|
|
1249
|
+
protected abstract draw(): any;
|
|
1250
|
+
protected abstract updateDataMarkers(data: Array<any>): void;
|
|
1251
|
+
protected abstract getDataPoints(data: Array<any>): void;
|
|
1252
|
+
protected onGraphicLoaded(): void;
|
|
1253
|
+
protected renderBase(environmentFqdn: string, getToken: () => Promise<string>, data: Array<TsqExpression>, chartOptions: any): void;
|
|
1254
|
+
pauseAvailabilityUpdates(): void;
|
|
1255
|
+
private onSelecTimestamp;
|
|
1256
|
+
private calcQueryWindow;
|
|
1257
|
+
protected drawBase(): void;
|
|
1258
|
+
private updateAvailability;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
declare class ProcessGraphic extends HistoryPlayback {
|
|
1262
|
+
private graphicSrc;
|
|
1263
|
+
constructor(renderTarget: Element);
|
|
1264
|
+
render(environmentFqdn: string, getToken: () => Promise<string>, graphicSrc: string, data: Array<TsqExpression>, chartOptions: any): void;
|
|
1265
|
+
protected loadResources(): Promise<GraphicInfo>;
|
|
1266
|
+
protected draw(): void;
|
|
1267
|
+
private getResizedImageDimensions;
|
|
1268
|
+
protected getDataPoints(results: Array<IProcessGraphicLabelInfo>): void;
|
|
1269
|
+
protected updateDataMarkers(graphicValues: Array<IProcessGraphicLabelInfo>): void;
|
|
1270
|
+
protected parseTsqResponse(response: any): any;
|
|
1271
|
+
protected sanitizeAttribute(str: any): string;
|
|
1272
|
+
}
|
|
1273
|
+
interface IProcessGraphicLabelInfo {
|
|
1274
|
+
value: number;
|
|
1275
|
+
alias: string;
|
|
1276
|
+
x: number;
|
|
1277
|
+
y: number;
|
|
1278
|
+
color: string;
|
|
1279
|
+
onClick: Function;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
interface ColorPickerOptions {
|
|
1283
|
+
theme?: string;
|
|
1284
|
+
numberOfColors?: number;
|
|
1285
|
+
colors?: Array<string>;
|
|
1286
|
+
defaultColor?: string;
|
|
1287
|
+
isColorValueHidden?: boolean;
|
|
1288
|
+
onSelect?: (colorHex: string) => void;
|
|
1289
|
+
onClick?: (event: any) => void;
|
|
1290
|
+
}
|
|
1291
|
+
declare class ColorPicker extends Component {
|
|
1292
|
+
private colorPickerElem;
|
|
1293
|
+
private selectedColor;
|
|
1294
|
+
private isColorGridVisible;
|
|
1295
|
+
private componentId;
|
|
1296
|
+
constructor(renderTarget: Element, componentId?: string);
|
|
1297
|
+
render(options?: ColorPickerOptions): void;
|
|
1298
|
+
getSelectedColorValue: () => string;
|
|
1299
|
+
private showColorGrid;
|
|
1300
|
+
hideColorGrid: (withFocusBackToPickerButton?: boolean) => void;
|
|
1301
|
+
private setSelectedColor;
|
|
1302
|
+
getColorPickerElem: () => any;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
declare class GeoProcessGraphic extends HistoryPlayback {
|
|
1306
|
+
private azureMapsSubscriptionKey;
|
|
1307
|
+
private zoom;
|
|
1308
|
+
private width;
|
|
1309
|
+
private height;
|
|
1310
|
+
private theme;
|
|
1311
|
+
private center;
|
|
1312
|
+
private bearing;
|
|
1313
|
+
private pitch;
|
|
1314
|
+
private maxZoom;
|
|
1315
|
+
private minZoom;
|
|
1316
|
+
private duration;
|
|
1317
|
+
constructor(renderTarget: Element);
|
|
1318
|
+
render(environmentFqdn: string, getToken: () => Promise<string>, data: Array<TsqExpression>, chartOptions: any): void;
|
|
1319
|
+
protected loadResources(): Promise<any>;
|
|
1320
|
+
protected draw(): void;
|
|
1321
|
+
protected getDataPoints(results: Array<IGeoProcessGraphicLabelInfo>): void;
|
|
1322
|
+
protected parseTsqResponse(response: any): {};
|
|
1323
|
+
protected updateDataMarkers(dataPoints: Array<any>): void;
|
|
1324
|
+
protected createTable(dataPointArr: any, idx: any): HTMLDivElement;
|
|
1325
|
+
}
|
|
1326
|
+
interface IGeoProcessGraphicLabelInfo {
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
declare class UXClient {
|
|
1330
|
+
UXClient(): void;
|
|
1331
|
+
DateTimePicker: typeof DateTimePicker;
|
|
1332
|
+
PieChart: typeof PieChart;
|
|
1333
|
+
ScatterPlot: typeof ScatterPlot;
|
|
1334
|
+
BarChart: typeof GroupedBarChart;
|
|
1335
|
+
LineChart: typeof LineChart;
|
|
1336
|
+
AvailabilityChart: typeof AvailabilityChart;
|
|
1337
|
+
Grid: typeof Grid;
|
|
1338
|
+
Slider: typeof Slider;
|
|
1339
|
+
Hierarchy: typeof Hierarchy;
|
|
1340
|
+
AggregateExpression: typeof AggregateExpression;
|
|
1341
|
+
TsqExpression: typeof TsqExpression;
|
|
1342
|
+
Heatmap: typeof Heatmap;
|
|
1343
|
+
EventsTable: typeof EventsTable;
|
|
1344
|
+
ModelSearch: typeof ModelSearch;
|
|
1345
|
+
ModelAutocomplete: typeof ModelAutocomplete;
|
|
1346
|
+
HierarchyNavigation: typeof HierarchyNavigation;
|
|
1347
|
+
TimezonePicker: typeof TimezonePicker;
|
|
1348
|
+
EllipsisMenu: typeof EllipsisMenu;
|
|
1349
|
+
SingleDateTimePicker: typeof SingleDateTimePicker;
|
|
1350
|
+
DateTimeButtonSingle: typeof DateTimeButtonSingle;
|
|
1351
|
+
DateTimeButtonRange: typeof DateTimeButtonRange;
|
|
1352
|
+
ProcessGraphic: typeof ProcessGraphic;
|
|
1353
|
+
PlaybackControls: typeof PlaybackControls;
|
|
1354
|
+
ColorPicker: typeof ColorPicker;
|
|
1355
|
+
GeoProcessGraphic: typeof GeoProcessGraphic;
|
|
1356
|
+
transformTsxToEventsArray(events: any, options: any): any[];
|
|
1357
|
+
private toISONoMillis;
|
|
1358
|
+
transformAvailabilityForVisualization(availabilityTsx: any): Array<any>;
|
|
1359
|
+
transformAggregatesForVisualization(aggregates: Array<any>, options: any): Array<any>;
|
|
1360
|
+
createEntityKey(aggName: string, aggIndex?: number): string;
|
|
1361
|
+
transformTsqResultsToEventsArray(results: any): any[];
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
declare class ContextMenu extends Component {
|
|
1365
|
+
drawChart: any;
|
|
1366
|
+
contextMenuElement: any;
|
|
1367
|
+
actions: any;
|
|
1368
|
+
contextMenuVisible: boolean;
|
|
1369
|
+
startTime: any;
|
|
1370
|
+
endTime: any;
|
|
1371
|
+
private left;
|
|
1372
|
+
private top;
|
|
1373
|
+
private ae;
|
|
1374
|
+
private splitBy;
|
|
1375
|
+
private onClick;
|
|
1376
|
+
private subMenuFromSubLevel;
|
|
1377
|
+
private subMenuFromActionIndex;
|
|
1378
|
+
constructor(drawChart: any, renderTarget: Element);
|
|
1379
|
+
private launchSubMenu;
|
|
1380
|
+
private positionAEC;
|
|
1381
|
+
private shouldHorizontalFlip;
|
|
1382
|
+
private shouldVerticalFlip;
|
|
1383
|
+
private getRelativeHorizontalPosition;
|
|
1384
|
+
private verticalPositionAEC;
|
|
1385
|
+
private horizontalPositionAEC;
|
|
1386
|
+
private getActionElementContainerTop;
|
|
1387
|
+
private removeSubMenusAboveLevel;
|
|
1388
|
+
private createActionElements;
|
|
1389
|
+
draw(chartComponentData: any, renderTarget: any, options: any, mousePosition: any, aggKey: any, splitBy: any, onClick?: any, startTime?: any, endTime?: any, event?: any): void;
|
|
1390
|
+
hide(): void;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
declare class Tooltip extends Component {
|
|
1394
|
+
private tooltipDiv;
|
|
1395
|
+
private tooltipDivInner;
|
|
1396
|
+
private tooltipText;
|
|
1397
|
+
draw: any;
|
|
1398
|
+
private borderColor;
|
|
1399
|
+
constructor(renderTarget: any);
|
|
1400
|
+
hide(): void;
|
|
1401
|
+
private getSVGWidth;
|
|
1402
|
+
private getSVGHeight;
|
|
1403
|
+
private getLeftOffset;
|
|
1404
|
+
private getTopOffset;
|
|
1405
|
+
private isRightOffset;
|
|
1406
|
+
private isTopOffset;
|
|
1407
|
+
render(theme: any): void;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
declare class Marker extends Component {
|
|
1411
|
+
private markerContainer;
|
|
1412
|
+
private timeLabel;
|
|
1413
|
+
private closeButton;
|
|
1414
|
+
private markerLabel;
|
|
1415
|
+
private x;
|
|
1416
|
+
private timestampMillis;
|
|
1417
|
+
private chartHeight;
|
|
1418
|
+
private chartMargins;
|
|
1419
|
+
private chartComponentData;
|
|
1420
|
+
private marginLeft;
|
|
1421
|
+
private colorMap;
|
|
1422
|
+
private yMap;
|
|
1423
|
+
onChange: any;
|
|
1424
|
+
private tooltipMap;
|
|
1425
|
+
private guid;
|
|
1426
|
+
private labelText;
|
|
1427
|
+
private markerIsDragging;
|
|
1428
|
+
private timeFormat;
|
|
1429
|
+
private isSeriesLabels;
|
|
1430
|
+
readonly ADDITIONALRIGHTSIDEOVERHANG = 12;
|
|
1431
|
+
constructor(renderTarget: any);
|
|
1432
|
+
getGuid(): string;
|
|
1433
|
+
setMillis(millis: number): void;
|
|
1434
|
+
getMillis(): number;
|
|
1435
|
+
setLabelText(labelText: string): boolean;
|
|
1436
|
+
getLabelText(): string;
|
|
1437
|
+
private setSeriesLabelText;
|
|
1438
|
+
protected tooltipFormat(d: any, text: any, measureFormat: TooltipMeasureFormat, xyrMeasures?: any, isSeriesLabelInFocus?: boolean): void;
|
|
1439
|
+
private getLeft;
|
|
1440
|
+
private isMarkerDragOccuring;
|
|
1441
|
+
private bumpMarker;
|
|
1442
|
+
private renderMarker;
|
|
1443
|
+
private getValueOfVisible;
|
|
1444
|
+
private getTooltipKey;
|
|
1445
|
+
private findYatX;
|
|
1446
|
+
private positionToValue;
|
|
1447
|
+
private bisectionInterpolateValue;
|
|
1448
|
+
private getPath;
|
|
1449
|
+
private createNewDatum;
|
|
1450
|
+
private findGapPath;
|
|
1451
|
+
private inBounds;
|
|
1452
|
+
private getIntersectingPath;
|
|
1453
|
+
private interpolateValue;
|
|
1454
|
+
private getValuesAtTime;
|
|
1455
|
+
private setValueLabels;
|
|
1456
|
+
private calcTopOfValueLabel;
|
|
1457
|
+
private getTimeFormat;
|
|
1458
|
+
private setTimeLabel;
|
|
1459
|
+
focusCloseButton(): void;
|
|
1460
|
+
isMarkerInRange(millis?: number): boolean;
|
|
1461
|
+
destroyMarker(): void;
|
|
1462
|
+
render(timestampMillis: number, chartOptions: ChartOptions, chartComponentData: any, additionalMarkerFields: {
|
|
1463
|
+
chartMargins: any;
|
|
1464
|
+
x: any;
|
|
1465
|
+
marginLeft: number;
|
|
1466
|
+
colorMap: any;
|
|
1467
|
+
yMap: any;
|
|
1468
|
+
onChange: any;
|
|
1469
|
+
isDropping: boolean;
|
|
1470
|
+
chartHeight: number;
|
|
1471
|
+
labelText: string;
|
|
1472
|
+
isSeriesLabels: boolean;
|
|
1473
|
+
}): void;
|
|
1474
|
+
setPositionsAndLabels(millis: number): void;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
declare class Plot extends Component {
|
|
1478
|
+
protected chartHeight: any;
|
|
1479
|
+
protected x: any;
|
|
1480
|
+
protected chartDataOptions: any;
|
|
1481
|
+
protected chartComponentData: any;
|
|
1482
|
+
protected yTop: any;
|
|
1483
|
+
protected height: any;
|
|
1484
|
+
protected aggregateGroup: any;
|
|
1485
|
+
protected backdropRect: any;
|
|
1486
|
+
protected plotDataType: string;
|
|
1487
|
+
constructor(renderTarget: Element);
|
|
1488
|
+
protected getVisibleSeries(aggKey: any): string[];
|
|
1489
|
+
protected createGradientKey(d: any, splitByIndex: any, i: any): string;
|
|
1490
|
+
protected addGradientStops(d: any, gradient: any): void;
|
|
1491
|
+
protected createBackdropRect(isVisible: any): void;
|
|
1492
|
+
protected getColorForValue(value: any): any;
|
|
1493
|
+
protected getVisibleMeasures(measures: any): string[];
|
|
1494
|
+
protected hasData(d: any): boolean;
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
declare class AxisState {
|
|
1498
|
+
axisType: any;
|
|
1499
|
+
yExtent: [number, number];
|
|
1500
|
+
positionInGroup: number;
|
|
1501
|
+
constructor(axisType: any, yExtent: [number, number], positionInGroup: number);
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
declare class LinePlot extends Plot {
|
|
1505
|
+
private defs;
|
|
1506
|
+
private chartWidth;
|
|
1507
|
+
private y;
|
|
1508
|
+
private visibleAggCount;
|
|
1509
|
+
private strokeOpacity;
|
|
1510
|
+
private previousIncludeDots;
|
|
1511
|
+
private areaPath;
|
|
1512
|
+
private yAxisState;
|
|
1513
|
+
constructor(svgSelection: any);
|
|
1514
|
+
private getXPosition;
|
|
1515
|
+
private createAreaPath;
|
|
1516
|
+
render(chartOptions: any, visibleAggI: any, agg: any, aggVisible: boolean, aggregateGroup: any, chartComponentData: any, yAxisState: AxisState, chartHeight: any, visibleAggCount: any, colorMap: any, previousAggregateData: any, x: any, areaPath: any, strokeOpacity: any, y: any, yMap: any, defs: any, chartDataOptions: any, previousIncludeDots: any, yTopAndHeight: any, svgSelection: any, categoricalMouseover: any, categoricalMouseout: any, yAxisOnClick: any): void;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
declare class EventsPlot extends Plot {
|
|
1520
|
+
private defs;
|
|
1521
|
+
private hoverLine;
|
|
1522
|
+
private chartGroup;
|
|
1523
|
+
private discreteEventsMouseover;
|
|
1524
|
+
private discreteEventsMouseout;
|
|
1525
|
+
private splitBysGroup;
|
|
1526
|
+
private eventHeight;
|
|
1527
|
+
private gradientData;
|
|
1528
|
+
private aggKey;
|
|
1529
|
+
private gradientArray;
|
|
1530
|
+
constructor(svgSelection: any);
|
|
1531
|
+
private onMouseover;
|
|
1532
|
+
private onMouseout;
|
|
1533
|
+
private createHoverLine;
|
|
1534
|
+
private setEventHeight;
|
|
1535
|
+
private eventOnClick;
|
|
1536
|
+
private colorFunction;
|
|
1537
|
+
private createDateStringFunction;
|
|
1538
|
+
private createEventElements;
|
|
1539
|
+
private shouldDrawBackdrop;
|
|
1540
|
+
render(chartOptions: any, visibleAggI: any, agg: any, aggVisible: boolean, aggregateGroup: any, chartComponentData: any, yExtent: any, chartHeight: any, visibleAggCount: any, colorMap: any, previousAggregateData: any, x: any, areaPath: any, strokeOpacity: any, y: any, yMap: any, defs: any, chartDataOptions: any, previousIncludeDots: any, yTopAndHeight: any, chartGroup: any, discreteEventsMouseover: any, discreteEventsMouseout: any): void;
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
declare class CategoricalPlot extends Plot {
|
|
1544
|
+
private defs;
|
|
1545
|
+
private hoverRect;
|
|
1546
|
+
private chartGroup;
|
|
1547
|
+
private categoricalMouseover;
|
|
1548
|
+
private categoricalMouseout;
|
|
1549
|
+
private splitBysGroup;
|
|
1550
|
+
constructor(svgSelection: any);
|
|
1551
|
+
private onMouseover;
|
|
1552
|
+
private onMouseout;
|
|
1553
|
+
private createHoverRect;
|
|
1554
|
+
private getSeriesEndDate;
|
|
1555
|
+
private getBucketEndDate;
|
|
1556
|
+
render(chartOptions: any, visibleAggI: any, agg: any, aggVisible: boolean, aggregateGroup: any, chartComponentData: any, yExtent: any, chartHeight: any, visibleAggCount: any, colorMap: any, previousAggregateData: any, x: any, areaPath: any, strokeOpacity: any, y: any, yMap: any, defs: any, chartDataOptions: any, previousIncludeDots: any, yTopAndHeight: any, chartGroup: any, categoricalMouseover: any, categoricalMouseout: any): void;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
declare class HeatmapCanvas extends ChartComponent {
|
|
1560
|
+
private heatmapData;
|
|
1561
|
+
private canvas;
|
|
1562
|
+
private ctx;
|
|
1563
|
+
private height;
|
|
1564
|
+
private rawCellWidth;
|
|
1565
|
+
private cellWidthMod;
|
|
1566
|
+
private rawCellHeight;
|
|
1567
|
+
private cellHeightMod;
|
|
1568
|
+
private colorLegend;
|
|
1569
|
+
private colorScale;
|
|
1570
|
+
private gradientWidth;
|
|
1571
|
+
private aggKey;
|
|
1572
|
+
private focusedXIndex;
|
|
1573
|
+
private focusedYIndex;
|
|
1574
|
+
private focusedText;
|
|
1575
|
+
private highlightedSplitBy;
|
|
1576
|
+
private highlightedTime;
|
|
1577
|
+
private highlightedValue;
|
|
1578
|
+
private onCellFocus;
|
|
1579
|
+
private aggI;
|
|
1580
|
+
private isOnlyAgg;
|
|
1581
|
+
constructor(renderTarget: any);
|
|
1582
|
+
private renderScale;
|
|
1583
|
+
private getExtent;
|
|
1584
|
+
render(data: any, chartOptions: any, aggKey: any, highlightedSplitBy: string, highlightedTime: Date, onCellFocus: any, aggI: number, isOnlyAgg: boolean): void;
|
|
1585
|
+
private calcCellXIndex;
|
|
1586
|
+
private calcCellYIndex;
|
|
1587
|
+
private calcCellHeight;
|
|
1588
|
+
private calcCellX;
|
|
1589
|
+
private calcCellWidth;
|
|
1590
|
+
private calcCellY;
|
|
1591
|
+
private drawCell;
|
|
1592
|
+
private getColor;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
declare class HeatmapData {
|
|
1596
|
+
chartComponentData: ChartComponentData;
|
|
1597
|
+
visibleSBs: Array<any>;
|
|
1598
|
+
timeStamps: Array<Date>;
|
|
1599
|
+
colorScale: any;
|
|
1600
|
+
from: Date;
|
|
1601
|
+
to: Date;
|
|
1602
|
+
bucketSize: number;
|
|
1603
|
+
timeValues: any;
|
|
1604
|
+
aggKey: string;
|
|
1605
|
+
numRows: number;
|
|
1606
|
+
numCols: number;
|
|
1607
|
+
allValues: Array<any>;
|
|
1608
|
+
constructor(chartComponentData: ChartComponentData, aggKey: string);
|
|
1609
|
+
private adjustStartTime;
|
|
1610
|
+
private createTimeValues;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
declare class TimeSeriesEvent {
|
|
1614
|
+
cells: {};
|
|
1615
|
+
constructor(rawEvent: any, offset?: any, offsetName?: string, locale?: string);
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
declare class EventsTableData {
|
|
1619
|
+
columns: {};
|
|
1620
|
+
rows: any[];
|
|
1621
|
+
events: Array<TimeSeriesEvent>;
|
|
1622
|
+
private timestampColumnKey;
|
|
1623
|
+
private offsetName;
|
|
1624
|
+
private maxVisibleToStart;
|
|
1625
|
+
private offsetNameCache;
|
|
1626
|
+
private timeSeriesIdProperties;
|
|
1627
|
+
constructor();
|
|
1628
|
+
private createOffsetName;
|
|
1629
|
+
sortColumnKeys(): any[];
|
|
1630
|
+
setEvents(rawEvents: any, fromTsx: any, timeSeriesIdProperties: any, offset?: any): void;
|
|
1631
|
+
sortEvents(columnKey: any, isAscending: any): void;
|
|
1632
|
+
constructColumns(): void;
|
|
1633
|
+
generateCSVString(includeAllColumns?: boolean, offset?: number): string;
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
declare class TimeSeriesEventCell {
|
|
1637
|
+
key: string;
|
|
1638
|
+
name: string;
|
|
1639
|
+
type: string;
|
|
1640
|
+
value: any;
|
|
1641
|
+
constructor(name: string, value: any, type?: string);
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
declare class Utils {
|
|
1645
|
+
static guidForNullTSID: string;
|
|
1646
|
+
static formatYAxisNumber(val: number): any;
|
|
1647
|
+
static getStackStates(): typeof YAxisStates;
|
|
1648
|
+
static parseTimeInput(inputString: string): number;
|
|
1649
|
+
static findClosestTime(prevMillis: number, timeMap: any): number;
|
|
1650
|
+
static getValueOfVisible(d: any, visibleMeasure: string): any;
|
|
1651
|
+
static isStartAt(startAtString?: string, searchSpan?: any): boolean;
|
|
1652
|
+
static parseShift(shiftString: string, startAtString?: any, searchSpan?: any): number;
|
|
1653
|
+
static adjustStartMillisToAbsoluteZero(fromMillis: any, bucketSize: any): number;
|
|
1654
|
+
static bucketSizeToTsqInterval(bucketSize: string): string;
|
|
1655
|
+
static createEntityKey(aggName: string, aggIndex: number): string;
|
|
1656
|
+
static getColorForValue(chartDataOptions: any, value: any): any;
|
|
1657
|
+
static rollUpContiguous(data: any): any;
|
|
1658
|
+
static formatOffsetMinutes(offset: any): string;
|
|
1659
|
+
static getOffsetMinutes(offset: any, millis: number): any;
|
|
1660
|
+
static offsetUTC(date: Date): Date;
|
|
1661
|
+
static getMinutesToUTC(offset: any, millisInOffset: number): number;
|
|
1662
|
+
static addOffsetGuess(timezoneName: any): string;
|
|
1663
|
+
static timezoneAbbreviation(timezoneName: any): string;
|
|
1664
|
+
static createTimezoneAbbreviation(offset: any): string;
|
|
1665
|
+
static parseTimezoneName(timezoneRaw: any): any;
|
|
1666
|
+
static convertTimezoneToLabel(timezone: any, locdLocal?: string): string;
|
|
1667
|
+
static rangeTimeFormat(rangeMillis: number): string;
|
|
1668
|
+
static subDateTimeFormat(is24HourTime: any, usesSeconds: any, usesMillis: any): string;
|
|
1669
|
+
static timeFormat(usesSeconds?: boolean, usesMillis?: boolean, offset?: any, is24HourTime?: boolean, shiftMillis?: number, timeFormat?: string, locale?: string): (d: any) => string;
|
|
1670
|
+
static splitTimeLabel(text: any): void;
|
|
1671
|
+
static getUTCHours(d: Date, is24HourTime?: boolean): number;
|
|
1672
|
+
static UTCTwelveHourFormat(d: Date): string;
|
|
1673
|
+
static getAgVisible(displayState: any, aggI: string, splitBy: string): any;
|
|
1674
|
+
static getAgVisibleMeasure(displayState: any, aggI: string, splitBy: string): any;
|
|
1675
|
+
static createSeriesTypeIcon(seriesType: string, selection: any): void;
|
|
1676
|
+
static strip(text: any): string;
|
|
1677
|
+
static stripForConcat(text: any): any;
|
|
1678
|
+
static setSeriesLabelSubtitleText(subtitle: any, isInFocus?: boolean): void;
|
|
1679
|
+
static revertAllSubtitleText(markerValues: any, opacity?: number): void;
|
|
1680
|
+
static generateColors(numColors: number, includeColors?: string[]): any[];
|
|
1681
|
+
static convertFromLocal(date: Date): Date;
|
|
1682
|
+
static adjustDateFromTimezoneOffset(date: Date): Date;
|
|
1683
|
+
static offsetFromUTC(date: Date, offset?: number): Date;
|
|
1684
|
+
static offsetToUTC(date: Date, offset?: number): Date;
|
|
1685
|
+
static parseUserInputDateTime(timeText: any, offset: any): number;
|
|
1686
|
+
static getBrighterColor(color: string): any;
|
|
1687
|
+
static createSplitByColors(displayState: any, aggKey: string, ignoreIsOnlyAgg?: boolean): any[];
|
|
1688
|
+
static colorSplitBy(displayState: any, splitByIndex: number, aggKey: string, ignoreIsOnlyAgg?: boolean): any;
|
|
1689
|
+
static getTheme(theme: any): string;
|
|
1690
|
+
static clearSelection(): void;
|
|
1691
|
+
static mark(filter: any, text: any): any;
|
|
1692
|
+
static hash(str: any): number;
|
|
1693
|
+
static guid(): string;
|
|
1694
|
+
static createValueFilter(aggregateKey: any, splitBy: any): (d: any, j: number) => boolean;
|
|
1695
|
+
static downloadCSV(csvString: string, csvName?: string): void;
|
|
1696
|
+
static sanitizeString(str: any, type: String): any;
|
|
1697
|
+
static focusOnEllipsisButton(renderTarget: any): void;
|
|
1698
|
+
static createDownloadEllipsisOption(csvStringGenerator: any, action?: () => void, downloadLabel?: string): {
|
|
1699
|
+
iconClass: string;
|
|
1700
|
+
label: string;
|
|
1701
|
+
action: () => void;
|
|
1702
|
+
description: string;
|
|
1703
|
+
};
|
|
1704
|
+
static createControlPanel(renderTarget: any, legendWidth: number, topChartMargin: number, chartOptions: any): any;
|
|
1705
|
+
static escapeQuotesCommasAndNewlines(stringToEscape: string): string;
|
|
1706
|
+
static getNonNumericHeight(rawHeight: number): number;
|
|
1707
|
+
static getControlPanelWidth(renderTarget: any, legendWidth: any, isLegendShown: any): number;
|
|
1708
|
+
static getValueOrDefault(chartOptionsObj: any, propertyName: any, defaultValue?: any): any;
|
|
1709
|
+
static safeNotNullOrUndefined(valueLambda: any): boolean;
|
|
1710
|
+
static equalToEventTarget: (current: any, event: any) => boolean;
|
|
1711
|
+
static getAggKeys(data: any): any;
|
|
1712
|
+
static roundToMillis(rawTo: any, bucketSize: any): number;
|
|
1713
|
+
static mergeSeriesForScatterPlot(chartData: any, scatterMeasures: any): {
|
|
1714
|
+
[x: string]: {
|
|
1715
|
+
"": {};
|
|
1716
|
+
};
|
|
1717
|
+
};
|
|
1718
|
+
static getScatterPlotMeasureNames(chartData: any, scatterMeasures: any): {
|
|
1719
|
+
X_MEASURE: string;
|
|
1720
|
+
Y_MEASURE: string;
|
|
1721
|
+
R_MEASURE: string;
|
|
1722
|
+
};
|
|
1723
|
+
static isKeyDownAndNotEnter: (e: any) => boolean;
|
|
1724
|
+
static getMinWarmTime(warmStoreFrom: any, retentionString: any): Date;
|
|
1725
|
+
static standardizeTSStrings(rawData: any): any[];
|
|
1726
|
+
static cullValuesOutOfRange(availabilityDistribution: any, minDateString: string, maxDateString: string): any[];
|
|
1727
|
+
static mergeAvailabilities(warmAvailability: any, coldAvailability: any, retentionString?: any): any;
|
|
1728
|
+
static languageGuess(): string;
|
|
1729
|
+
static getInstanceKey: (instance: any) => any;
|
|
1730
|
+
static stripNullGuid: (str: any) => any;
|
|
1731
|
+
static getTimeSeriesIdString: (instance: any) => any;
|
|
1732
|
+
static getTimeSeriesIdToDisplay: (instance: any, emptyDisplayString: any) => any;
|
|
1733
|
+
static getHighlightedTimeSeriesIdToDisplay: (instance: any) => any;
|
|
1734
|
+
static instanceHasEmptyTSID: (instance: any) => boolean;
|
|
1735
|
+
static appendFormattedElementsFromString: (targetElem: any, str: any, options?: {
|
|
1736
|
+
additionalClassName?: string;
|
|
1737
|
+
inSvg?: boolean;
|
|
1738
|
+
splitByTag?: string;
|
|
1739
|
+
}) => void;
|
|
1740
|
+
static escapedTsidForExactSearch: (tsid: string) => string;
|
|
1741
|
+
static memorySizeOf(obj: any): number;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
export { AggregateExpression, AvailabilityChart, AxisState, CategoricalPlot, ChartComponentData, ChartDataOptions, ChartOptions, ColorPicker, ContextMenu, DateTimeButtonRange, DateTimeButtonSingle, DateTimePicker, EllipsisMenu, EventsPlot, EventsTable, EventsTableData, GeoProcessGraphic, Grid, GroupedBarChart, GroupedBarChartData, Heatmap, HeatmapCanvas, HeatmapData, Hierarchy, HierarchyNavigation, HierarchyNode, HistoryPlayback, Legend, LineChart, LineChartData, LinePlot, Marker, ModelAutocomplete, ModelSearch, PieChart, PieChartData, PlaybackControls, ProcessGraphic, ScatterPlot, ScatterPlotData, SingleDateTimePicker, Slider, Strings, TimeSeriesEvent, TimeSeriesEventCell, TimezonePicker, Tooltip, TsqExpression, TsqRange, UXClient, Utils, UXClient as default };
|