@splunk/visualizations 26.2.0 → 26.3.0
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/Area.config.js +91 -594
- package/Area.config.js.map +1 -1
- package/Area.js +184 -689
- package/Area.js.map +1 -1
- package/Bar.config.js +92 -561
- package/Bar.config.js.map +1 -1
- package/Bar.js +184 -655
- package/Bar.js.map +1 -1
- package/Bubble.config.js +83 -482
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +177 -578
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +76 -201
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +173 -301
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +92 -599
- package/Column.config.js.map +1 -1
- package/Column.js +184 -693
- package/Column.js.map +1 -1
- package/Ellipse.config.js +82 -200
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +137 -262
- package/Ellipse.js.map +1 -1
- package/Events.config.js +61 -282
- package/Events.config.js.map +1 -1
- package/Events.js +222 -428
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +90 -219
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +163 -299
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +61 -157
- package/Image.config.js.map +1 -1
- package/Image.js +130 -242
- package/Image.js.map +1 -1
- package/Line.config.js +91 -606
- package/Line.config.js.map +1 -1
- package/Line.js +184 -701
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +74 -256
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +17198 -24224
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +128 -1123
- package/Map.config.js.map +1 -1
- package/Map.js +309 -680
- package/Map.js.map +1 -1
- package/Markdown.config.js +61 -188
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +190 -323
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +137 -297
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1038 -1203
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +71 -191
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +218 -343
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +72 -240
- package/Pie.config.js.map +1 -1
- package/Pie.js +214 -381
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +71 -305
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +246 -477
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +211 -347
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +274 -416
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +71 -213
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +246 -382
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +85 -463
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +825 -1202
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +114 -409
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +287 -582
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +30 -30
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +113 -378
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +268 -533
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +110 -382
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +272 -543
- package/SingleValueRadial.js.map +1 -1
- package/SparkLine.js +24 -24
- package/SparkLine.js.map +1 -1
- package/Table.config.js +74 -496
- package/Table.config.js.map +1 -1
- package/Table.js +302 -720
- package/Table.js.map +1 -1
- package/common/Charting.js +22 -34
- package/common/Charting.js.map +1 -1
- package/common/DocExampleWithVizSandbox.js +21 -21
- package/common/DocExampleWithVizSandbox.js.map +1 -1
- package/common/EventsDoc.js +18 -18
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +4 -4
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +2 -2
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +4 -4
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +39 -40
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +2 -2
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +19 -19
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +2 -2
- package/common/chartingUtils.js.map +1 -1
- package/common/gaugeUtils.js +10 -10
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +10 -10
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +25 -155
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +75 -87
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/featureFlagUtils.js +4 -4
- package/common/utils/featureFlagUtils.js.map +1 -1
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/mapUtils.js +51 -54
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +7 -7
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +7 -36
- package/common/utils/testHelper.js.map +1 -1
- package/common/utils/trellisUtils.js +7 -6
- package/common/utils/trellisUtils.js.map +1 -1
- package/common/utils/urlUtils.js +2 -2
- package/common/utils/urlUtils.js.map +1 -1
- package/common/withDashboardViz.js +65 -77
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +46 -49
- package/common/utils/layoutUtils.js +0 -115
- package/common/utils/layoutUtils.js.map +0 -1
package/Scatter.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 482);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -109,459 +109,7 @@ module.exports = require("prop-types");
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
-
module.exports = require("@
|
|
113
|
-
|
|
114
|
-
/***/ }),
|
|
115
|
-
|
|
116
|
-
/***/ 100:
|
|
117
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
118
|
-
|
|
119
|
-
"use strict";
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
var _toConsumableArray = __webpack_require__(8);
|
|
123
|
-
|
|
124
|
-
Object.defineProperty(exports, "__esModule", {
|
|
125
|
-
value: true
|
|
126
|
-
});
|
|
127
|
-
exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCommon = void 0;
|
|
128
|
-
|
|
129
|
-
var i18n_1 = __webpack_require__(2);
|
|
130
|
-
|
|
131
|
-
var configUtils_1 = __webpack_require__(27);
|
|
132
|
-
|
|
133
|
-
exports.AxesChartXGridAndLabelsCommon = {
|
|
134
|
-
label: (0, i18n_1._)('X-axis grid and labels'),
|
|
135
|
-
layout: [[{
|
|
136
|
-
label: (0, i18n_1._)('Axis title'),
|
|
137
|
-
option: 'xAxisTitleVisibility',
|
|
138
|
-
editor: 'editor.toggle'
|
|
139
|
-
}], [{
|
|
140
|
-
label: (0, i18n_1._)('Axis title text'),
|
|
141
|
-
option: 'xAxisTitleText',
|
|
142
|
-
editor: 'editor.text',
|
|
143
|
-
showEditor: function showEditor(_ref) {
|
|
144
|
-
var options = _ref.options;
|
|
145
|
-
return options.xAxisTitleVisibility === 'show' || options.xAxisTitleVisibility === undefined;
|
|
146
|
-
}
|
|
147
|
-
}], [{
|
|
148
|
-
label: (0, i18n_1._)('Label visibility'),
|
|
149
|
-
option: 'xAxisLabelVisibility',
|
|
150
|
-
editor: 'editor.radioBar',
|
|
151
|
-
editorProps: {
|
|
152
|
-
values: [{
|
|
153
|
-
label: (0, i18n_1._)('Auto'),
|
|
154
|
-
value: 'auto'
|
|
155
|
-
}, {
|
|
156
|
-
label: (0, i18n_1._)('Show'),
|
|
157
|
-
value: 'show'
|
|
158
|
-
}, {
|
|
159
|
-
label: (0, i18n_1._)('Hide'),
|
|
160
|
-
value: 'hide'
|
|
161
|
-
}]
|
|
162
|
-
}
|
|
163
|
-
}]]
|
|
164
|
-
};
|
|
165
|
-
var AxesChartXGridAndLabels = {
|
|
166
|
-
label: exports.AxesChartXGridAndLabelsCommon.label,
|
|
167
|
-
layout: [].concat(_toConsumableArray(exports.AxesChartXGridAndLabelsCommon.layout), [[{
|
|
168
|
-
label: (0, i18n_1._)('Label rotation'),
|
|
169
|
-
option: 'xAxisLabelRotation',
|
|
170
|
-
editor: 'editor.select',
|
|
171
|
-
editorProps: {
|
|
172
|
-
values: [{
|
|
173
|
-
label: (0, i18n_1._)('-90'),
|
|
174
|
-
value: -90
|
|
175
|
-
}, {
|
|
176
|
-
label: (0, i18n_1._)('-45'),
|
|
177
|
-
value: -45
|
|
178
|
-
}, {
|
|
179
|
-
label: (0, i18n_1._)('0'),
|
|
180
|
-
value: 0
|
|
181
|
-
}, {
|
|
182
|
-
label: (0, i18n_1._)('45'),
|
|
183
|
-
value: 45
|
|
184
|
-
}, {
|
|
185
|
-
label: (0, i18n_1._)('90'),
|
|
186
|
-
value: 90
|
|
187
|
-
}]
|
|
188
|
-
},
|
|
189
|
-
showEditor: function showEditor(_ref2) {
|
|
190
|
-
var options = _ref2.options;
|
|
191
|
-
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
192
|
-
}
|
|
193
|
-
}], [{
|
|
194
|
-
label: (0, i18n_1._)('Number of time label parts'),
|
|
195
|
-
option: 'xAxisMaxLabelParts',
|
|
196
|
-
editor: 'editor.number',
|
|
197
|
-
editorProps: {
|
|
198
|
-
min: 1,
|
|
199
|
-
max: 3
|
|
200
|
-
},
|
|
201
|
-
showEditor: function showEditor(_ref3) {
|
|
202
|
-
var options = _ref3.options;
|
|
203
|
-
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
204
|
-
}
|
|
205
|
-
}], [{
|
|
206
|
-
label: (0, i18n_1._)('Axis line visibility'),
|
|
207
|
-
option: 'xAxisLineVisibility',
|
|
208
|
-
editor: 'editor.checkbox'
|
|
209
|
-
}], [{
|
|
210
|
-
label: (0, i18n_1._)('Major gridlines'),
|
|
211
|
-
option: 'showXMajorGridLines',
|
|
212
|
-
editor: 'editor.checkbox'
|
|
213
|
-
}], [{
|
|
214
|
-
label: (0, i18n_1._)('Major tick visibility'),
|
|
215
|
-
option: 'xAxisMajorTickVisibility',
|
|
216
|
-
editor: 'editor.radioBar',
|
|
217
|
-
editorProps: {
|
|
218
|
-
values: [{
|
|
219
|
-
label: (0, i18n_1._)('Auto'),
|
|
220
|
-
value: 'auto'
|
|
221
|
-
}, {
|
|
222
|
-
label: (0, i18n_1._)('Show'),
|
|
223
|
-
value: 'show'
|
|
224
|
-
}, {
|
|
225
|
-
label: (0, i18n_1._)('Hide'),
|
|
226
|
-
value: 'hide'
|
|
227
|
-
}]
|
|
228
|
-
}
|
|
229
|
-
}], [{
|
|
230
|
-
label: (0, i18n_1._)('Major tick size (px)'),
|
|
231
|
-
option: 'xAxisMajorTickSize',
|
|
232
|
-
editor: 'editor.slider',
|
|
233
|
-
editorProps: {
|
|
234
|
-
min: 0,
|
|
235
|
-
max: 10,
|
|
236
|
-
step: 1
|
|
237
|
-
},
|
|
238
|
-
showEditor: function showEditor(_ref4) {
|
|
239
|
-
var options = _ref4.options;
|
|
240
|
-
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
241
|
-
}
|
|
242
|
-
}]])
|
|
243
|
-
};
|
|
244
|
-
exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
245
|
-
label: exports.AxesChartXGridAndLabelsCommon.label,
|
|
246
|
-
layout: [].concat(_toConsumableArray((0, configUtils_1.insertLayout)(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
|
|
247
|
-
label: (0, i18n_1._)('Axis scale'),
|
|
248
|
-
option: 'xAxisScale',
|
|
249
|
-
editor: 'editor.radioBar',
|
|
250
|
-
editorProps: {
|
|
251
|
-
values: [{
|
|
252
|
-
label: (0, i18n_1._)('Linear'),
|
|
253
|
-
value: 'linear'
|
|
254
|
-
}, {
|
|
255
|
-
label: (0, i18n_1._)('Log'),
|
|
256
|
-
value: 'log'
|
|
257
|
-
}]
|
|
258
|
-
}
|
|
259
|
-
}])), [[{
|
|
260
|
-
label: (0, i18n_1._)('Label rotation'),
|
|
261
|
-
option: 'xAxisLabelRotation',
|
|
262
|
-
editor: 'editor.select',
|
|
263
|
-
editorProps: {
|
|
264
|
-
values: [{
|
|
265
|
-
label: (0, i18n_1._)('-90'),
|
|
266
|
-
value: -90
|
|
267
|
-
}, {
|
|
268
|
-
label: (0, i18n_1._)('-45'),
|
|
269
|
-
value: -45
|
|
270
|
-
}, {
|
|
271
|
-
label: (0, i18n_1._)('0'),
|
|
272
|
-
value: 0
|
|
273
|
-
}, {
|
|
274
|
-
label: (0, i18n_1._)('45'),
|
|
275
|
-
value: 45
|
|
276
|
-
}, {
|
|
277
|
-
label: (0, i18n_1._)('90'),
|
|
278
|
-
value: 90
|
|
279
|
-
}]
|
|
280
|
-
},
|
|
281
|
-
showEditor: function showEditor(_ref5) {
|
|
282
|
-
var options = _ref5.options;
|
|
283
|
-
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
284
|
-
}
|
|
285
|
-
}], [{
|
|
286
|
-
label: (0, i18n_1._)('Round axis labels'),
|
|
287
|
-
option: 'showRoundedXAxisLabels',
|
|
288
|
-
editor: 'editor.checkbox',
|
|
289
|
-
showEditor: function showEditor(_ref6) {
|
|
290
|
-
var options = _ref6.options;
|
|
291
|
-
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
292
|
-
}
|
|
293
|
-
}], [{
|
|
294
|
-
label: (0, i18n_1._)('SI prefix abbreviation for labels'),
|
|
295
|
-
option: 'xAxisAbbreviation',
|
|
296
|
-
editor: 'editor.checkbox',
|
|
297
|
-
showEditor: function showEditor(_ref7) {
|
|
298
|
-
var options = _ref7.options;
|
|
299
|
-
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
300
|
-
}
|
|
301
|
-
}], [{
|
|
302
|
-
label: (0, i18n_1._)('Include zero'),
|
|
303
|
-
option: 'showXAxisWithZero',
|
|
304
|
-
editor: 'editor.checkbox'
|
|
305
|
-
}], [{
|
|
306
|
-
label: (0, i18n_1._)('Extend to whole grid'),
|
|
307
|
-
option: 'showXAxisExtendedRange',
|
|
308
|
-
editor: 'editor.checkbox'
|
|
309
|
-
}], [{
|
|
310
|
-
label: (0, i18n_1._)('Minimum axis value'),
|
|
311
|
-
option: 'xAxisMin',
|
|
312
|
-
editor: 'editor.number'
|
|
313
|
-
}, {
|
|
314
|
-
label: (0, i18n_1._)('Maximum axis value'),
|
|
315
|
-
option: 'xAxisMax',
|
|
316
|
-
editor: 'editor.number'
|
|
317
|
-
}], [{
|
|
318
|
-
label: (0, i18n_1._)('Axis line visibility'),
|
|
319
|
-
option: 'xAxisLineVisibility',
|
|
320
|
-
editor: 'editor.checkbox'
|
|
321
|
-
}], // this option is disabled for bubble and scatter
|
|
322
|
-
// [
|
|
323
|
-
// {
|
|
324
|
-
// label: _('Major gridlines'),
|
|
325
|
-
// option: 'showXMajorGridLines',
|
|
326
|
-
// editor: 'editor.checkbox',
|
|
327
|
-
// },
|
|
328
|
-
// ],
|
|
329
|
-
[{
|
|
330
|
-
label: (0, i18n_1._)('Major tick visibility'),
|
|
331
|
-
option: 'xAxisMajorTickVisibility',
|
|
332
|
-
editor: 'editor.radioBar',
|
|
333
|
-
editorProps: {
|
|
334
|
-
values: [{
|
|
335
|
-
label: (0, i18n_1._)('Auto'),
|
|
336
|
-
value: 'auto'
|
|
337
|
-
}, {
|
|
338
|
-
label: (0, i18n_1._)('Show'),
|
|
339
|
-
value: 'show'
|
|
340
|
-
}, {
|
|
341
|
-
label: (0, i18n_1._)('Hide'),
|
|
342
|
-
value: 'hide'
|
|
343
|
-
}]
|
|
344
|
-
}
|
|
345
|
-
}], [{
|
|
346
|
-
label: (0, i18n_1._)('Major tick size (px)'),
|
|
347
|
-
option: 'xAxisMajorTickSize',
|
|
348
|
-
editor: 'editor.slider',
|
|
349
|
-
editorProps: {
|
|
350
|
-
min: 0,
|
|
351
|
-
max: 10,
|
|
352
|
-
step: 1
|
|
353
|
-
},
|
|
354
|
-
showEditor: function showEditor(_ref8) {
|
|
355
|
-
var options = _ref8.options;
|
|
356
|
-
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
357
|
-
}
|
|
358
|
-
}], [{
|
|
359
|
-
label: (0, i18n_1._)('Major tick interval spacing'),
|
|
360
|
-
option: 'xAxisMajorTickInterval',
|
|
361
|
-
editor: 'editor.number',
|
|
362
|
-
showEditor: function showEditor(_ref9) {
|
|
363
|
-
var options = _ref9.options;
|
|
364
|
-
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
365
|
-
}
|
|
366
|
-
}], [{
|
|
367
|
-
label: (0, i18n_1._)('Minor gridlines'),
|
|
368
|
-
option: 'showXMinorGridLines',
|
|
369
|
-
editor: 'editor.checkbox'
|
|
370
|
-
}], [{
|
|
371
|
-
label: (0, i18n_1._)('Minor tick visibility'),
|
|
372
|
-
option: 'xAxisMinorTickVisibility',
|
|
373
|
-
editor: 'editor.radioBar',
|
|
374
|
-
editorProps: {
|
|
375
|
-
values: [{
|
|
376
|
-
label: (0, i18n_1._)('Auto'),
|
|
377
|
-
value: 'auto'
|
|
378
|
-
}, {
|
|
379
|
-
label: (0, i18n_1._)('Show'),
|
|
380
|
-
value: 'show'
|
|
381
|
-
}, {
|
|
382
|
-
label: (0, i18n_1._)('Hide'),
|
|
383
|
-
value: 'hide'
|
|
384
|
-
}]
|
|
385
|
-
}
|
|
386
|
-
}], [{
|
|
387
|
-
label: (0, i18n_1._)('Minor tick size (px)'),
|
|
388
|
-
option: 'xAxisMinorTickSize',
|
|
389
|
-
editor: 'editor.slider',
|
|
390
|
-
editorProps: {
|
|
391
|
-
min: 0,
|
|
392
|
-
max: 10,
|
|
393
|
-
step: 1
|
|
394
|
-
},
|
|
395
|
-
showEditor: function showEditor(_ref10) {
|
|
396
|
-
var options = _ref10.options;
|
|
397
|
-
return options.xAxisMinorTickVisibility === 'show' || options.xAxisMinorTickVisibility === 'auto' || options.xAxisMinorTickVisibility === undefined;
|
|
398
|
-
}
|
|
399
|
-
}]])
|
|
400
|
-
};
|
|
401
|
-
exports.default = AxesChartXGridAndLabels;
|
|
402
|
-
|
|
403
|
-
/***/ }),
|
|
404
|
-
|
|
405
|
-
/***/ 101:
|
|
406
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
407
|
-
|
|
408
|
-
"use strict";
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
Object.defineProperty(exports, "__esModule", {
|
|
412
|
-
value: true
|
|
413
|
-
});
|
|
414
|
-
|
|
415
|
-
var i18n_1 = __webpack_require__(2);
|
|
416
|
-
|
|
417
|
-
var AxesChartYGridAndLabels = {
|
|
418
|
-
label: (0, i18n_1._)('Y-axis grid and labels'),
|
|
419
|
-
layout: [[{
|
|
420
|
-
label: (0, i18n_1._)('Axis title'),
|
|
421
|
-
option: 'yAxisTitleVisibility',
|
|
422
|
-
editor: 'editor.toggle'
|
|
423
|
-
}], [{
|
|
424
|
-
label: (0, i18n_1._)('Axis title text'),
|
|
425
|
-
option: 'yAxisTitleText',
|
|
426
|
-
editor: 'editor.text',
|
|
427
|
-
showEditor: function showEditor(_ref) {
|
|
428
|
-
var options = _ref.options;
|
|
429
|
-
return options.yAxisTitleVisibility === 'show' || options.yAxisTitleVisibility === undefined;
|
|
430
|
-
}
|
|
431
|
-
}], [{
|
|
432
|
-
label: (0, i18n_1._)('Scale'),
|
|
433
|
-
option: 'yAxisScale',
|
|
434
|
-
editor: 'editor.radioBar',
|
|
435
|
-
editorProps: {
|
|
436
|
-
values: [{
|
|
437
|
-
label: (0, i18n_1._)('Linear'),
|
|
438
|
-
value: 'linear'
|
|
439
|
-
}, {
|
|
440
|
-
label: (0, i18n_1._)('Log'),
|
|
441
|
-
value: 'log'
|
|
442
|
-
}]
|
|
443
|
-
}
|
|
444
|
-
}], [{
|
|
445
|
-
label: (0, i18n_1._)('Label visibility'),
|
|
446
|
-
option: 'yAxisLabelVisibility',
|
|
447
|
-
editor: 'editor.radioBar',
|
|
448
|
-
editorProps: {
|
|
449
|
-
values: [{
|
|
450
|
-
label: (0, i18n_1._)('Auto'),
|
|
451
|
-
value: 'auto'
|
|
452
|
-
}, {
|
|
453
|
-
label: (0, i18n_1._)('Show'),
|
|
454
|
-
value: 'show'
|
|
455
|
-
}, {
|
|
456
|
-
label: (0, i18n_1._)('Hide'),
|
|
457
|
-
value: 'hide'
|
|
458
|
-
}]
|
|
459
|
-
}
|
|
460
|
-
}], [{
|
|
461
|
-
label: (0, i18n_1._)('SI prefix abbreviation for labels'),
|
|
462
|
-
option: 'yAxisAbbreviation',
|
|
463
|
-
editor: 'editor.checkbox',
|
|
464
|
-
showEditor: function showEditor(_ref2) {
|
|
465
|
-
var options = _ref2.options;
|
|
466
|
-
return options.yAxisLabelVisibility === 'show' || options.yAxisLabelVisibility === 'auto' || options.yAxisLabelVisibility === undefined;
|
|
467
|
-
}
|
|
468
|
-
}], [{
|
|
469
|
-
label: (0, i18n_1._)('Include zero'),
|
|
470
|
-
option: 'showYAxisWithZero',
|
|
471
|
-
editor: 'editor.checkbox'
|
|
472
|
-
}], [{
|
|
473
|
-
label: (0, i18n_1._)('Extend to whole grid'),
|
|
474
|
-
option: 'showYAxisExtendedRange',
|
|
475
|
-
editor: 'editor.checkbox'
|
|
476
|
-
}], [{
|
|
477
|
-
label: (0, i18n_1._)('Minimum axis value'),
|
|
478
|
-
option: 'yAxisMin',
|
|
479
|
-
editor: 'editor.number'
|
|
480
|
-
}, {
|
|
481
|
-
label: (0, i18n_1._)('Maximum axis value'),
|
|
482
|
-
option: 'yAxisMax',
|
|
483
|
-
editor: 'editor.number'
|
|
484
|
-
}], [{
|
|
485
|
-
label: (0, i18n_1._)('Axis line visibility'),
|
|
486
|
-
option: 'yAxisLineVisibility',
|
|
487
|
-
editor: 'editor.checkbox'
|
|
488
|
-
}], [{
|
|
489
|
-
label: (0, i18n_1._)('Major gridlines'),
|
|
490
|
-
option: 'showYMajorGridLines',
|
|
491
|
-
editor: 'editor.checkbox'
|
|
492
|
-
}], [{
|
|
493
|
-
label: (0, i18n_1._)('Major tick visibility'),
|
|
494
|
-
option: 'yAxisMajorTickVisibility',
|
|
495
|
-
editor: 'editor.radioBar',
|
|
496
|
-
editorProps: {
|
|
497
|
-
values: [{
|
|
498
|
-
label: (0, i18n_1._)('Auto'),
|
|
499
|
-
value: 'auto'
|
|
500
|
-
}, {
|
|
501
|
-
label: (0, i18n_1._)('Show'),
|
|
502
|
-
value: 'show'
|
|
503
|
-
}, {
|
|
504
|
-
label: (0, i18n_1._)('Hide'),
|
|
505
|
-
value: 'hide'
|
|
506
|
-
}]
|
|
507
|
-
}
|
|
508
|
-
}], [{
|
|
509
|
-
label: (0, i18n_1._)('Major tick size (px)'),
|
|
510
|
-
option: 'yAxisMajorTickSize',
|
|
511
|
-
editor: 'editor.slider',
|
|
512
|
-
editorProps: {
|
|
513
|
-
min: 0,
|
|
514
|
-
max: 10,
|
|
515
|
-
step: 1
|
|
516
|
-
},
|
|
517
|
-
showEditor: function showEditor(_ref3) {
|
|
518
|
-
var options = _ref3.options;
|
|
519
|
-
return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
|
|
520
|
-
}
|
|
521
|
-
}], [{
|
|
522
|
-
label: (0, i18n_1._)('Major tick interval spacing'),
|
|
523
|
-
option: 'yAxisMajorTickInterval',
|
|
524
|
-
editor: 'editor.number',
|
|
525
|
-
showEditor: function showEditor(_ref4) {
|
|
526
|
-
var options = _ref4.options;
|
|
527
|
-
return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
|
|
528
|
-
}
|
|
529
|
-
}], [{
|
|
530
|
-
label: (0, i18n_1._)('Minor gridlines'),
|
|
531
|
-
option: 'showYMinorGridLines',
|
|
532
|
-
editor: 'editor.checkbox'
|
|
533
|
-
}], [{
|
|
534
|
-
label: (0, i18n_1._)('Minor tick visibility'),
|
|
535
|
-
option: 'yAxisMinorTickVisibility',
|
|
536
|
-
editor: 'editor.radioBar',
|
|
537
|
-
editorProps: {
|
|
538
|
-
values: [{
|
|
539
|
-
label: (0, i18n_1._)('Auto'),
|
|
540
|
-
value: 'auto'
|
|
541
|
-
}, {
|
|
542
|
-
label: (0, i18n_1._)('Show'),
|
|
543
|
-
value: 'show'
|
|
544
|
-
}, {
|
|
545
|
-
label: (0, i18n_1._)('Hide'),
|
|
546
|
-
value: 'hide'
|
|
547
|
-
}]
|
|
548
|
-
}
|
|
549
|
-
}], [{
|
|
550
|
-
label: (0, i18n_1._)('Minor tick size (px)'),
|
|
551
|
-
option: 'yAxisMinorTickSize',
|
|
552
|
-
editor: 'editor.slider',
|
|
553
|
-
editorProps: {
|
|
554
|
-
min: 0,
|
|
555
|
-
max: 10,
|
|
556
|
-
step: 1
|
|
557
|
-
},
|
|
558
|
-
showEditor: function showEditor(_ref5) {
|
|
559
|
-
var options = _ref5.options;
|
|
560
|
-
return options.yAxisMinorTickVisibility === 'show' || options.yAxisMinorTickVisibility === 'auto' || options.yAxisMinorTickVisibility === undefined;
|
|
561
|
-
}
|
|
562
|
-
}]]
|
|
563
|
-
};
|
|
564
|
-
exports.default = AxesChartYGridAndLabels;
|
|
112
|
+
module.exports = require("@splunk/visualization-schemas");
|
|
565
113
|
|
|
566
114
|
/***/ }),
|
|
567
115
|
|
|
@@ -582,11 +130,18 @@ module.exports = require("@splunk/visualizations-shared/Message");
|
|
|
582
130
|
/***/ 13:
|
|
583
131
|
/***/ (function(module, exports) {
|
|
584
132
|
|
|
585
|
-
module.exports = require("@
|
|
133
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
586
134
|
|
|
587
135
|
/***/ }),
|
|
588
136
|
|
|
589
137
|
/***/ 14:
|
|
138
|
+
/***/ (function(module, exports) {
|
|
139
|
+
|
|
140
|
+
module.exports = require("@splunk/themes/variables");
|
|
141
|
+
|
|
142
|
+
/***/ }),
|
|
143
|
+
|
|
144
|
+
/***/ 15:
|
|
590
145
|
/***/ (function(module, exports, __webpack_require__) {
|
|
591
146
|
|
|
592
147
|
"use strict";
|
|
@@ -883,6 +438,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
883
438
|
});
|
|
884
439
|
}
|
|
885
440
|
} catch (e) {
|
|
441
|
+
// eslint-disable-next-line no-console
|
|
886
442
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
887
443
|
}
|
|
888
444
|
|
|
@@ -1049,6 +605,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
1049
605
|
return downsampledIndices.add(downsampleIndex);
|
|
1050
606
|
});
|
|
1051
607
|
} catch (e) {
|
|
608
|
+
// eslint-disable-next-line no-console
|
|
1052
609
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
1053
610
|
}
|
|
1054
611
|
}); // update data columns with downsampled columns
|
|
@@ -1061,27 +618,27 @@ exports.downsampleDataSources = downsampleDataSources;
|
|
|
1061
618
|
|
|
1062
619
|
/***/ }),
|
|
1063
620
|
|
|
1064
|
-
/***/
|
|
621
|
+
/***/ 16:
|
|
1065
622
|
/***/ (function(module, exports) {
|
|
1066
623
|
|
|
1067
624
|
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
1068
625
|
|
|
1069
626
|
/***/ }),
|
|
1070
627
|
|
|
1071
|
-
/***/
|
|
628
|
+
/***/ 17:
|
|
1072
629
|
/***/ (function(module, exports) {
|
|
1073
630
|
|
|
1074
631
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1075
632
|
|
|
1076
633
|
/***/ }),
|
|
1077
634
|
|
|
1078
|
-
/***/
|
|
635
|
+
/***/ 18:
|
|
1079
636
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1080
637
|
|
|
1081
638
|
"use strict";
|
|
1082
639
|
|
|
1083
640
|
|
|
1084
|
-
var _slicedToArray = __webpack_require__(
|
|
641
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1085
642
|
|
|
1086
643
|
Object.defineProperty(exports, "__esModule", {
|
|
1087
644
|
value: true
|
|
@@ -1091,9 +648,9 @@ var React = __webpack_require__(0);
|
|
|
1091
648
|
|
|
1092
649
|
var styled_components_1 = __webpack_require__(4);
|
|
1093
650
|
|
|
1094
|
-
var style_1 = __webpack_require__(
|
|
651
|
+
var style_1 = __webpack_require__(19);
|
|
1095
652
|
|
|
1096
|
-
var colorUtils_1 = __webpack_require__(
|
|
653
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
1097
654
|
|
|
1098
655
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
1099
656
|
|
|
@@ -1166,7 +723,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
1166
723
|
|
|
1167
724
|
return React.createElement(FixSizeItem, {
|
|
1168
725
|
"data-test": "fix-size-item",
|
|
1169
|
-
"data-splunk-visualization-version": "26.
|
|
726
|
+
"data-splunk-visualization-version": "26.3.0 - a1ef240a6",
|
|
1170
727
|
width: width,
|
|
1171
728
|
height: height,
|
|
1172
729
|
backgroundColor: backgroundColor
|
|
@@ -1188,30 +745,7 @@ exports.default = withFixedSizeContainer;
|
|
|
1188
745
|
|
|
1189
746
|
/***/ }),
|
|
1190
747
|
|
|
1191
|
-
/***/
|
|
1192
|
-
/***/ (function(module, exports) {
|
|
1193
|
-
|
|
1194
|
-
module.exports = require("@splunk/visualizations-shared/style");
|
|
1195
|
-
|
|
1196
|
-
/***/ }),
|
|
1197
|
-
|
|
1198
|
-
/***/ 19:
|
|
1199
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1200
|
-
|
|
1201
|
-
"use strict";
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1205
|
-
value: true
|
|
1206
|
-
});
|
|
1207
|
-
exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
|
|
1208
|
-
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1209
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
1210
|
-
exports.validOutputModes = ['json_cols', 'json'];
|
|
1211
|
-
|
|
1212
|
-
/***/ }),
|
|
1213
|
-
|
|
1214
|
-
/***/ 190:
|
|
748
|
+
/***/ 187:
|
|
1215
749
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1216
750
|
|
|
1217
751
|
"use strict";
|
|
@@ -1239,21 +773,21 @@ var lodash_1 = __webpack_require__(3); // Charting imports i18n which needs to b
|
|
|
1239
773
|
// eslint-disable-next-line import/order
|
|
1240
774
|
|
|
1241
775
|
|
|
1242
|
-
var Charting_1 = __webpack_require__(
|
|
776
|
+
var Charting_1 = __webpack_require__(85);
|
|
1243
777
|
|
|
1244
|
-
var charting_bundle_1 = __webpack_require__(
|
|
778
|
+
var charting_bundle_1 = __webpack_require__(76);
|
|
1245
779
|
|
|
1246
|
-
var simpleXMLOptions_1 = __webpack_require__(
|
|
780
|
+
var simpleXMLOptions_1 = __webpack_require__(91);
|
|
1247
781
|
|
|
1248
|
-
var config_1 = __webpack_require__(
|
|
782
|
+
var config_1 = __webpack_require__(483);
|
|
1249
783
|
|
|
1250
784
|
exports.config = config_1.default;
|
|
1251
785
|
|
|
1252
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
786
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
1253
787
|
|
|
1254
|
-
var scatterUtils_1 = __webpack_require__(
|
|
788
|
+
var scatterUtils_1 = __webpack_require__(484);
|
|
1255
789
|
|
|
1256
|
-
var chartingUtils_1 = __webpack_require__(
|
|
790
|
+
var chartingUtils_1 = __webpack_require__(78);
|
|
1257
791
|
|
|
1258
792
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
1259
793
|
|
|
@@ -1331,6 +865,13 @@ exports.default = Column;
|
|
|
1331
865
|
|
|
1332
866
|
/***/ }),
|
|
1333
867
|
|
|
868
|
+
/***/ 19:
|
|
869
|
+
/***/ (function(module, exports) {
|
|
870
|
+
|
|
871
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
872
|
+
|
|
873
|
+
/***/ }),
|
|
874
|
+
|
|
1334
875
|
/***/ 2:
|
|
1335
876
|
/***/ (function(module, exports) {
|
|
1336
877
|
|
|
@@ -1344,7 +885,22 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
1344
885
|
"use strict";
|
|
1345
886
|
|
|
1346
887
|
|
|
1347
|
-
|
|
888
|
+
Object.defineProperty(exports, "__esModule", {
|
|
889
|
+
value: true
|
|
890
|
+
});
|
|
891
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
892
|
+
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
893
|
+
exports.validOutputModes = ['json_cols', 'json'];
|
|
894
|
+
|
|
895
|
+
/***/ }),
|
|
896
|
+
|
|
897
|
+
/***/ 22:
|
|
898
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
899
|
+
|
|
900
|
+
"use strict";
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
var _classCallCheck = __webpack_require__(9);
|
|
1348
904
|
|
|
1349
905
|
var _createClass = __webpack_require__(25);
|
|
1350
906
|
|
|
@@ -1376,7 +932,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
1376
932
|
|
|
1377
933
|
/***/ }),
|
|
1378
934
|
|
|
1379
|
-
/***/
|
|
935
|
+
/***/ 23:
|
|
1380
936
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1381
937
|
|
|
1382
938
|
"use strict";
|
|
@@ -1405,7 +961,7 @@ var VizCategory;
|
|
|
1405
961
|
|
|
1406
962
|
/***/ }),
|
|
1407
963
|
|
|
1408
|
-
/***/
|
|
964
|
+
/***/ 24:
|
|
1409
965
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1410
966
|
|
|
1411
967
|
"use strict";
|
|
@@ -1438,13 +994,6 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
1438
994
|
|
|
1439
995
|
/***/ }),
|
|
1440
996
|
|
|
1441
|
-
/***/ 24:
|
|
1442
|
-
/***/ (function(module, exports) {
|
|
1443
|
-
|
|
1444
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
1445
|
-
|
|
1446
|
-
/***/ }),
|
|
1447
|
-
|
|
1448
997
|
/***/ 25:
|
|
1449
998
|
/***/ (function(module, exports) {
|
|
1450
999
|
|
|
@@ -1462,102 +1011,27 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
1462
1011
|
/***/ 27:
|
|
1463
1012
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1464
1013
|
|
|
1465
|
-
"use strict";
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
var _toConsumableArray = __webpack_require__(8);
|
|
1469
|
-
|
|
1470
|
-
var _defineProperty = __webpack_require__(9);
|
|
1471
|
-
|
|
1472
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
1473
|
-
var t = {};
|
|
1014
|
+
"use strict";
|
|
1474
1015
|
|
|
1475
|
-
for (var p in s) {
|
|
1476
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1477
|
-
}
|
|
1478
1016
|
|
|
1479
|
-
|
|
1480
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
1481
|
-
}
|
|
1482
|
-
return t;
|
|
1483
|
-
};
|
|
1017
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1484
1018
|
|
|
1485
1019
|
Object.defineProperty(exports, "__esModule", {
|
|
1486
1020
|
value: true
|
|
1487
1021
|
});
|
|
1488
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
1489
|
-
|
|
1490
|
-
var lodash_1 = __webpack_require__(3);
|
|
1491
|
-
|
|
1492
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
1493
|
-
|
|
1494
|
-
var VizBehavior_1 = __webpack_require__(6);
|
|
1495
|
-
|
|
1496
|
-
var dynamicOptionsDSLType = {
|
|
1497
|
-
type: 'string',
|
|
1498
|
-
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
1499
|
-
};
|
|
1500
|
-
/**
|
|
1501
|
-
* Helper function to extend an options schema with dynamic options DSL
|
|
1502
|
-
* @param optionsSchema a visualization's options schema
|
|
1503
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
1504
|
-
*/
|
|
1022
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
1505
1023
|
|
|
1506
|
-
|
|
1507
|
-
var enhancedOptionsSchema = {};
|
|
1508
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
1509
|
-
var _a = optionsSchema[key],
|
|
1510
|
-
title = _a.title,
|
|
1511
|
-
description = _a.description,
|
|
1512
|
-
readOnly = _a.readOnly,
|
|
1513
|
-
writeOnly = _a.writeOnly,
|
|
1514
|
-
examples = _a.examples,
|
|
1515
|
-
defaultValue = _a.default,
|
|
1516
|
-
type = _a.type,
|
|
1517
|
-
properties = _a.properties,
|
|
1518
|
-
patternProperties = _a.patternProperties,
|
|
1519
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
1520
|
-
|
|
1521
|
-
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
1522
|
-
title: title
|
|
1523
|
-
}), description !== undefined && {
|
|
1524
|
-
description: description
|
|
1525
|
-
}), readOnly !== undefined && {
|
|
1526
|
-
readOnly: readOnly
|
|
1527
|
-
}), writeOnly !== undefined && {
|
|
1528
|
-
writeOnly: writeOnly
|
|
1529
|
-
}), examples !== undefined && {
|
|
1530
|
-
examples: examples
|
|
1531
|
-
}), defaultValue !== undefined && {
|
|
1532
|
-
default: defaultValue
|
|
1533
|
-
});
|
|
1024
|
+
var lodash_1 = __webpack_require__(3); // included for backwards compatibility
|
|
1534
1025
|
|
|
1535
|
-
if (type === 'object') {
|
|
1536
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
1537
|
-
type: type
|
|
1538
|
-
}), properties && {
|
|
1539
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
1540
|
-
});
|
|
1541
1026
|
|
|
1542
|
-
|
|
1543
|
-
var enhancedPatternProperties = {};
|
|
1544
|
-
Object.keys(patternProperties).forEach(function (opt) {
|
|
1545
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
1546
|
-
});
|
|
1547
|
-
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
1548
|
-
}
|
|
1549
|
-
} else {
|
|
1550
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
1551
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
1552
|
-
type: type
|
|
1553
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
1554
|
-
});
|
|
1555
|
-
}
|
|
1556
|
-
});
|
|
1557
|
-
return enhancedOptionsSchema;
|
|
1558
|
-
}
|
|
1027
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
1559
1028
|
|
|
1560
|
-
exports
|
|
1029
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
1030
|
+
enumerable: true,
|
|
1031
|
+
get: function get() {
|
|
1032
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
1033
|
+
}
|
|
1034
|
+
});
|
|
1561
1035
|
/**
|
|
1562
1036
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
1563
1037
|
* this function also collapse all editor panels
|
|
@@ -1568,11 +1042,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
1568
1042
|
|
|
1569
1043
|
function enhanceConfig(vizConfig) {
|
|
1570
1044
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
1571
|
-
|
|
1572
|
-
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
1573
|
-
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
1045
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
1577
1046
|
return Object.assign(Object.assign({}, config), {
|
|
1578
1047
|
open: config.open || false
|
|
@@ -1797,7 +1266,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
1797
1266
|
|
|
1798
1267
|
var Message_1 = __webpack_require__(12);
|
|
1799
1268
|
|
|
1800
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1269
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
1801
1270
|
/**
|
|
1802
1271
|
* @method shouldShowIconPlaceholder
|
|
1803
1272
|
* @param {object} dataSources
|
|
@@ -1875,7 +1344,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
1875
1344
|
"use strict";
|
|
1876
1345
|
|
|
1877
1346
|
|
|
1878
|
-
var _defineProperty = __webpack_require__(
|
|
1347
|
+
var _defineProperty = __webpack_require__(13);
|
|
1879
1348
|
|
|
1880
1349
|
Object.defineProperty(exports, "__esModule", {
|
|
1881
1350
|
value: true
|
|
@@ -1886,7 +1355,7 @@ var T = __webpack_require__(1);
|
|
|
1886
1355
|
|
|
1887
1356
|
var lodash_1 = __webpack_require__(3);
|
|
1888
1357
|
|
|
1889
|
-
var DataSource_1 = __webpack_require__(
|
|
1358
|
+
var DataSource_1 = __webpack_require__(21);
|
|
1890
1359
|
|
|
1891
1360
|
exports.SortParamsPropTypes = T.shape({
|
|
1892
1361
|
currentSortKey: T.string,
|
|
@@ -2051,7 +1520,7 @@ __exportStar(__webpack_require__(41), exports);
|
|
|
2051
1520
|
|
|
2052
1521
|
__exportStar(__webpack_require__(42), exports);
|
|
2053
1522
|
|
|
2054
|
-
__exportStar(__webpack_require__(
|
|
1523
|
+
__exportStar(__webpack_require__(21), exports);
|
|
2055
1524
|
|
|
2056
1525
|
__exportStar(__webpack_require__(43), exports);
|
|
2057
1526
|
|
|
@@ -2065,13 +1534,13 @@ __exportStar(__webpack_require__(47), exports);
|
|
|
2065
1534
|
|
|
2066
1535
|
__exportStar(__webpack_require__(48), exports);
|
|
2067
1536
|
|
|
2068
|
-
__exportStar(__webpack_require__(
|
|
1537
|
+
__exportStar(__webpack_require__(22), exports);
|
|
2069
1538
|
|
|
2070
|
-
__exportStar(__webpack_require__(
|
|
1539
|
+
__exportStar(__webpack_require__(8), exports);
|
|
2071
1540
|
|
|
2072
|
-
__exportStar(__webpack_require__(
|
|
1541
|
+
__exportStar(__webpack_require__(23), exports);
|
|
2073
1542
|
|
|
2074
|
-
__exportStar(__webpack_require__(
|
|
1543
|
+
__exportStar(__webpack_require__(49), exports);
|
|
2075
1544
|
|
|
2076
1545
|
__exportStar(__webpack_require__(50), exports);
|
|
2077
1546
|
|
|
@@ -2083,8 +1552,6 @@ __exportStar(__webpack_require__(53), exports);
|
|
|
2083
1552
|
|
|
2084
1553
|
__exportStar(__webpack_require__(54), exports);
|
|
2085
1554
|
|
|
2086
|
-
__exportStar(__webpack_require__(55), exports);
|
|
2087
|
-
|
|
2088
1555
|
/***/ }),
|
|
2089
1556
|
|
|
2090
1557
|
/***/ 41:
|
|
@@ -2186,7 +1653,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2186
1653
|
|
|
2187
1654
|
/***/ }),
|
|
2188
1655
|
|
|
2189
|
-
/***/
|
|
1656
|
+
/***/ 482:
|
|
2190
1657
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2191
1658
|
|
|
2192
1659
|
"use strict";
|
|
@@ -2222,9 +1689,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2222
1689
|
});
|
|
2223
1690
|
exports.default = void 0;
|
|
2224
1691
|
|
|
2225
|
-
__exportStar(__webpack_require__(
|
|
1692
|
+
__exportStar(__webpack_require__(187), exports);
|
|
2226
1693
|
|
|
2227
|
-
var Scatter_1 = __webpack_require__(
|
|
1694
|
+
var Scatter_1 = __webpack_require__(187);
|
|
2228
1695
|
|
|
2229
1696
|
Object.defineProperty(exports, "default", {
|
|
2230
1697
|
enumerable: true,
|
|
@@ -2235,48 +1702,45 @@ Object.defineProperty(exports, "default", {
|
|
|
2235
1702
|
|
|
2236
1703
|
/***/ }),
|
|
2237
1704
|
|
|
2238
|
-
/***/
|
|
1705
|
+
/***/ 483:
|
|
2239
1706
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2240
1707
|
|
|
2241
1708
|
"use strict";
|
|
2242
1709
|
|
|
2243
1710
|
|
|
2244
|
-
var _toConsumableArray = __webpack_require__(
|
|
1711
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2245
1712
|
|
|
2246
1713
|
Object.defineProperty(exports, "__esModule", {
|
|
2247
1714
|
value: true
|
|
2248
1715
|
});
|
|
2249
|
-
exports.optionsSchema = void 0;
|
|
2250
1716
|
|
|
2251
|
-
var visualization_icons_1 = __webpack_require__(
|
|
1717
|
+
var visualization_icons_1 = __webpack_require__(72);
|
|
2252
1718
|
|
|
2253
|
-
var placeholders_1 = __webpack_require__(
|
|
1719
|
+
var placeholders_1 = __webpack_require__(71);
|
|
2254
1720
|
|
|
2255
1721
|
var pick_1 = __webpack_require__(30);
|
|
2256
1722
|
|
|
2257
|
-
var variables_1 = __webpack_require__(
|
|
2258
|
-
|
|
2259
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
1723
|
+
var variables_1 = __webpack_require__(14);
|
|
2260
1724
|
|
|
2261
|
-
var
|
|
1725
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
2262
1726
|
|
|
2263
1727
|
var i18n_1 = __webpack_require__(2);
|
|
2264
1728
|
|
|
2265
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1729
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
2266
1730
|
|
|
2267
|
-
var VizCategory_1 = __webpack_require__(
|
|
1731
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
2268
1732
|
|
|
2269
1733
|
var configUtils_1 = __webpack_require__(27);
|
|
2270
1734
|
|
|
2271
|
-
var AxesChartDataConfig_1 = __webpack_require__(
|
|
1735
|
+
var AxesChartDataConfig_1 = __webpack_require__(95);
|
|
2272
1736
|
|
|
2273
|
-
var AxesChartXGridAndLabels_1 = __webpack_require__(
|
|
1737
|
+
var AxesChartXGridAndLabels_1 = __webpack_require__(98);
|
|
2274
1738
|
|
|
2275
|
-
var AxesChartColorAndStyle_1 = __webpack_require__(
|
|
1739
|
+
var AxesChartColorAndStyle_1 = __webpack_require__(96);
|
|
2276
1740
|
|
|
2277
|
-
var AxesChartLegend_1 = __webpack_require__(
|
|
1741
|
+
var AxesChartLegend_1 = __webpack_require__(97);
|
|
2278
1742
|
|
|
2279
|
-
var AxesChartYGridAndLabels_1 = __webpack_require__(
|
|
1743
|
+
var AxesChartYGridAndLabels_1 = __webpack_require__(99);
|
|
2280
1744
|
|
|
2281
1745
|
var dataContract = {
|
|
2282
1746
|
requiredDataSources: [{
|
|
@@ -2305,287 +1769,6 @@ var size = {
|
|
|
2305
1769
|
initialHeight: 300
|
|
2306
1770
|
};
|
|
2307
1771
|
var defaultContext = {};
|
|
2308
|
-
exports.optionsSchema = {
|
|
2309
|
-
x: {
|
|
2310
|
-
default: '> primary | seriesByIndex(0)',
|
|
2311
|
-
description: 'Specify the dataSource applied to the x-axis.',
|
|
2312
|
-
type: 'array',
|
|
2313
|
-
items: {
|
|
2314
|
-
type: ['string', 'number']
|
|
2315
|
-
}
|
|
2316
|
-
},
|
|
2317
|
-
y: {
|
|
2318
|
-
default: '> primary | seriesByIndex(1)',
|
|
2319
|
-
description: 'Specify the dataSource applied to the y-axis.',
|
|
2320
|
-
type: 'array',
|
|
2321
|
-
items: {
|
|
2322
|
-
type: ['string', 'number']
|
|
2323
|
-
}
|
|
2324
|
-
},
|
|
2325
|
-
category: {
|
|
2326
|
-
description: 'Specify a sequence of dataSource events to be plotted on the chart.',
|
|
2327
|
-
type: 'array',
|
|
2328
|
-
items: {
|
|
2329
|
-
type: ['string', 'number']
|
|
2330
|
-
},
|
|
2331
|
-
default: '> primary | seriesByIndex(2)'
|
|
2332
|
-
},
|
|
2333
|
-
xField: {
|
|
2334
|
-
default: '> x | getField()',
|
|
2335
|
-
description: 'Specify the field that should be mapped to the x-axis.',
|
|
2336
|
-
type: 'string'
|
|
2337
|
-
},
|
|
2338
|
-
yField: {
|
|
2339
|
-
default: '> y | getField()',
|
|
2340
|
-
description: 'Specify the field that should be mapped to the y-axis.',
|
|
2341
|
-
type: 'string'
|
|
2342
|
-
},
|
|
2343
|
-
categoryField: {
|
|
2344
|
-
default: '> category | getField()',
|
|
2345
|
-
description: 'Specify the field that should be mapped to the series categories.',
|
|
2346
|
-
type: 'string'
|
|
2347
|
-
},
|
|
2348
|
-
backgroundColor: {
|
|
2349
|
-
default: '> themes.defaultBackgroundColor',
|
|
2350
|
-
description: 'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
|
|
2351
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
2352
|
-
type: 'string'
|
|
2353
|
-
},
|
|
2354
|
-
legendDisplay: {
|
|
2355
|
-
default: 'right',
|
|
2356
|
-
description: 'Specify the location of the legend on the panel.',
|
|
2357
|
-
pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
|
|
2358
|
-
type: 'string'
|
|
2359
|
-
},
|
|
2360
|
-
legendTruncation: {
|
|
2361
|
-
default: 'ellipsisEnd',
|
|
2362
|
-
description: 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',
|
|
2363
|
-
pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
|
|
2364
|
-
type: 'string'
|
|
2365
|
-
},
|
|
2366
|
-
markerSize: {
|
|
2367
|
-
description: 'Specify, in pixels, the size of each scatter marker.',
|
|
2368
|
-
type: 'number',
|
|
2369
|
-
default: 4
|
|
2370
|
-
},
|
|
2371
|
-
resultLimit: {
|
|
2372
|
-
default: 50000,
|
|
2373
|
-
description: 'Specify the number of data points rendered in a chart.',
|
|
2374
|
-
type: 'number'
|
|
2375
|
-
},
|
|
2376
|
-
seriesColors: {
|
|
2377
|
-
default: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
2378
|
-
description: 'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',
|
|
2379
|
-
type: 'array',
|
|
2380
|
-
items: {
|
|
2381
|
-
type: 'string'
|
|
2382
|
-
}
|
|
2383
|
-
},
|
|
2384
|
-
seriesColorsByField: {
|
|
2385
|
-
description: 'Specify the colors to use for specific categories, or series names, derived from distinct values in the selected category field. For example, {"user1": "#008000", "user2": "#FFA500"}.',
|
|
2386
|
-
type: 'object'
|
|
2387
|
-
},
|
|
2388
|
-
showXAxisExtendedRange: {
|
|
2389
|
-
default: true,
|
|
2390
|
-
description: 'Specify whether the x-axis should be extended to snap to whole major tick marks.',
|
|
2391
|
-
type: 'boolean'
|
|
2392
|
-
},
|
|
2393
|
-
showYAxisExtendedRange: {
|
|
2394
|
-
default: true,
|
|
2395
|
-
description: 'Specify whether the y-axis should be extended to snap to whole major tick marks.',
|
|
2396
|
-
type: 'boolean'
|
|
2397
|
-
},
|
|
2398
|
-
showXAxisWithZero: {
|
|
2399
|
-
default: false,
|
|
2400
|
-
description: 'Specify whether the x-axis range includes zero.',
|
|
2401
|
-
type: 'boolean'
|
|
2402
|
-
},
|
|
2403
|
-
showYAxisWithZero: {
|
|
2404
|
-
default: false,
|
|
2405
|
-
description: 'Specify whether the y-axis range includes zero.',
|
|
2406
|
-
type: 'boolean'
|
|
2407
|
-
},
|
|
2408
|
-
showRoundedXAxisLabels: {
|
|
2409
|
-
default: false,
|
|
2410
|
-
description: 'Specify whether to round x-axis values to the nearest integer.',
|
|
2411
|
-
type: 'boolean'
|
|
2412
|
-
},
|
|
2413
|
-
// TODO: figure out if we want to change splunk-charting behavior for Bubble/Scatter, which hardcodes XMajorGridlines to false
|
|
2414
|
-
// showXMajorGridLines: {
|
|
2415
|
-
// default: false,
|
|
2416
|
-
// description: 'Specify whether major grid lines are visible on the x-axis.',
|
|
2417
|
-
// type: 'boolean',
|
|
2418
|
-
// },
|
|
2419
|
-
showYMajorGridLines: {
|
|
2420
|
-
default: true,
|
|
2421
|
-
description: 'Specify whether major grid lines are visible on the y-axis.',
|
|
2422
|
-
type: 'boolean'
|
|
2423
|
-
},
|
|
2424
|
-
showXMinorGridLines: {
|
|
2425
|
-
default: false,
|
|
2426
|
-
description: 'Specify whether minor grid lines are visible on the x-axis.',
|
|
2427
|
-
type: 'boolean'
|
|
2428
|
-
},
|
|
2429
|
-
showYMinorGridLines: {
|
|
2430
|
-
default: false,
|
|
2431
|
-
description: 'Specify whether minor grid lines are visible on the y-axis.',
|
|
2432
|
-
type: 'boolean'
|
|
2433
|
-
},
|
|
2434
|
-
xAxisLabelRotation: {
|
|
2435
|
-
default: 0,
|
|
2436
|
-
description: 'Specify the rotation of the x-axis labels in degrees.',
|
|
2437
|
-
type: 'number',
|
|
2438
|
-
enum: [-90, -45, 0, 45, 90]
|
|
2439
|
-
},
|
|
2440
|
-
xAxisAbbreviation: {
|
|
2441
|
-
default: 'off',
|
|
2442
|
-
description: 'Specify whether to abbreviate large x-axis values with the closest SI prefix.',
|
|
2443
|
-
enum: ['off', 'auto'],
|
|
2444
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'off']),
|
|
2445
|
-
type: 'string'
|
|
2446
|
-
},
|
|
2447
|
-
yAxisAbbreviation: {
|
|
2448
|
-
default: 'auto',
|
|
2449
|
-
description: 'Specify whether to abbreviate large y-axis values with the closest SI prefix.',
|
|
2450
|
-
enum: ['off', 'auto'],
|
|
2451
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'off']),
|
|
2452
|
-
type: 'string'
|
|
2453
|
-
},
|
|
2454
|
-
xAxisLabelVisibility: {
|
|
2455
|
-
default: 'auto',
|
|
2456
|
-
description: 'Specify whether to show or hide labels on the x-axis.',
|
|
2457
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
2458
|
-
type: 'string'
|
|
2459
|
-
},
|
|
2460
|
-
yAxisLabelVisibility: {
|
|
2461
|
-
default: 'auto',
|
|
2462
|
-
description: 'Specify whether to show or hide labels on the y-axis.',
|
|
2463
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
2464
|
-
type: 'string'
|
|
2465
|
-
},
|
|
2466
|
-
xAxisLineVisibility: {
|
|
2467
|
-
default: 'hide',
|
|
2468
|
-
description: 'Specify whether to show or hide the x-axis line.',
|
|
2469
|
-
enum: ['hide', 'show'],
|
|
2470
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
2471
|
-
type: 'string'
|
|
2472
|
-
},
|
|
2473
|
-
yAxisLineVisibility: {
|
|
2474
|
-
default: 'hide',
|
|
2475
|
-
description: 'Specify whether to show or hide the y-axis line.',
|
|
2476
|
-
enum: ['hide', 'show'],
|
|
2477
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
2478
|
-
type: 'string'
|
|
2479
|
-
},
|
|
2480
|
-
xAxisMajorTickInterval: {
|
|
2481
|
-
default: 'auto',
|
|
2482
|
-
description: 'Specify the spacing interval at which to place major tick marks along the numeric x-axis. By default, this value is automatically calculated based on the scale of the related axis.',
|
|
2483
|
-
type: ['string', 'number']
|
|
2484
|
-
},
|
|
2485
|
-
yAxisMajorTickInterval: {
|
|
2486
|
-
default: 'auto',
|
|
2487
|
-
description: 'Specify the spacing interval at which to place major tick marks along the numeric y-axis. By default, this value is automatically calculated based on the scale of the related axis.',
|
|
2488
|
-
type: ['string', 'number']
|
|
2489
|
-
},
|
|
2490
|
-
xAxisMajorTickSize: {
|
|
2491
|
-
default: 6,
|
|
2492
|
-
description: 'Specify the size, in pixels, of major tick marks on the x-axis.',
|
|
2493
|
-
type: 'number'
|
|
2494
|
-
},
|
|
2495
|
-
yAxisMajorTickSize: {
|
|
2496
|
-
default: 6,
|
|
2497
|
-
description: 'Specify the size, in pixels, of major tick marks on the y-axis.',
|
|
2498
|
-
type: 'number'
|
|
2499
|
-
},
|
|
2500
|
-
xAxisMinorTickSize: {
|
|
2501
|
-
default: 6,
|
|
2502
|
-
description: 'Specify the size, in pixels, of minor tick marks on the x-axis.',
|
|
2503
|
-
type: 'number'
|
|
2504
|
-
},
|
|
2505
|
-
yAxisMinorTickSize: {
|
|
2506
|
-
default: 6,
|
|
2507
|
-
description: 'Specify the size, in pixels, of minor tick marks on the y-axis.',
|
|
2508
|
-
type: 'number'
|
|
2509
|
-
},
|
|
2510
|
-
xAxisMajorTickVisibility: {
|
|
2511
|
-
default: 'auto',
|
|
2512
|
-
description: 'Specify whether to show or hide major tick marks on the x-axis.',
|
|
2513
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
2514
|
-
type: 'string'
|
|
2515
|
-
},
|
|
2516
|
-
yAxisMajorTickVisibility: {
|
|
2517
|
-
default: 'auto',
|
|
2518
|
-
description: 'Specify whether to show or hide major tick marks on the y-axis.',
|
|
2519
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
2520
|
-
type: 'string'
|
|
2521
|
-
},
|
|
2522
|
-
xAxisMinorTickVisibility: {
|
|
2523
|
-
default: 'auto',
|
|
2524
|
-
description: 'Specify whether to show or hide minor tick marks on the x-axis .',
|
|
2525
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
2526
|
-
type: 'string'
|
|
2527
|
-
},
|
|
2528
|
-
yAxisMinorTickVisibility: {
|
|
2529
|
-
default: 'auto',
|
|
2530
|
-
description: 'Specify whether to show or hide minor tick marks on the y-axis.',
|
|
2531
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
2532
|
-
type: 'string'
|
|
2533
|
-
},
|
|
2534
|
-
xAxisMax: {
|
|
2535
|
-
default: 'auto',
|
|
2536
|
-
description: 'Specify the maximum number for the range of the visible x-axis.',
|
|
2537
|
-
type: ['string', 'number']
|
|
2538
|
-
},
|
|
2539
|
-
yAxisMax: {
|
|
2540
|
-
default: 'auto',
|
|
2541
|
-
description: 'Specify the maximum number for the range of the visible y-axis.',
|
|
2542
|
-
type: ['string', 'number']
|
|
2543
|
-
},
|
|
2544
|
-
xAxisMin: {
|
|
2545
|
-
default: 'auto',
|
|
2546
|
-
description: 'Specify the minimum number for the range of the visible x-axis.',
|
|
2547
|
-
type: ['string', 'number']
|
|
2548
|
-
},
|
|
2549
|
-
yAxisMin: {
|
|
2550
|
-
default: 'auto',
|
|
2551
|
-
description: 'Specify the minimum number for the range of the visible y-axis.',
|
|
2552
|
-
type: ['string', 'number']
|
|
2553
|
-
},
|
|
2554
|
-
xAxisScale: {
|
|
2555
|
-
default: 'linear',
|
|
2556
|
-
description: 'Specify the type of scale that applies to a numerical x-axis.',
|
|
2557
|
-
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
2558
|
-
type: 'string'
|
|
2559
|
-
},
|
|
2560
|
-
yAxisScale: {
|
|
2561
|
-
default: 'linear',
|
|
2562
|
-
description: 'Specify the type of scale that applies to a numerical y-axis.',
|
|
2563
|
-
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
2564
|
-
type: 'string'
|
|
2565
|
-
},
|
|
2566
|
-
xAxisTitleText: {
|
|
2567
|
-
description: 'Specify the title of the x-axis.',
|
|
2568
|
-
type: 'string'
|
|
2569
|
-
},
|
|
2570
|
-
yAxisTitleText: {
|
|
2571
|
-
description: 'Specify the title of the y-axis.',
|
|
2572
|
-
type: 'string'
|
|
2573
|
-
},
|
|
2574
|
-
xAxisTitleVisibility: {
|
|
2575
|
-
default: 'show',
|
|
2576
|
-
description: 'Specify whether to show or hide the title of the x-axis.',
|
|
2577
|
-
enum: ['hide', 'show'],
|
|
2578
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
2579
|
-
type: 'string'
|
|
2580
|
-
},
|
|
2581
|
-
yAxisTitleVisibility: {
|
|
2582
|
-
default: 'show',
|
|
2583
|
-
description: 'Specify whether to show or hide the title of the y-axis.',
|
|
2584
|
-
enum: ['hide', 'show'],
|
|
2585
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
2586
|
-
type: 'string'
|
|
2587
|
-
}
|
|
2588
|
-
};
|
|
2589
1772
|
var themes = {
|
|
2590
1773
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
2591
1774
|
return (0, pick_1.default)({
|
|
@@ -2641,7 +1824,7 @@ var config = {
|
|
|
2641
1824
|
dataContract: dataContract,
|
|
2642
1825
|
size: size,
|
|
2643
1826
|
defaultContext: defaultContext,
|
|
2644
|
-
optionsSchema:
|
|
1827
|
+
optionsSchema: visualization_schemas_1.scatterOptionsSchema,
|
|
2645
1828
|
editorConfig: editorConfig,
|
|
2646
1829
|
events: {
|
|
2647
1830
|
'legend.click': {
|
|
@@ -2658,7 +1841,7 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
|
2658
1841
|
|
|
2659
1842
|
/***/ }),
|
|
2660
1843
|
|
|
2661
|
-
/***/
|
|
1844
|
+
/***/ 484:
|
|
2662
1845
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2663
1846
|
|
|
2664
1847
|
"use strict";
|
|
@@ -2673,7 +1856,7 @@ var lodash_1 = __webpack_require__(3);
|
|
|
2673
1856
|
|
|
2674
1857
|
var propUtils_1 = __webpack_require__(36);
|
|
2675
1858
|
|
|
2676
|
-
var chartingUtils_1 = __webpack_require__(
|
|
1859
|
+
var chartingUtils_1 = __webpack_require__(78); // map for key names which are either new or not present in SimpleXML options mapping
|
|
2677
1860
|
|
|
2678
1861
|
|
|
2679
1862
|
var scatterOptionsSCMapping = {
|
|
@@ -2845,19 +2028,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2845
2028
|
"use strict";
|
|
2846
2029
|
|
|
2847
2030
|
|
|
2848
|
-
|
|
2849
|
-
value: true
|
|
2850
|
-
});
|
|
2851
|
-
|
|
2852
|
-
/***/ }),
|
|
2853
|
-
|
|
2854
|
-
/***/ 56:
|
|
2855
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2856
|
-
|
|
2857
|
-
"use strict";
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
var _slicedToArray = __webpack_require__(7);
|
|
2031
|
+
var _slicedToArray = __webpack_require__(6);
|
|
2861
2032
|
|
|
2862
2033
|
Object.defineProperty(exports, "__esModule", {
|
|
2863
2034
|
value: true
|
|
@@ -2867,15 +2038,15 @@ var React = __webpack_require__(0);
|
|
|
2867
2038
|
|
|
2868
2039
|
var lodash_1 = __webpack_require__(3);
|
|
2869
2040
|
|
|
2870
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
2041
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(56);
|
|
2871
2042
|
|
|
2872
|
-
var Options_1 = __webpack_require__(
|
|
2043
|
+
var Options_1 = __webpack_require__(17);
|
|
2873
2044
|
|
|
2874
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
2045
|
+
var SanitizeProps_1 = __webpack_require__(57);
|
|
2875
2046
|
|
|
2876
2047
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
2877
2048
|
|
|
2878
|
-
var moment_1 = __webpack_require__(
|
|
2049
|
+
var moment_1 = __webpack_require__(58);
|
|
2879
2050
|
|
|
2880
2051
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
2881
2052
|
|
|
@@ -2885,31 +2056,31 @@ var hocUtils_1 = __webpack_require__(34);
|
|
|
2885
2056
|
|
|
2886
2057
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
2887
2058
|
|
|
2888
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
2059
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(59);
|
|
2889
2060
|
|
|
2890
2061
|
var id_1 = __webpack_require__(31);
|
|
2891
2062
|
|
|
2892
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
2063
|
+
var SplunkVisualization_1 = __webpack_require__(60);
|
|
2893
2064
|
|
|
2894
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2065
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
2895
2066
|
|
|
2896
2067
|
var getSorting_1 = __webpack_require__(38);
|
|
2897
2068
|
|
|
2898
2069
|
var getPagination_1 = __webpack_require__(39);
|
|
2899
2070
|
|
|
2900
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
2071
|
+
var useDeepMemo_1 = __webpack_require__(61);
|
|
2901
2072
|
|
|
2902
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
2073
|
+
var MissingPropsMessage_1 = __webpack_require__(62);
|
|
2903
2074
|
|
|
2904
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
2075
|
+
var withEditModeCover_1 = __webpack_require__(63);
|
|
2905
2076
|
|
|
2906
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
2077
|
+
var withPlaceholder_1 = __webpack_require__(64);
|
|
2907
2078
|
|
|
2908
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
2079
|
+
var useDownsampleDataSources_1 = __webpack_require__(65);
|
|
2909
2080
|
|
|
2910
|
-
var dataUtils_1 = __webpack_require__(
|
|
2081
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
2911
2082
|
|
|
2912
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
2083
|
+
var featureFlagUtils_1 = __webpack_require__(67);
|
|
2913
2084
|
/**
|
|
2914
2085
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
2915
2086
|
* @param {DashboardVizOpts} opts
|
|
@@ -3242,81 +2413,48 @@ exports.default = withDashboardViz;
|
|
|
3242
2413
|
|
|
3243
2414
|
/***/ }),
|
|
3244
2415
|
|
|
3245
|
-
/***/
|
|
2416
|
+
/***/ 56:
|
|
3246
2417
|
/***/ (function(module, exports) {
|
|
3247
2418
|
|
|
3248
2419
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
3249
2420
|
|
|
3250
2421
|
/***/ }),
|
|
3251
2422
|
|
|
3252
|
-
/***/
|
|
2423
|
+
/***/ 57:
|
|
3253
2424
|
/***/ (function(module, exports) {
|
|
3254
2425
|
|
|
3255
2426
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
3256
2427
|
|
|
3257
2428
|
/***/ }),
|
|
3258
2429
|
|
|
3259
|
-
/***/
|
|
2430
|
+
/***/ 58:
|
|
3260
2431
|
/***/ (function(module, exports) {
|
|
3261
2432
|
|
|
3262
2433
|
module.exports = require("@splunk/moment");
|
|
3263
2434
|
|
|
3264
2435
|
/***/ }),
|
|
3265
2436
|
|
|
3266
|
-
/***/
|
|
3267
|
-
/***/ (function(module, exports
|
|
3268
|
-
|
|
3269
|
-
"use strict";
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3273
|
-
value: true
|
|
3274
|
-
});
|
|
3275
|
-
exports.VizBehavior = void 0;
|
|
3276
|
-
var VizBehavior;
|
|
3277
|
-
|
|
3278
|
-
(function (VizBehavior) {
|
|
3279
|
-
/**
|
|
3280
|
-
* Dynamic Options Behavior.
|
|
3281
|
-
* This allows visualization options to be powered by data
|
|
3282
|
-
*
|
|
3283
|
-
* **Example**
|
|
3284
|
-
*
|
|
3285
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
3286
|
-
* would configure sparklineValues with an array of data points
|
|
3287
|
-
* coming from the first series in the primary datasource
|
|
3288
|
-
*
|
|
3289
|
-
*/
|
|
3290
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
3291
|
-
VizBehavior["EVENTS"] = "events";
|
|
3292
|
-
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
3293
|
-
/**
|
|
3294
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
3295
|
-
* missing.
|
|
3296
|
-
* @type {string}
|
|
3297
|
-
*/
|
|
2437
|
+
/***/ 59:
|
|
2438
|
+
/***/ (function(module, exports) {
|
|
3298
2439
|
|
|
3299
|
-
|
|
3300
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
3301
|
-
VizBehavior["TRELLIS"] = "trellis";
|
|
3302
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
2440
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
3303
2441
|
|
|
3304
2442
|
/***/ }),
|
|
3305
2443
|
|
|
3306
|
-
/***/
|
|
2444
|
+
/***/ 6:
|
|
3307
2445
|
/***/ (function(module, exports) {
|
|
3308
2446
|
|
|
3309
|
-
module.exports = require("@
|
|
2447
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
3310
2448
|
|
|
3311
2449
|
/***/ }),
|
|
3312
2450
|
|
|
3313
|
-
/***/
|
|
2451
|
+
/***/ 60:
|
|
3314
2452
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3315
2453
|
|
|
3316
2454
|
"use strict";
|
|
3317
2455
|
|
|
3318
2456
|
|
|
3319
|
-
var _classCallCheck = __webpack_require__(
|
|
2457
|
+
var _classCallCheck = __webpack_require__(9);
|
|
3320
2458
|
|
|
3321
2459
|
Object.defineProperty(exports, "__esModule", {
|
|
3322
2460
|
value: true
|
|
@@ -3328,7 +2466,7 @@ var T = __webpack_require__(1);
|
|
|
3328
2466
|
|
|
3329
2467
|
var lodash_1 = __webpack_require__(3);
|
|
3330
2468
|
|
|
3331
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
2469
|
+
var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
3332
2470
|
|
|
3333
2471
|
|
|
3334
2472
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -3462,7 +2600,7 @@ exports.default = SplunkVisualization;
|
|
|
3462
2600
|
|
|
3463
2601
|
/***/ }),
|
|
3464
2602
|
|
|
3465
|
-
/***/
|
|
2603
|
+
/***/ 61:
|
|
3466
2604
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3467
2605
|
|
|
3468
2606
|
"use strict";
|
|
@@ -3508,7 +2646,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
3508
2646
|
|
|
3509
2647
|
/***/ }),
|
|
3510
2648
|
|
|
3511
|
-
/***/
|
|
2649
|
+
/***/ 62:
|
|
3512
2650
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3513
2651
|
|
|
3514
2652
|
"use strict";
|
|
@@ -3527,7 +2665,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
3527
2665
|
|
|
3528
2666
|
var Message_1 = __webpack_require__(12);
|
|
3529
2667
|
|
|
3530
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
2668
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
3531
2669
|
/**
|
|
3532
2670
|
* @method isMissing
|
|
3533
2671
|
* @param {any} v
|
|
@@ -3589,7 +2727,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
|
|
|
3589
2727
|
|
|
3590
2728
|
/***/ }),
|
|
3591
2729
|
|
|
3592
|
-
/***/
|
|
2730
|
+
/***/ 63:
|
|
3593
2731
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3594
2732
|
|
|
3595
2733
|
"use strict";
|
|
@@ -3603,14 +2741,14 @@ var React = __webpack_require__(0);
|
|
|
3603
2741
|
|
|
3604
2742
|
var styled_components_1 = __webpack_require__(4);
|
|
3605
2743
|
|
|
3606
|
-
var hocUtils_1 = __webpack_require__(
|
|
2744
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
3607
2745
|
|
|
3608
2746
|
var Cover = styled_components_1.default.div.withConfig({
|
|
3609
2747
|
displayName: "withEditModeCover__Cover",
|
|
3610
2748
|
componentId: "sc-1gsbnxb-0"
|
|
3611
2749
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
3612
2750
|
var Blocker = styled_components_1.default.div.attrs({
|
|
3613
|
-
'data-splunk-visualization-version': "26.
|
|
2751
|
+
'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
|
|
3614
2752
|
}).withConfig({
|
|
3615
2753
|
displayName: "withEditModeCover__Blocker",
|
|
3616
2754
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -3642,7 +2780,7 @@ exports.default = withEditModeCover;
|
|
|
3642
2780
|
|
|
3643
2781
|
/***/ }),
|
|
3644
2782
|
|
|
3645
|
-
/***/
|
|
2783
|
+
/***/ 64:
|
|
3646
2784
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3647
2785
|
|
|
3648
2786
|
"use strict";
|
|
@@ -3654,15 +2792,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3654
2792
|
|
|
3655
2793
|
var React = __webpack_require__(0);
|
|
3656
2794
|
|
|
3657
|
-
var colorUtils_1 = __webpack_require__(
|
|
2795
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
3658
2796
|
|
|
3659
|
-
var variables_1 = __webpack_require__(
|
|
2797
|
+
var variables_1 = __webpack_require__(14);
|
|
3660
2798
|
|
|
3661
2799
|
var IconPlaceholder_1 = __webpack_require__(37);
|
|
3662
2800
|
|
|
3663
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2801
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
3664
2802
|
|
|
3665
|
-
var hocUtils_1 = __webpack_require__(
|
|
2803
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
3666
2804
|
|
|
3667
2805
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
3668
2806
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -3707,13 +2845,13 @@ exports.default = withPlaceholder;
|
|
|
3707
2845
|
|
|
3708
2846
|
/***/ }),
|
|
3709
2847
|
|
|
3710
|
-
/***/
|
|
2848
|
+
/***/ 65:
|
|
3711
2849
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3712
2850
|
|
|
3713
2851
|
"use strict";
|
|
3714
2852
|
|
|
3715
2853
|
|
|
3716
|
-
var _slicedToArray = __webpack_require__(
|
|
2854
|
+
var _slicedToArray = __webpack_require__(6);
|
|
3717
2855
|
|
|
3718
2856
|
Object.defineProperty(exports, "__esModule", {
|
|
3719
2857
|
value: true
|
|
@@ -3723,11 +2861,11 @@ var react_1 = __webpack_require__(0);
|
|
|
3723
2861
|
|
|
3724
2862
|
var lodash_1 = __webpack_require__(3);
|
|
3725
2863
|
|
|
3726
|
-
var dataUtils_1 = __webpack_require__(
|
|
2864
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
3727
2865
|
|
|
3728
2866
|
var usePrevious_1 = __webpack_require__(33);
|
|
3729
2867
|
|
|
3730
|
-
var useGetXAndYFields_1 = __webpack_require__(
|
|
2868
|
+
var useGetXAndYFields_1 = __webpack_require__(66);
|
|
3731
2869
|
|
|
3732
2870
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
3733
2871
|
var dataSources = _ref.dataSources,
|
|
@@ -3797,13 +2935,13 @@ exports.default = useDownsampleDataSources;
|
|
|
3797
2935
|
|
|
3798
2936
|
/***/ }),
|
|
3799
2937
|
|
|
3800
|
-
/***/
|
|
2938
|
+
/***/ 66:
|
|
3801
2939
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3802
2940
|
|
|
3803
2941
|
"use strict";
|
|
3804
2942
|
|
|
3805
2943
|
|
|
3806
|
-
var _toConsumableArray = __webpack_require__(
|
|
2944
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3807
2945
|
|
|
3808
2946
|
Object.defineProperty(exports, "__esModule", {
|
|
3809
2947
|
value: true
|
|
@@ -3811,7 +2949,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3811
2949
|
|
|
3812
2950
|
var react_1 = __webpack_require__(0);
|
|
3813
2951
|
|
|
3814
|
-
var Options_1 = __webpack_require__(
|
|
2952
|
+
var Options_1 = __webpack_require__(17);
|
|
3815
2953
|
/**
|
|
3816
2954
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
3817
2955
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -3912,7 +3050,7 @@ exports.default = useGetXAndYFields;
|
|
|
3912
3050
|
|
|
3913
3051
|
/***/ }),
|
|
3914
3052
|
|
|
3915
|
-
/***/
|
|
3053
|
+
/***/ 67:
|
|
3916
3054
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3917
3055
|
|
|
3918
3056
|
"use strict";
|
|
@@ -3923,7 +3061,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3923
3061
|
});
|
|
3924
3062
|
exports.getFeatureFlag = void 0;
|
|
3925
3063
|
|
|
3926
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
3064
|
+
var FeatureFlags_1 = __webpack_require__(68);
|
|
3927
3065
|
|
|
3928
3066
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
3929
3067
|
// look for feature flag in context first
|
|
@@ -3948,7 +3086,7 @@ exports.getFeatureFlag = getFeatureFlag;
|
|
|
3948
3086
|
|
|
3949
3087
|
/***/ }),
|
|
3950
3088
|
|
|
3951
|
-
/***/
|
|
3089
|
+
/***/ 68:
|
|
3952
3090
|
/***/ (function(module, exports) {
|
|
3953
3091
|
|
|
3954
3092
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
@@ -3958,32 +3096,25 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
|
3958
3096
|
/***/ 7:
|
|
3959
3097
|
/***/ (function(module, exports) {
|
|
3960
3098
|
|
|
3961
|
-
module.exports = require("@babel/runtime/helpers/
|
|
3099
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
3962
3100
|
|
|
3963
3101
|
/***/ }),
|
|
3964
3102
|
|
|
3965
|
-
/***/
|
|
3103
|
+
/***/ 71:
|
|
3966
3104
|
/***/ (function(module, exports) {
|
|
3967
3105
|
|
|
3968
3106
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
3969
3107
|
|
|
3970
3108
|
/***/ }),
|
|
3971
3109
|
|
|
3972
|
-
/***/
|
|
3973
|
-
/***/ (function(module, exports) {
|
|
3974
|
-
|
|
3975
|
-
module.exports = require("@splunk/visualization-color-palettes");
|
|
3976
|
-
|
|
3977
|
-
/***/ }),
|
|
3978
|
-
|
|
3979
|
-
/***/ 74:
|
|
3110
|
+
/***/ 72:
|
|
3980
3111
|
/***/ (function(module, exports) {
|
|
3981
3112
|
|
|
3982
3113
|
module.exports = require("@splunk/visualization-icons");
|
|
3983
3114
|
|
|
3984
3115
|
/***/ }),
|
|
3985
3116
|
|
|
3986
|
-
/***/
|
|
3117
|
+
/***/ 73:
|
|
3987
3118
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3988
3119
|
|
|
3989
3120
|
"use strict";
|
|
@@ -4014,27 +3145,34 @@ exports.default = background;
|
|
|
4014
3145
|
|
|
4015
3146
|
/***/ }),
|
|
4016
3147
|
|
|
4017
|
-
/***/
|
|
3148
|
+
/***/ 75:
|
|
3149
|
+
/***/ (function(module, exports) {
|
|
3150
|
+
|
|
3151
|
+
module.exports = require("@splunk/visualization-color-palettes");
|
|
3152
|
+
|
|
3153
|
+
/***/ }),
|
|
3154
|
+
|
|
3155
|
+
/***/ 76:
|
|
4018
3156
|
/***/ (function(module, exports) {
|
|
4019
3157
|
|
|
4020
3158
|
module.exports = require("@splunk/charting-bundle");
|
|
4021
3159
|
|
|
4022
3160
|
/***/ }),
|
|
4023
3161
|
|
|
4024
|
-
/***/
|
|
3162
|
+
/***/ 77:
|
|
4025
3163
|
/***/ (function(module, exports) {
|
|
4026
3164
|
|
|
4027
3165
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
4028
3166
|
|
|
4029
3167
|
/***/ }),
|
|
4030
3168
|
|
|
4031
|
-
/***/
|
|
3169
|
+
/***/ 78:
|
|
4032
3170
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4033
3171
|
|
|
4034
3172
|
"use strict";
|
|
4035
3173
|
|
|
4036
3174
|
|
|
4037
|
-
var _toConsumableArray = __webpack_require__(
|
|
3175
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
4038
3176
|
|
|
4039
3177
|
var __rest = this && this.__rest || function (s, e) {
|
|
4040
3178
|
var t = {};
|
|
@@ -4267,13 +3405,46 @@ exports.shouldEnableSearchZoom = shouldEnableSearchZoom;
|
|
|
4267
3405
|
/***/ }),
|
|
4268
3406
|
|
|
4269
3407
|
/***/ 8:
|
|
4270
|
-
/***/ (function(module, exports) {
|
|
3408
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4271
3409
|
|
|
4272
|
-
|
|
3410
|
+
"use strict";
|
|
3411
|
+
|
|
3412
|
+
|
|
3413
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3414
|
+
value: true
|
|
3415
|
+
});
|
|
3416
|
+
exports.VizBehavior = void 0;
|
|
3417
|
+
var VizBehavior;
|
|
3418
|
+
|
|
3419
|
+
(function (VizBehavior) {
|
|
3420
|
+
/**
|
|
3421
|
+
* Dynamic Options Behavior.
|
|
3422
|
+
* This allows visualization options to be powered by data
|
|
3423
|
+
*
|
|
3424
|
+
* **Example**
|
|
3425
|
+
*
|
|
3426
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
3427
|
+
* would configure sparklineValues with an array of data points
|
|
3428
|
+
* coming from the first series in the primary datasource
|
|
3429
|
+
*
|
|
3430
|
+
*/
|
|
3431
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
3432
|
+
VizBehavior["EVENTS"] = "events";
|
|
3433
|
+
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
3434
|
+
/**
|
|
3435
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
3436
|
+
* missing.
|
|
3437
|
+
* @type {string}
|
|
3438
|
+
*/
|
|
3439
|
+
|
|
3440
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
3441
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
3442
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
3443
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
4273
3444
|
|
|
4274
3445
|
/***/ }),
|
|
4275
3446
|
|
|
4276
|
-
/***/
|
|
3447
|
+
/***/ 85:
|
|
4277
3448
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4278
3449
|
|
|
4279
3450
|
"use strict";
|
|
@@ -4289,7 +3460,7 @@ var lodash_1 = __webpack_require__(3);
|
|
|
4289
3460
|
|
|
4290
3461
|
var i18n_1 = __webpack_require__(2);
|
|
4291
3462
|
|
|
4292
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
3463
|
+
var visualization_color_palettes_1 = __webpack_require__(75);
|
|
4293
3464
|
|
|
4294
3465
|
var react_1 = __webpack_require__(0);
|
|
4295
3466
|
|
|
@@ -4297,32 +3468,32 @@ var React = __webpack_require__(0);
|
|
|
4297
3468
|
|
|
4298
3469
|
var T = __webpack_require__(1);
|
|
4299
3470
|
|
|
4300
|
-
var react_event_listener_1 = __webpack_require__(
|
|
3471
|
+
var react_event_listener_1 = __webpack_require__(86);
|
|
4301
3472
|
|
|
4302
|
-
__webpack_require__(
|
|
3473
|
+
__webpack_require__(87); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
|
|
4303
3474
|
|
|
4304
3475
|
|
|
4305
|
-
var charting_bundle_1 = __webpack_require__(
|
|
3476
|
+
var charting_bundle_1 = __webpack_require__(76);
|
|
4306
3477
|
|
|
4307
3478
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
4308
3479
|
|
|
4309
|
-
var style_1 = __webpack_require__(
|
|
3480
|
+
var style_1 = __webpack_require__(19);
|
|
4310
3481
|
|
|
4311
3482
|
var styled_components_1 = __webpack_require__(4);
|
|
4312
3483
|
|
|
4313
3484
|
var Message_1 = __webpack_require__(12);
|
|
4314
3485
|
|
|
4315
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
3486
|
+
var useSplunkTheme_1 = __webpack_require__(77);
|
|
4316
3487
|
|
|
4317
|
-
var themeUtils_1 = __webpack_require__(
|
|
3488
|
+
var themeUtils_1 = __webpack_require__(88);
|
|
4318
3489
|
|
|
4319
|
-
var ChartingApi_1 = __webpack_require__(
|
|
3490
|
+
var ChartingApi_1 = __webpack_require__(89);
|
|
4320
3491
|
|
|
4321
3492
|
var usePrevious_1 = __webpack_require__(33);
|
|
4322
3493
|
|
|
4323
|
-
var useEventCallback_1 = __webpack_require__(
|
|
3494
|
+
var useEventCallback_1 = __webpack_require__(90);
|
|
4324
3495
|
|
|
4325
|
-
var dataUtils_1 = __webpack_require__(
|
|
3496
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
4326
3497
|
|
|
4327
3498
|
exports.NO_INPLACE_PROPS = ['chart', 'chart.orientation', 'layout.splitSeries', 'chart.style', 'legend.placement'];
|
|
4328
3499
|
|
|
@@ -4737,41 +3908,34 @@ exports.default = withEmptyChartMessage(Charting);
|
|
|
4737
3908
|
|
|
4738
3909
|
/***/ }),
|
|
4739
3910
|
|
|
4740
|
-
/***/
|
|
3911
|
+
/***/ 86:
|
|
4741
3912
|
/***/ (function(module, exports) {
|
|
4742
3913
|
|
|
4743
3914
|
module.exports = require("react-event-listener");
|
|
4744
3915
|
|
|
4745
3916
|
/***/ }),
|
|
4746
3917
|
|
|
4747
|
-
/***/
|
|
3918
|
+
/***/ 87:
|
|
4748
3919
|
/***/ (function(module, exports) {
|
|
4749
3920
|
|
|
4750
3921
|
module.exports = require("@splunk/visualizations-shared/i18n");
|
|
4751
3922
|
|
|
4752
3923
|
/***/ }),
|
|
4753
3924
|
|
|
4754
|
-
/***/
|
|
4755
|
-
/***/ (function(module, exports) {
|
|
4756
|
-
|
|
4757
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
4758
|
-
|
|
4759
|
-
/***/ }),
|
|
4760
|
-
|
|
4761
|
-
/***/ 90:
|
|
3925
|
+
/***/ 88:
|
|
4762
3926
|
/***/ (function(module, exports) {
|
|
4763
3927
|
|
|
4764
3928
|
module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
4765
3929
|
|
|
4766
3930
|
/***/ }),
|
|
4767
3931
|
|
|
4768
|
-
/***/
|
|
3932
|
+
/***/ 89:
|
|
4769
3933
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4770
3934
|
|
|
4771
3935
|
"use strict";
|
|
4772
3936
|
|
|
4773
3937
|
|
|
4774
|
-
var _classCallCheck = __webpack_require__(
|
|
3938
|
+
var _classCallCheck = __webpack_require__(9);
|
|
4775
3939
|
|
|
4776
3940
|
var _createClass = __webpack_require__(25);
|
|
4777
3941
|
|
|
@@ -4834,7 +3998,14 @@ exports.ChartingApiFunctional = ChartingApiFunctional;
|
|
|
4834
3998
|
|
|
4835
3999
|
/***/ }),
|
|
4836
4000
|
|
|
4837
|
-
/***/
|
|
4001
|
+
/***/ 9:
|
|
4002
|
+
/***/ (function(module, exports) {
|
|
4003
|
+
|
|
4004
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
4005
|
+
|
|
4006
|
+
/***/ }),
|
|
4007
|
+
|
|
4008
|
+
/***/ 90:
|
|
4838
4009
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4839
4010
|
|
|
4840
4011
|
"use strict";
|
|
@@ -4860,20 +4031,20 @@ exports.default = useEventCallback;
|
|
|
4860
4031
|
|
|
4861
4032
|
/***/ }),
|
|
4862
4033
|
|
|
4863
|
-
/***/
|
|
4034
|
+
/***/ 91:
|
|
4864
4035
|
/***/ (function(module, exports) {
|
|
4865
4036
|
|
|
4866
4037
|
module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
4867
4038
|
|
|
4868
4039
|
/***/ }),
|
|
4869
4040
|
|
|
4870
|
-
/***/
|
|
4041
|
+
/***/ 95:
|
|
4871
4042
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4872
4043
|
|
|
4873
4044
|
"use strict";
|
|
4874
4045
|
|
|
4875
4046
|
|
|
4876
|
-
var _toConsumableArray = __webpack_require__(
|
|
4047
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
4877
4048
|
|
|
4878
4049
|
Object.defineProperty(exports, "__esModule", {
|
|
4879
4050
|
value: true
|
|
@@ -4896,162 +4067,516 @@ var AxesChartDataConfig = {
|
|
|
4896
4067
|
expectedDataPrimitive: ['series']
|
|
4897
4068
|
}
|
|
4898
4069
|
}], [{
|
|
4899
|
-
label: (0, i18n_1._)('Y'),
|
|
4900
|
-
option: 'y',
|
|
4901
|
-
editor: 'editor.columnMultiSelector',
|
|
4070
|
+
label: (0, i18n_1._)('Y'),
|
|
4071
|
+
option: 'y',
|
|
4072
|
+
editor: 'editor.columnMultiSelector',
|
|
4073
|
+
editorProps: {
|
|
4074
|
+
dataSourceKey: 'primary',
|
|
4075
|
+
filterByTypes: ['number'],
|
|
4076
|
+
supportsDSL: true,
|
|
4077
|
+
expectedDataPrimitive: ['series', 'frame']
|
|
4078
|
+
}
|
|
4079
|
+
}], [{
|
|
4080
|
+
label: (0, i18n_1._)('Result limit'),
|
|
4081
|
+
option: 'resultLimit',
|
|
4082
|
+
editor: 'editor.number',
|
|
4083
|
+
editorProps: {
|
|
4084
|
+
dataSourceKey: 'primary'
|
|
4085
|
+
}
|
|
4086
|
+
}]]
|
|
4087
|
+
};
|
|
4088
|
+
exports.AxesChartDataConfigBar = {
|
|
4089
|
+
label: AxesChartDataConfig.label,
|
|
4090
|
+
// insert Y2 after Y
|
|
4091
|
+
layout: (0, configUtils_1.insertLayout)(AxesChartDataConfig.layout, 2, [{
|
|
4092
|
+
label: (0, i18n_1._)('Y2'),
|
|
4093
|
+
option: 'y2',
|
|
4094
|
+
editor: 'editor.columnMultiSelector',
|
|
4095
|
+
editorProps: {
|
|
4096
|
+
dataSourceKey: 'primary',
|
|
4097
|
+
filterByTypes: ['number'],
|
|
4098
|
+
supportsDSL: true,
|
|
4099
|
+
expectedDataPrimitive: ['series', 'frame']
|
|
4100
|
+
}
|
|
4101
|
+
}])
|
|
4102
|
+
};
|
|
4103
|
+
exports.AxesChartDataConfigScatter = {
|
|
4104
|
+
label: AxesChartDataConfig.label,
|
|
4105
|
+
layout: [[{
|
|
4106
|
+
label: (0, i18n_1._)('X'),
|
|
4107
|
+
option: 'x',
|
|
4108
|
+
editor: 'editor.columnSelector',
|
|
4109
|
+
editorProps: {
|
|
4110
|
+
dataSourceKey: 'primary',
|
|
4111
|
+
supportsDSL: true,
|
|
4112
|
+
expectedDataPrimitive: ['series']
|
|
4113
|
+
}
|
|
4114
|
+
}], [{
|
|
4115
|
+
label: (0, i18n_1._)('Y'),
|
|
4116
|
+
option: 'y',
|
|
4117
|
+
editor: 'editor.columnSelector',
|
|
4118
|
+
editorProps: {
|
|
4119
|
+
dataSourceKey: 'primary',
|
|
4120
|
+
filterByTypes: ['number'],
|
|
4121
|
+
supportsDSL: true,
|
|
4122
|
+
expectedDataPrimitive: ['series']
|
|
4123
|
+
}
|
|
4124
|
+
}], [{
|
|
4125
|
+
label: (0, i18n_1._)('Category'),
|
|
4126
|
+
option: 'category',
|
|
4127
|
+
editor: 'editor.columnSelector',
|
|
4128
|
+
editorProps: {
|
|
4129
|
+
dataSourceKey: 'primary',
|
|
4130
|
+
supportsDSL: true,
|
|
4131
|
+
expectedDataPrimitive: ['series']
|
|
4132
|
+
}
|
|
4133
|
+
}], [{
|
|
4134
|
+
label: (0, i18n_1._)('Result limit'),
|
|
4135
|
+
option: 'resultLimit',
|
|
4136
|
+
editor: 'editor.number',
|
|
4137
|
+
editorProps: {
|
|
4138
|
+
dataSourceKey: 'primary'
|
|
4139
|
+
}
|
|
4140
|
+
}]]
|
|
4141
|
+
};
|
|
4142
|
+
exports.AxesChartDataConfigBubble = {
|
|
4143
|
+
label: exports.AxesChartDataConfigScatter.label,
|
|
4144
|
+
// layout: insert Size after Category
|
|
4145
|
+
layout: (0, configUtils_1.insertLayout)(exports.AxesChartDataConfigScatter.layout, 3, [{
|
|
4146
|
+
label: (0, i18n_1._)('Size'),
|
|
4147
|
+
option: 'size',
|
|
4148
|
+
editor: 'editor.columnSelector',
|
|
4149
|
+
editorProps: {
|
|
4150
|
+
dataSourceKey: 'primary',
|
|
4151
|
+
supportsDSL: true,
|
|
4152
|
+
expectedDataPrimitive: ['series']
|
|
4153
|
+
}
|
|
4154
|
+
}])
|
|
4155
|
+
};
|
|
4156
|
+
exports.AxesChartDataConfigAreaColumnLine = {
|
|
4157
|
+
label: exports.AxesChartDataConfigBar.label,
|
|
4158
|
+
layout: [].concat(_toConsumableArray(exports.AxesChartDataConfigBar.layout), [[{
|
|
4159
|
+
label: (0, i18n_1._)('Annotation x'),
|
|
4160
|
+
option: 'annotationX',
|
|
4161
|
+
editor: 'editor.columnSelector',
|
|
4162
|
+
editorProps: {
|
|
4163
|
+
dataSourceKey: 'annotation',
|
|
4164
|
+
supportsDSL: true,
|
|
4165
|
+
expectedDataPrimitive: ['series']
|
|
4166
|
+
}
|
|
4167
|
+
}], [{
|
|
4168
|
+
label: (0, i18n_1._)('Annotation labels'),
|
|
4169
|
+
option: 'annotationLabel',
|
|
4170
|
+
editor: 'editor.columnSelector',
|
|
4171
|
+
editorProps: {
|
|
4172
|
+
dataSourceKey: 'annotation',
|
|
4173
|
+
supportsDSL: true,
|
|
4174
|
+
expectedDataPrimitive: ['series']
|
|
4175
|
+
}
|
|
4176
|
+
}]])
|
|
4177
|
+
};
|
|
4178
|
+
exports.default = AxesChartDataConfig;
|
|
4179
|
+
|
|
4180
|
+
/***/ }),
|
|
4181
|
+
|
|
4182
|
+
/***/ 96:
|
|
4183
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4184
|
+
|
|
4185
|
+
"use strict";
|
|
4186
|
+
|
|
4187
|
+
|
|
4188
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4189
|
+
value: true
|
|
4190
|
+
});
|
|
4191
|
+
|
|
4192
|
+
var i18n_1 = __webpack_require__(2);
|
|
4193
|
+
|
|
4194
|
+
var pick_1 = __webpack_require__(30);
|
|
4195
|
+
|
|
4196
|
+
var variables_1 = __webpack_require__(14);
|
|
4197
|
+
|
|
4198
|
+
var BackgroundColor_1 = __webpack_require__(73);
|
|
4199
|
+
|
|
4200
|
+
var themes = {
|
|
4201
|
+
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
4202
|
+
return (0, pick_1.default)({
|
|
4203
|
+
enterprise: {
|
|
4204
|
+
dark: variables_1.default.black(props),
|
|
4205
|
+
light: variables_1.default.backgroundColor(props)
|
|
4206
|
+
},
|
|
4207
|
+
prisma: variables_1.default.backgroundColorSidebar(props)
|
|
4208
|
+
})(props);
|
|
4209
|
+
}
|
|
4210
|
+
};
|
|
4211
|
+
var AxesChartColorAndStyle = {
|
|
4212
|
+
label: (0, i18n_1._)('Color and style'),
|
|
4213
|
+
layout: [(0, BackgroundColor_1.default)({
|
|
4214
|
+
themes: themes
|
|
4215
|
+
}), [{
|
|
4216
|
+
label: (0, i18n_1._)('Series colors'),
|
|
4217
|
+
option: 'seriesColors',
|
|
4218
|
+
editor: 'editor.seriesColors'
|
|
4219
|
+
}], [{
|
|
4220
|
+
label: (0, i18n_1._)('Series colors by field name'),
|
|
4221
|
+
option: 'seriesColorsByField',
|
|
4222
|
+
editor: 'editor.seriesColorsByField'
|
|
4223
|
+
}]]
|
|
4224
|
+
};
|
|
4225
|
+
exports.default = AxesChartColorAndStyle;
|
|
4226
|
+
|
|
4227
|
+
/***/ }),
|
|
4228
|
+
|
|
4229
|
+
/***/ 97:
|
|
4230
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4231
|
+
|
|
4232
|
+
"use strict";
|
|
4233
|
+
|
|
4234
|
+
|
|
4235
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4236
|
+
value: true
|
|
4237
|
+
});
|
|
4238
|
+
|
|
4239
|
+
var i18n_1 = __webpack_require__(2);
|
|
4240
|
+
|
|
4241
|
+
var AxesChartLegend = {
|
|
4242
|
+
label: (0, i18n_1._)('Legend'),
|
|
4243
|
+
layout: [[{
|
|
4244
|
+
label: (0, i18n_1._)('Legend display'),
|
|
4245
|
+
option: 'legendDisplay',
|
|
4246
|
+
editor: 'editor.select',
|
|
4247
|
+
editorProps: {
|
|
4248
|
+
values: [{
|
|
4249
|
+
label: (0, i18n_1._)('Right'),
|
|
4250
|
+
value: 'right'
|
|
4251
|
+
}, {
|
|
4252
|
+
label: (0, i18n_1._)('Left'),
|
|
4253
|
+
value: 'left'
|
|
4254
|
+
}, {
|
|
4255
|
+
label: (0, i18n_1._)('Top'),
|
|
4256
|
+
value: 'top'
|
|
4257
|
+
}, {
|
|
4258
|
+
label: (0, i18n_1._)('Bottom'),
|
|
4259
|
+
value: 'bottom'
|
|
4260
|
+
}, {
|
|
4261
|
+
label: (0, i18n_1._)('Off'),
|
|
4262
|
+
value: 'off'
|
|
4263
|
+
}]
|
|
4264
|
+
}
|
|
4265
|
+
}], [{
|
|
4266
|
+
label: (0, i18n_1._)('Legend truncation'),
|
|
4267
|
+
option: 'legendTruncation',
|
|
4268
|
+
editor: 'editor.radioBar',
|
|
4269
|
+
editorProps: {
|
|
4270
|
+
values: [{
|
|
4271
|
+
label: (0, i18n_1._)('A...'),
|
|
4272
|
+
value: 'ellipsisEnd'
|
|
4273
|
+
}, {
|
|
4274
|
+
label: (0, i18n_1._)('A...Z'),
|
|
4275
|
+
value: 'ellipsisMiddle'
|
|
4276
|
+
}, {
|
|
4277
|
+
label: (0, i18n_1._)('...Z'),
|
|
4278
|
+
value: 'ellipsisStart'
|
|
4279
|
+
}, {
|
|
4280
|
+
label: (0, i18n_1._)('Off'),
|
|
4281
|
+
value: 'ellipsisOff'
|
|
4282
|
+
}]
|
|
4283
|
+
},
|
|
4284
|
+
showEditor: function showEditor(_ref) {
|
|
4285
|
+
var options = _ref.options;
|
|
4286
|
+
return options.legendDisplay === 'left' || options.legendDisplay === 'right' || options.legendDisplay === 'top' || options.legendDisplay === 'bottom' || options.legendDisplay === undefined;
|
|
4287
|
+
}
|
|
4288
|
+
}]]
|
|
4289
|
+
};
|
|
4290
|
+
exports.default = AxesChartLegend;
|
|
4291
|
+
|
|
4292
|
+
/***/ }),
|
|
4293
|
+
|
|
4294
|
+
/***/ 98:
|
|
4295
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4296
|
+
|
|
4297
|
+
"use strict";
|
|
4298
|
+
|
|
4299
|
+
|
|
4300
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
4301
|
+
|
|
4302
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4303
|
+
value: true
|
|
4304
|
+
});
|
|
4305
|
+
exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCommon = void 0;
|
|
4306
|
+
|
|
4307
|
+
var i18n_1 = __webpack_require__(2);
|
|
4308
|
+
|
|
4309
|
+
var configUtils_1 = __webpack_require__(27);
|
|
4310
|
+
|
|
4311
|
+
exports.AxesChartXGridAndLabelsCommon = {
|
|
4312
|
+
label: (0, i18n_1._)('X-axis grid and labels'),
|
|
4313
|
+
layout: [[{
|
|
4314
|
+
label: (0, i18n_1._)('Axis title'),
|
|
4315
|
+
option: 'xAxisTitleVisibility',
|
|
4316
|
+
editor: 'editor.toggle'
|
|
4317
|
+
}], [{
|
|
4318
|
+
label: (0, i18n_1._)('Axis title text'),
|
|
4319
|
+
option: 'xAxisTitleText',
|
|
4320
|
+
editor: 'editor.text',
|
|
4321
|
+
showEditor: function showEditor(_ref) {
|
|
4322
|
+
var options = _ref.options;
|
|
4323
|
+
return options.xAxisTitleVisibility === 'show' || options.xAxisTitleVisibility === undefined;
|
|
4324
|
+
}
|
|
4325
|
+
}], [{
|
|
4326
|
+
label: (0, i18n_1._)('Label visibility'),
|
|
4327
|
+
option: 'xAxisLabelVisibility',
|
|
4328
|
+
editor: 'editor.radioBar',
|
|
4902
4329
|
editorProps: {
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4330
|
+
values: [{
|
|
4331
|
+
label: (0, i18n_1._)('Auto'),
|
|
4332
|
+
value: 'auto'
|
|
4333
|
+
}, {
|
|
4334
|
+
label: (0, i18n_1._)('Show'),
|
|
4335
|
+
value: 'show'
|
|
4336
|
+
}, {
|
|
4337
|
+
label: (0, i18n_1._)('Hide'),
|
|
4338
|
+
value: 'hide'
|
|
4339
|
+
}]
|
|
4340
|
+
}
|
|
4341
|
+
}]]
|
|
4342
|
+
};
|
|
4343
|
+
var AxesChartXGridAndLabels = {
|
|
4344
|
+
label: exports.AxesChartXGridAndLabelsCommon.label,
|
|
4345
|
+
layout: [].concat(_toConsumableArray(exports.AxesChartXGridAndLabelsCommon.layout), [[{
|
|
4346
|
+
label: (0, i18n_1._)('Label rotation'),
|
|
4347
|
+
option: 'xAxisLabelRotation',
|
|
4348
|
+
editor: 'editor.select',
|
|
4349
|
+
editorProps: {
|
|
4350
|
+
values: [{
|
|
4351
|
+
label: (0, i18n_1._)('-90'),
|
|
4352
|
+
value: -90
|
|
4353
|
+
}, {
|
|
4354
|
+
label: (0, i18n_1._)('-45'),
|
|
4355
|
+
value: -45
|
|
4356
|
+
}, {
|
|
4357
|
+
label: (0, i18n_1._)('0'),
|
|
4358
|
+
value: 0
|
|
4359
|
+
}, {
|
|
4360
|
+
label: (0, i18n_1._)('45'),
|
|
4361
|
+
value: 45
|
|
4362
|
+
}, {
|
|
4363
|
+
label: (0, i18n_1._)('90'),
|
|
4364
|
+
value: 90
|
|
4365
|
+
}]
|
|
4366
|
+
},
|
|
4367
|
+
showEditor: function showEditor(_ref2) {
|
|
4368
|
+
var options = _ref2.options;
|
|
4369
|
+
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
4907
4370
|
}
|
|
4908
4371
|
}], [{
|
|
4909
|
-
label: (0, i18n_1._)('
|
|
4910
|
-
option: '
|
|
4372
|
+
label: (0, i18n_1._)('Number of time label parts'),
|
|
4373
|
+
option: 'xAxisMaxLabelParts',
|
|
4911
4374
|
editor: 'editor.number',
|
|
4912
4375
|
editorProps: {
|
|
4913
|
-
|
|
4376
|
+
min: 1,
|
|
4377
|
+
max: 3
|
|
4378
|
+
},
|
|
4379
|
+
showEditor: function showEditor(_ref3) {
|
|
4380
|
+
var options = _ref3.options;
|
|
4381
|
+
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
4914
4382
|
}
|
|
4915
|
-
}]
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4383
|
+
}], [{
|
|
4384
|
+
label: (0, i18n_1._)('Axis line visibility'),
|
|
4385
|
+
option: 'xAxisLineVisibility',
|
|
4386
|
+
editor: 'editor.checkbox'
|
|
4387
|
+
}], [{
|
|
4388
|
+
label: (0, i18n_1._)('Major gridlines'),
|
|
4389
|
+
option: 'showXMajorGridLines',
|
|
4390
|
+
editor: 'editor.checkbox'
|
|
4391
|
+
}], [{
|
|
4392
|
+
label: (0, i18n_1._)('Major tick visibility'),
|
|
4393
|
+
option: 'xAxisMajorTickVisibility',
|
|
4394
|
+
editor: 'editor.radioBar',
|
|
4924
4395
|
editorProps: {
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4396
|
+
values: [{
|
|
4397
|
+
label: (0, i18n_1._)('Auto'),
|
|
4398
|
+
value: 'auto'
|
|
4399
|
+
}, {
|
|
4400
|
+
label: (0, i18n_1._)('Show'),
|
|
4401
|
+
value: 'show'
|
|
4402
|
+
}, {
|
|
4403
|
+
label: (0, i18n_1._)('Hide'),
|
|
4404
|
+
value: 'hide'
|
|
4405
|
+
}]
|
|
4929
4406
|
}
|
|
4930
|
-
}]
|
|
4407
|
+
}], [{
|
|
4408
|
+
label: (0, i18n_1._)('Major tick size (px)'),
|
|
4409
|
+
option: 'xAxisMajorTickSize',
|
|
4410
|
+
editor: 'editor.slider',
|
|
4411
|
+
editorProps: {
|
|
4412
|
+
min: 0,
|
|
4413
|
+
max: 10,
|
|
4414
|
+
step: 1
|
|
4415
|
+
},
|
|
4416
|
+
showEditor: function showEditor(_ref4) {
|
|
4417
|
+
var options = _ref4.options;
|
|
4418
|
+
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
4419
|
+
}
|
|
4420
|
+
}]])
|
|
4931
4421
|
};
|
|
4932
|
-
exports.
|
|
4933
|
-
label:
|
|
4934
|
-
layout: [[{
|
|
4935
|
-
label: (0, i18n_1._)('
|
|
4936
|
-
option: '
|
|
4937
|
-
editor: 'editor.
|
|
4422
|
+
exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
4423
|
+
label: exports.AxesChartXGridAndLabelsCommon.label,
|
|
4424
|
+
layout: [].concat(_toConsumableArray((0, configUtils_1.insertLayout)(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
|
|
4425
|
+
label: (0, i18n_1._)('Axis scale'),
|
|
4426
|
+
option: 'xAxisScale',
|
|
4427
|
+
editor: 'editor.radioBar',
|
|
4938
4428
|
editorProps: {
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4429
|
+
values: [{
|
|
4430
|
+
label: (0, i18n_1._)('Linear'),
|
|
4431
|
+
value: 'linear'
|
|
4432
|
+
}, {
|
|
4433
|
+
label: (0, i18n_1._)('Log'),
|
|
4434
|
+
value: 'log'
|
|
4435
|
+
}]
|
|
4942
4436
|
}
|
|
4943
|
-
}], [{
|
|
4944
|
-
label: (0, i18n_1._)('
|
|
4945
|
-
option: '
|
|
4946
|
-
editor: 'editor.
|
|
4437
|
+
}])), [[{
|
|
4438
|
+
label: (0, i18n_1._)('Label rotation'),
|
|
4439
|
+
option: 'xAxisLabelRotation',
|
|
4440
|
+
editor: 'editor.select',
|
|
4947
4441
|
editorProps: {
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4442
|
+
values: [{
|
|
4443
|
+
label: (0, i18n_1._)('-90'),
|
|
4444
|
+
value: -90
|
|
4445
|
+
}, {
|
|
4446
|
+
label: (0, i18n_1._)('-45'),
|
|
4447
|
+
value: -45
|
|
4448
|
+
}, {
|
|
4449
|
+
label: (0, i18n_1._)('0'),
|
|
4450
|
+
value: 0
|
|
4451
|
+
}, {
|
|
4452
|
+
label: (0, i18n_1._)('45'),
|
|
4453
|
+
value: 45
|
|
4454
|
+
}, {
|
|
4455
|
+
label: (0, i18n_1._)('90'),
|
|
4456
|
+
value: 90
|
|
4457
|
+
}]
|
|
4458
|
+
},
|
|
4459
|
+
showEditor: function showEditor(_ref5) {
|
|
4460
|
+
var options = _ref5.options;
|
|
4461
|
+
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
4952
4462
|
}
|
|
4953
4463
|
}], [{
|
|
4954
|
-
label: (0, i18n_1._)('
|
|
4955
|
-
option: '
|
|
4956
|
-
editor: 'editor.
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
expectedDataPrimitive: ['series']
|
|
4464
|
+
label: (0, i18n_1._)('Round axis labels'),
|
|
4465
|
+
option: 'showRoundedXAxisLabels',
|
|
4466
|
+
editor: 'editor.checkbox',
|
|
4467
|
+
showEditor: function showEditor(_ref6) {
|
|
4468
|
+
var options = _ref6.options;
|
|
4469
|
+
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
4961
4470
|
}
|
|
4962
4471
|
}], [{
|
|
4963
|
-
label: (0, i18n_1._)('
|
|
4964
|
-
option: '
|
|
4965
|
-
editor: 'editor.
|
|
4472
|
+
label: (0, i18n_1._)('SI prefix abbreviation for labels'),
|
|
4473
|
+
option: 'xAxisAbbreviation',
|
|
4474
|
+
editor: 'editor.checkbox',
|
|
4475
|
+
showEditor: function showEditor(_ref7) {
|
|
4476
|
+
var options = _ref7.options;
|
|
4477
|
+
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
4478
|
+
}
|
|
4479
|
+
}], [{
|
|
4480
|
+
label: (0, i18n_1._)('Include zero'),
|
|
4481
|
+
option: 'showXAxisWithZero',
|
|
4482
|
+
editor: 'editor.checkbox'
|
|
4483
|
+
}], [{
|
|
4484
|
+
label: (0, i18n_1._)('Extend to whole grid'),
|
|
4485
|
+
option: 'showXAxisExtendedRange',
|
|
4486
|
+
editor: 'editor.checkbox'
|
|
4487
|
+
}], [{
|
|
4488
|
+
label: (0, i18n_1._)('Minimum axis value'),
|
|
4489
|
+
option: 'xAxisMin',
|
|
4490
|
+
editor: 'editor.number'
|
|
4491
|
+
}, {
|
|
4492
|
+
label: (0, i18n_1._)('Maximum axis value'),
|
|
4493
|
+
option: 'xAxisMax',
|
|
4494
|
+
editor: 'editor.number'
|
|
4495
|
+
}], [{
|
|
4496
|
+
label: (0, i18n_1._)('Axis line visibility'),
|
|
4497
|
+
option: 'xAxisLineVisibility',
|
|
4498
|
+
editor: 'editor.checkbox'
|
|
4499
|
+
}], // this option is disabled for bubble and scatter
|
|
4500
|
+
// [
|
|
4501
|
+
// {
|
|
4502
|
+
// label: _('Major gridlines'),
|
|
4503
|
+
// option: 'showXMajorGridLines',
|
|
4504
|
+
// editor: 'editor.checkbox',
|
|
4505
|
+
// },
|
|
4506
|
+
// ],
|
|
4507
|
+
[{
|
|
4508
|
+
label: (0, i18n_1._)('Major tick visibility'),
|
|
4509
|
+
option: 'xAxisMajorTickVisibility',
|
|
4510
|
+
editor: 'editor.radioBar',
|
|
4966
4511
|
editorProps: {
|
|
4967
|
-
|
|
4512
|
+
values: [{
|
|
4513
|
+
label: (0, i18n_1._)('Auto'),
|
|
4514
|
+
value: 'auto'
|
|
4515
|
+
}, {
|
|
4516
|
+
label: (0, i18n_1._)('Show'),
|
|
4517
|
+
value: 'show'
|
|
4518
|
+
}, {
|
|
4519
|
+
label: (0, i18n_1._)('Hide'),
|
|
4520
|
+
value: 'hide'
|
|
4521
|
+
}]
|
|
4968
4522
|
}
|
|
4969
|
-
}]
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
// layout: insert Size after Category
|
|
4974
|
-
layout: (0, configUtils_1.insertLayout)(exports.AxesChartDataConfigScatter.layout, 3, [{
|
|
4975
|
-
label: (0, i18n_1._)('Size'),
|
|
4976
|
-
option: 'size',
|
|
4977
|
-
editor: 'editor.columnSelector',
|
|
4523
|
+
}], [{
|
|
4524
|
+
label: (0, i18n_1._)('Major tick size (px)'),
|
|
4525
|
+
option: 'xAxisMajorTickSize',
|
|
4526
|
+
editor: 'editor.slider',
|
|
4978
4527
|
editorProps: {
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4528
|
+
min: 0,
|
|
4529
|
+
max: 10,
|
|
4530
|
+
step: 1
|
|
4531
|
+
},
|
|
4532
|
+
showEditor: function showEditor(_ref8) {
|
|
4533
|
+
var options = _ref8.options;
|
|
4534
|
+
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
4535
|
+
}
|
|
4536
|
+
}], [{
|
|
4537
|
+
label: (0, i18n_1._)('Major tick interval spacing'),
|
|
4538
|
+
option: 'xAxisMajorTickInterval',
|
|
4539
|
+
editor: 'editor.number',
|
|
4540
|
+
showEditor: function showEditor(_ref9) {
|
|
4541
|
+
var options = _ref9.options;
|
|
4542
|
+
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
4982
4543
|
}
|
|
4983
|
-
}]
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
label: (0, i18n_1._)('
|
|
4989
|
-
option: '
|
|
4990
|
-
editor: 'editor.
|
|
4544
|
+
}], [{
|
|
4545
|
+
label: (0, i18n_1._)('Minor gridlines'),
|
|
4546
|
+
option: 'showXMinorGridLines',
|
|
4547
|
+
editor: 'editor.checkbox'
|
|
4548
|
+
}], [{
|
|
4549
|
+
label: (0, i18n_1._)('Minor tick visibility'),
|
|
4550
|
+
option: 'xAxisMinorTickVisibility',
|
|
4551
|
+
editor: 'editor.radioBar',
|
|
4991
4552
|
editorProps: {
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4553
|
+
values: [{
|
|
4554
|
+
label: (0, i18n_1._)('Auto'),
|
|
4555
|
+
value: 'auto'
|
|
4556
|
+
}, {
|
|
4557
|
+
label: (0, i18n_1._)('Show'),
|
|
4558
|
+
value: 'show'
|
|
4559
|
+
}, {
|
|
4560
|
+
label: (0, i18n_1._)('Hide'),
|
|
4561
|
+
value: 'hide'
|
|
4562
|
+
}]
|
|
4995
4563
|
}
|
|
4996
4564
|
}], [{
|
|
4997
|
-
label: (0, i18n_1._)('
|
|
4998
|
-
option: '
|
|
4999
|
-
editor: 'editor.
|
|
4565
|
+
label: (0, i18n_1._)('Minor tick size (px)'),
|
|
4566
|
+
option: 'xAxisMinorTickSize',
|
|
4567
|
+
editor: 'editor.slider',
|
|
5000
4568
|
editorProps: {
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
4569
|
+
min: 0,
|
|
4570
|
+
max: 10,
|
|
4571
|
+
step: 1
|
|
4572
|
+
},
|
|
4573
|
+
showEditor: function showEditor(_ref10) {
|
|
4574
|
+
var options = _ref10.options;
|
|
4575
|
+
return options.xAxisMinorTickVisibility === 'show' || options.xAxisMinorTickVisibility === 'auto' || options.xAxisMinorTickVisibility === undefined;
|
|
5004
4576
|
}
|
|
5005
4577
|
}]])
|
|
5006
4578
|
};
|
|
5007
|
-
exports.default =
|
|
5008
|
-
|
|
5009
|
-
/***/ }),
|
|
5010
|
-
|
|
5011
|
-
/***/ 98:
|
|
5012
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5013
|
-
|
|
5014
|
-
"use strict";
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5018
|
-
value: true
|
|
5019
|
-
});
|
|
5020
|
-
|
|
5021
|
-
var i18n_1 = __webpack_require__(2);
|
|
5022
|
-
|
|
5023
|
-
var pick_1 = __webpack_require__(30);
|
|
5024
|
-
|
|
5025
|
-
var variables_1 = __webpack_require__(13);
|
|
5026
|
-
|
|
5027
|
-
var BackgroundColor_1 = __webpack_require__(75);
|
|
5028
|
-
|
|
5029
|
-
var themes = {
|
|
5030
|
-
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
5031
|
-
return (0, pick_1.default)({
|
|
5032
|
-
enterprise: {
|
|
5033
|
-
dark: variables_1.default.black(props),
|
|
5034
|
-
light: variables_1.default.backgroundColor(props)
|
|
5035
|
-
},
|
|
5036
|
-
prisma: variables_1.default.backgroundColorSidebar(props)
|
|
5037
|
-
})(props);
|
|
5038
|
-
}
|
|
5039
|
-
};
|
|
5040
|
-
var AxesChartColorAndStyle = {
|
|
5041
|
-
label: (0, i18n_1._)('Color and style'),
|
|
5042
|
-
layout: [(0, BackgroundColor_1.default)({
|
|
5043
|
-
themes: themes
|
|
5044
|
-
}), [{
|
|
5045
|
-
label: (0, i18n_1._)('Series colors'),
|
|
5046
|
-
option: 'seriesColors',
|
|
5047
|
-
editor: 'editor.seriesColors'
|
|
5048
|
-
}], [{
|
|
5049
|
-
label: (0, i18n_1._)('Series colors by field name'),
|
|
5050
|
-
option: 'seriesColorsByField',
|
|
5051
|
-
editor: 'editor.seriesColorsByField'
|
|
5052
|
-
}]]
|
|
5053
|
-
};
|
|
5054
|
-
exports.default = AxesChartColorAndStyle;
|
|
4579
|
+
exports.default = AxesChartXGridAndLabels;
|
|
5055
4580
|
|
|
5056
4581
|
/***/ }),
|
|
5057
4582
|
|
|
@@ -5067,56 +4592,154 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5067
4592
|
|
|
5068
4593
|
var i18n_1 = __webpack_require__(2);
|
|
5069
4594
|
|
|
5070
|
-
var
|
|
5071
|
-
label: (0, i18n_1._)('
|
|
4595
|
+
var AxesChartYGridAndLabels = {
|
|
4596
|
+
label: (0, i18n_1._)('Y-axis grid and labels'),
|
|
5072
4597
|
layout: [[{
|
|
5073
|
-
label: (0, i18n_1._)('
|
|
5074
|
-
option: '
|
|
5075
|
-
editor: 'editor.
|
|
4598
|
+
label: (0, i18n_1._)('Axis title'),
|
|
4599
|
+
option: 'yAxisTitleVisibility',
|
|
4600
|
+
editor: 'editor.toggle'
|
|
4601
|
+
}], [{
|
|
4602
|
+
label: (0, i18n_1._)('Axis title text'),
|
|
4603
|
+
option: 'yAxisTitleText',
|
|
4604
|
+
editor: 'editor.text',
|
|
4605
|
+
showEditor: function showEditor(_ref) {
|
|
4606
|
+
var options = _ref.options;
|
|
4607
|
+
return options.yAxisTitleVisibility === 'show' || options.yAxisTitleVisibility === undefined;
|
|
4608
|
+
}
|
|
4609
|
+
}], [{
|
|
4610
|
+
label: (0, i18n_1._)('Scale'),
|
|
4611
|
+
option: 'yAxisScale',
|
|
4612
|
+
editor: 'editor.radioBar',
|
|
5076
4613
|
editorProps: {
|
|
5077
4614
|
values: [{
|
|
5078
|
-
label: (0, i18n_1._)('
|
|
5079
|
-
value: '
|
|
5080
|
-
}, {
|
|
5081
|
-
label: (0, i18n_1._)('Left'),
|
|
5082
|
-
value: 'left'
|
|
4615
|
+
label: (0, i18n_1._)('Linear'),
|
|
4616
|
+
value: 'linear'
|
|
5083
4617
|
}, {
|
|
5084
|
-
label: (0, i18n_1._)('
|
|
5085
|
-
value: '
|
|
4618
|
+
label: (0, i18n_1._)('Log'),
|
|
4619
|
+
value: 'log'
|
|
4620
|
+
}]
|
|
4621
|
+
}
|
|
4622
|
+
}], [{
|
|
4623
|
+
label: (0, i18n_1._)('Label visibility'),
|
|
4624
|
+
option: 'yAxisLabelVisibility',
|
|
4625
|
+
editor: 'editor.radioBar',
|
|
4626
|
+
editorProps: {
|
|
4627
|
+
values: [{
|
|
4628
|
+
label: (0, i18n_1._)('Auto'),
|
|
4629
|
+
value: 'auto'
|
|
5086
4630
|
}, {
|
|
5087
|
-
label: (0, i18n_1._)('
|
|
5088
|
-
value: '
|
|
4631
|
+
label: (0, i18n_1._)('Show'),
|
|
4632
|
+
value: 'show'
|
|
5089
4633
|
}, {
|
|
5090
|
-
label: (0, i18n_1._)('
|
|
5091
|
-
value: '
|
|
4634
|
+
label: (0, i18n_1._)('Hide'),
|
|
4635
|
+
value: 'hide'
|
|
5092
4636
|
}]
|
|
5093
4637
|
}
|
|
5094
4638
|
}], [{
|
|
5095
|
-
label: (0, i18n_1._)('
|
|
5096
|
-
option: '
|
|
4639
|
+
label: (0, i18n_1._)('SI prefix abbreviation for labels'),
|
|
4640
|
+
option: 'yAxisAbbreviation',
|
|
4641
|
+
editor: 'editor.checkbox',
|
|
4642
|
+
showEditor: function showEditor(_ref2) {
|
|
4643
|
+
var options = _ref2.options;
|
|
4644
|
+
return options.yAxisLabelVisibility === 'show' || options.yAxisLabelVisibility === 'auto' || options.yAxisLabelVisibility === undefined;
|
|
4645
|
+
}
|
|
4646
|
+
}], [{
|
|
4647
|
+
label: (0, i18n_1._)('Include zero'),
|
|
4648
|
+
option: 'showYAxisWithZero',
|
|
4649
|
+
editor: 'editor.checkbox'
|
|
4650
|
+
}], [{
|
|
4651
|
+
label: (0, i18n_1._)('Extend to whole grid'),
|
|
4652
|
+
option: 'showYAxisExtendedRange',
|
|
4653
|
+
editor: 'editor.checkbox'
|
|
4654
|
+
}], [{
|
|
4655
|
+
label: (0, i18n_1._)('Minimum axis value'),
|
|
4656
|
+
option: 'yAxisMin',
|
|
4657
|
+
editor: 'editor.number'
|
|
4658
|
+
}, {
|
|
4659
|
+
label: (0, i18n_1._)('Maximum axis value'),
|
|
4660
|
+
option: 'yAxisMax',
|
|
4661
|
+
editor: 'editor.number'
|
|
4662
|
+
}], [{
|
|
4663
|
+
label: (0, i18n_1._)('Axis line visibility'),
|
|
4664
|
+
option: 'yAxisLineVisibility',
|
|
4665
|
+
editor: 'editor.checkbox'
|
|
4666
|
+
}], [{
|
|
4667
|
+
label: (0, i18n_1._)('Major gridlines'),
|
|
4668
|
+
option: 'showYMajorGridLines',
|
|
4669
|
+
editor: 'editor.checkbox'
|
|
4670
|
+
}], [{
|
|
4671
|
+
label: (0, i18n_1._)('Major tick visibility'),
|
|
4672
|
+
option: 'yAxisMajorTickVisibility',
|
|
5097
4673
|
editor: 'editor.radioBar',
|
|
5098
4674
|
editorProps: {
|
|
5099
4675
|
values: [{
|
|
5100
|
-
label: (0, i18n_1._)('
|
|
5101
|
-
value: '
|
|
4676
|
+
label: (0, i18n_1._)('Auto'),
|
|
4677
|
+
value: 'auto'
|
|
5102
4678
|
}, {
|
|
5103
|
-
label: (0, i18n_1._)('
|
|
5104
|
-
value: '
|
|
4679
|
+
label: (0, i18n_1._)('Show'),
|
|
4680
|
+
value: 'show'
|
|
5105
4681
|
}, {
|
|
5106
|
-
label: (0, i18n_1._)('
|
|
5107
|
-
value: '
|
|
4682
|
+
label: (0, i18n_1._)('Hide'),
|
|
4683
|
+
value: 'hide'
|
|
4684
|
+
}]
|
|
4685
|
+
}
|
|
4686
|
+
}], [{
|
|
4687
|
+
label: (0, i18n_1._)('Major tick size (px)'),
|
|
4688
|
+
option: 'yAxisMajorTickSize',
|
|
4689
|
+
editor: 'editor.slider',
|
|
4690
|
+
editorProps: {
|
|
4691
|
+
min: 0,
|
|
4692
|
+
max: 10,
|
|
4693
|
+
step: 1
|
|
4694
|
+
},
|
|
4695
|
+
showEditor: function showEditor(_ref3) {
|
|
4696
|
+
var options = _ref3.options;
|
|
4697
|
+
return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
|
|
4698
|
+
}
|
|
4699
|
+
}], [{
|
|
4700
|
+
label: (0, i18n_1._)('Major tick interval spacing'),
|
|
4701
|
+
option: 'yAxisMajorTickInterval',
|
|
4702
|
+
editor: 'editor.number',
|
|
4703
|
+
showEditor: function showEditor(_ref4) {
|
|
4704
|
+
var options = _ref4.options;
|
|
4705
|
+
return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
|
|
4706
|
+
}
|
|
4707
|
+
}], [{
|
|
4708
|
+
label: (0, i18n_1._)('Minor gridlines'),
|
|
4709
|
+
option: 'showYMinorGridLines',
|
|
4710
|
+
editor: 'editor.checkbox'
|
|
4711
|
+
}], [{
|
|
4712
|
+
label: (0, i18n_1._)('Minor tick visibility'),
|
|
4713
|
+
option: 'yAxisMinorTickVisibility',
|
|
4714
|
+
editor: 'editor.radioBar',
|
|
4715
|
+
editorProps: {
|
|
4716
|
+
values: [{
|
|
4717
|
+
label: (0, i18n_1._)('Auto'),
|
|
4718
|
+
value: 'auto'
|
|
5108
4719
|
}, {
|
|
5109
|
-
label: (0, i18n_1._)('
|
|
5110
|
-
value: '
|
|
4720
|
+
label: (0, i18n_1._)('Show'),
|
|
4721
|
+
value: 'show'
|
|
4722
|
+
}, {
|
|
4723
|
+
label: (0, i18n_1._)('Hide'),
|
|
4724
|
+
value: 'hide'
|
|
5111
4725
|
}]
|
|
4726
|
+
}
|
|
4727
|
+
}], [{
|
|
4728
|
+
label: (0, i18n_1._)('Minor tick size (px)'),
|
|
4729
|
+
option: 'yAxisMinorTickSize',
|
|
4730
|
+
editor: 'editor.slider',
|
|
4731
|
+
editorProps: {
|
|
4732
|
+
min: 0,
|
|
4733
|
+
max: 10,
|
|
4734
|
+
step: 1
|
|
5112
4735
|
},
|
|
5113
|
-
showEditor: function showEditor(
|
|
5114
|
-
var options =
|
|
5115
|
-
return options.
|
|
4736
|
+
showEditor: function showEditor(_ref5) {
|
|
4737
|
+
var options = _ref5.options;
|
|
4738
|
+
return options.yAxisMinorTickVisibility === 'show' || options.yAxisMinorTickVisibility === 'auto' || options.yAxisMinorTickVisibility === undefined;
|
|
5116
4739
|
}
|
|
5117
4740
|
}]]
|
|
5118
4741
|
};
|
|
5119
|
-
exports.default =
|
|
4742
|
+
exports.default = AxesChartYGridAndLabels;
|
|
5120
4743
|
|
|
5121
4744
|
/***/ })
|
|
5122
4745
|
|