@splunk/visualizations 25.0.1 → 25.1.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/.loki/reference/chrome_docker_PureVisualizations_PureMap_custom_base_layer_tile_server.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/Area.config.js +141 -152
- package/Area.config.js.map +1 -1
- package/Area.js +334 -431
- package/Area.js.map +1 -1
- package/Bar.config.js +143 -148
- package/Bar.config.js.map +1 -1
- package/Bar.js +336 -427
- package/Bar.js.map +1 -1
- package/Bubble.config.js +130 -117
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +325 -398
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +86 -80
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +305 -385
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +139 -146
- package/Column.config.js.map +1 -1
- package/Column.js +332 -425
- package/Column.js.map +1 -1
- package/Ellipse.config.js +86 -80
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +288 -368
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +91 -85
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +296 -376
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +74 -74
- package/Image.config.js.map +1 -1
- package/Image.js +710 -798
- package/Image.js.map +1 -1
- package/Line.config.js +139 -137
- package/Line.config.js.map +1 -1
- package/Line.js +332 -416
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +112 -112
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +320 -405
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +101 -95
- package/Map.config.js.map +1 -1
- package/Map.js +472 -518
- package/Map.js.map +1 -1
- package/Markdown.config.js +113 -113
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +500 -574
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +192 -193
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1200 -1289
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +138 -138
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +292 -376
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +133 -133
- package/Pie.config.js.map +1 -1
- package/Pie.js +496 -584
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +139 -139
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +315 -399
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +267 -260
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +499 -580
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +150 -143
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +316 -390
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +130 -117
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +547 -623
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +119 -113
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +523 -604
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +19 -19
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +128 -120
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +343 -420
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +215 -178
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +668 -749
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +150 -151
- package/Table.config.js.map +1 -1
- package/Table.js +772 -854
- package/Table.js.map +1 -1
- package/common/Charting.js +11 -11
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +2 -2
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +12 -12
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +8 -8
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +8 -8
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +51 -352
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +22 -22
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- 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 +4 -4
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +4 -4
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +13 -13
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +8 -8
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +17 -18
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/hocUtils.js +6 -86
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/{JSONSchemaUtils.js → mapUtils.js} +89 -29
- package/common/utils/mapUtils.js.map +1 -0
- package/common/utils/singleValueUtils.js +14 -12
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +8 -8
- package/common/utils/testHelper.js.map +1 -1
- package/common/withDashboardViz.js +120 -207
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +12 -12
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_SVG_Of_Size_Greater_Than_2_MB_Render.png +0 -0
- package/common/utils/JSONSchemaUtils.js.map +0 -1
package/Bar.config.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 = 39);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -98,14 +98,63 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
98
98
|
|
|
99
99
|
/***/ }),
|
|
100
100
|
/* 1 */
|
|
101
|
+
/***/ (function(module, exports) {
|
|
102
|
+
|
|
103
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
104
|
+
|
|
105
|
+
/***/ }),
|
|
106
|
+
/* 2 */
|
|
101
107
|
/***/ (function(module, exports, __webpack_require__) {
|
|
102
108
|
|
|
103
109
|
"use strict";
|
|
104
110
|
|
|
105
111
|
|
|
106
|
-
|
|
112
|
+
Object.defineProperty(exports, "__esModule", {
|
|
113
|
+
value: true
|
|
114
|
+
});
|
|
115
|
+
exports.VizBehavior = void 0;
|
|
116
|
+
var VizBehavior;
|
|
107
117
|
|
|
108
|
-
|
|
118
|
+
(function (VizBehavior) {
|
|
119
|
+
/**
|
|
120
|
+
* Dynamic Options Behavior.
|
|
121
|
+
* This allows visualization options to be powered by data
|
|
122
|
+
*
|
|
123
|
+
* **Example**
|
|
124
|
+
*
|
|
125
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
126
|
+
* would configure sparklineValues with an array of data points
|
|
127
|
+
* coming from the first series in the primary datasource
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
131
|
+
VizBehavior["EVENTS"] = "events";
|
|
132
|
+
/**
|
|
133
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
134
|
+
* missing.
|
|
135
|
+
* @type {string}
|
|
136
|
+
*/
|
|
137
|
+
|
|
138
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
139
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
140
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
141
|
+
|
|
142
|
+
/***/ }),
|
|
143
|
+
/* 3 */
|
|
144
|
+
/***/ (function(module, exports) {
|
|
145
|
+
|
|
146
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
147
|
+
|
|
148
|
+
/***/ }),
|
|
149
|
+
/* 4 */
|
|
150
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
151
|
+
|
|
152
|
+
"use strict";
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
var _toConsumableArray = __webpack_require__(1);
|
|
156
|
+
|
|
157
|
+
var _defineProperty = __webpack_require__(7);
|
|
109
158
|
|
|
110
159
|
var __rest = this && this.__rest || function (s, e) {
|
|
111
160
|
var t = {};
|
|
@@ -123,13 +172,13 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
123
172
|
Object.defineProperty(exports, "__esModule", {
|
|
124
173
|
value: true
|
|
125
174
|
});
|
|
126
|
-
exports.insertLayout = exports.
|
|
175
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
127
176
|
|
|
128
|
-
var lodash_1 = __webpack_require__(
|
|
177
|
+
var lodash_1 = __webpack_require__(6);
|
|
129
178
|
|
|
130
|
-
var schemaUtils_1 = __webpack_require__(
|
|
179
|
+
var schemaUtils_1 = __webpack_require__(3);
|
|
131
180
|
|
|
132
|
-
var VizBehavior_1 = __webpack_require__(
|
|
181
|
+
var VizBehavior_1 = __webpack_require__(2);
|
|
133
182
|
|
|
134
183
|
var dynamicOptionsDSLType = {
|
|
135
184
|
type: 'string',
|
|
@@ -333,68 +382,20 @@ var insertLayout = function insertLayout(layout, index) {
|
|
|
333
382
|
exports.insertLayout = insertLayout;
|
|
334
383
|
|
|
335
384
|
/***/ }),
|
|
336
|
-
/*
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
340
|
-
|
|
341
|
-
/***/ }),
|
|
342
|
-
/* 3 */
|
|
343
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
344
|
-
|
|
345
|
-
"use strict";
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
Object.defineProperty(exports, "__esModule", {
|
|
349
|
-
value: true
|
|
350
|
-
});
|
|
351
|
-
exports.VizBehavior = void 0;
|
|
352
|
-
var VizBehavior;
|
|
353
|
-
|
|
354
|
-
(function (VizBehavior) {
|
|
355
|
-
/**
|
|
356
|
-
* Dynamic Options Behavior.
|
|
357
|
-
* This allows visualization options to be powered by data
|
|
358
|
-
*
|
|
359
|
-
* **Example**
|
|
360
|
-
*
|
|
361
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
362
|
-
* would configure sparklineValues with an array of data points
|
|
363
|
-
* coming from the first series in the primary datasource
|
|
364
|
-
*
|
|
365
|
-
*/
|
|
366
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
367
|
-
VizBehavior["EVENTS"] = "events";
|
|
368
|
-
/**
|
|
369
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
370
|
-
* missing.
|
|
371
|
-
* @type {string}
|
|
372
|
-
*/
|
|
373
|
-
|
|
374
|
-
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
375
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
376
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
377
|
-
|
|
378
|
-
/***/ }),
|
|
379
|
-
/* 4 */
|
|
380
|
-
/***/ (function(module, exports) {
|
|
381
|
-
|
|
382
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
383
|
-
|
|
384
|
-
/***/ }),
|
|
385
|
-
/* 5 */
|
|
385
|
+
/* 5 */,
|
|
386
|
+
/* 6 */
|
|
386
387
|
/***/ (function(module, exports) {
|
|
387
388
|
|
|
388
389
|
module.exports = require("lodash");
|
|
389
390
|
|
|
390
391
|
/***/ }),
|
|
391
|
-
/*
|
|
392
|
+
/* 7 */
|
|
392
393
|
/***/ (function(module, exports) {
|
|
393
394
|
|
|
394
395
|
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
395
396
|
|
|
396
397
|
/***/ }),
|
|
397
|
-
/*
|
|
398
|
+
/* 8 */
|
|
398
399
|
/***/ (function(module, exports, __webpack_require__) {
|
|
399
400
|
|
|
400
401
|
"use strict";
|
|
@@ -422,37 +423,37 @@ var VizCategory;
|
|
|
422
423
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
423
424
|
|
|
424
425
|
/***/ }),
|
|
425
|
-
/*
|
|
426
|
+
/* 9 */
|
|
426
427
|
/***/ (function(module, exports) {
|
|
427
428
|
|
|
428
429
|
module.exports = require("@splunk/themes/pick");
|
|
429
430
|
|
|
430
431
|
/***/ }),
|
|
431
|
-
/*
|
|
432
|
+
/* 10 */
|
|
432
433
|
/***/ (function(module, exports) {
|
|
433
434
|
|
|
434
435
|
module.exports = require("@splunk/themes/variables");
|
|
435
436
|
|
|
436
437
|
/***/ }),
|
|
437
|
-
/*
|
|
438
|
+
/* 11 */
|
|
438
439
|
/***/ (function(module, exports) {
|
|
439
440
|
|
|
440
441
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
441
442
|
|
|
442
443
|
/***/ }),
|
|
443
|
-
/*
|
|
444
|
+
/* 12 */
|
|
444
445
|
/***/ (function(module, exports) {
|
|
445
446
|
|
|
446
447
|
module.exports = require("@splunk/visualization-icons");
|
|
447
448
|
|
|
448
449
|
/***/ }),
|
|
449
|
-
/*
|
|
450
|
+
/* 13 */
|
|
450
451
|
/***/ (function(module, exports) {
|
|
451
452
|
|
|
452
453
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
453
454
|
|
|
454
455
|
/***/ }),
|
|
455
|
-
/*
|
|
456
|
+
/* 14 */
|
|
456
457
|
/***/ (function(module, exports, __webpack_require__) {
|
|
457
458
|
|
|
458
459
|
"use strict";
|
|
@@ -482,14 +483,14 @@ var background = function background(_ref) {
|
|
|
482
483
|
exports.default = background;
|
|
483
484
|
|
|
484
485
|
/***/ }),
|
|
485
|
-
/*
|
|
486
|
-
/*
|
|
486
|
+
/* 15 */,
|
|
487
|
+
/* 16 */
|
|
487
488
|
/***/ (function(module, exports, __webpack_require__) {
|
|
488
489
|
|
|
489
490
|
"use strict";
|
|
490
491
|
|
|
491
492
|
|
|
492
|
-
var _toConsumableArray = __webpack_require__(
|
|
493
|
+
var _toConsumableArray = __webpack_require__(1);
|
|
493
494
|
|
|
494
495
|
Object.defineProperty(exports, "__esModule", {
|
|
495
496
|
value: true
|
|
@@ -498,7 +499,7 @@ exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble =
|
|
|
498
499
|
|
|
499
500
|
var i18n_1 = __webpack_require__(0);
|
|
500
501
|
|
|
501
|
-
var configUtils_1 = __webpack_require__(
|
|
502
|
+
var configUtils_1 = __webpack_require__(4);
|
|
502
503
|
|
|
503
504
|
var AxesChartDataConfig = {
|
|
504
505
|
label: i18n_1._('Data configurations'),
|
|
@@ -539,15 +540,35 @@ exports.AxesChartDataConfigBar = {
|
|
|
539
540
|
};
|
|
540
541
|
exports.AxesChartDataConfigScatter = {
|
|
541
542
|
label: AxesChartDataConfig.label,
|
|
542
|
-
|
|
543
|
-
|
|
543
|
+
layout: [[{
|
|
544
|
+
label: i18n_1._('X'),
|
|
545
|
+
option: 'x',
|
|
546
|
+
editor: 'editor.columnSelector',
|
|
547
|
+
editorProps: {
|
|
548
|
+
dataSourceKey: 'primary'
|
|
549
|
+
}
|
|
550
|
+
}], [{
|
|
551
|
+
label: i18n_1._('Y'),
|
|
552
|
+
option: 'y',
|
|
553
|
+
editor: 'editor.columnSelector',
|
|
554
|
+
editorProps: {
|
|
555
|
+
dataSourceKey: 'primary'
|
|
556
|
+
}
|
|
557
|
+
}], [{
|
|
544
558
|
label: i18n_1._('Category'),
|
|
545
559
|
option: 'category',
|
|
546
560
|
editor: 'editor.columnSelector',
|
|
547
561
|
editorProps: {
|
|
548
562
|
dataSourceKey: 'primary'
|
|
549
563
|
}
|
|
550
|
-
}]
|
|
564
|
+
}], [{
|
|
565
|
+
label: i18n_1._('Result limit'),
|
|
566
|
+
option: 'resultLimit',
|
|
567
|
+
editor: 'editor.number',
|
|
568
|
+
editorProps: {
|
|
569
|
+
dataSourceKey: 'primary'
|
|
570
|
+
}
|
|
571
|
+
}]]
|
|
551
572
|
};
|
|
552
573
|
exports.AxesChartDataConfigBubble = {
|
|
553
574
|
label: exports.AxesChartDataConfigScatter.label,
|
|
@@ -582,7 +603,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
|
|
|
582
603
|
exports.default = AxesChartDataConfig;
|
|
583
604
|
|
|
584
605
|
/***/ }),
|
|
585
|
-
/*
|
|
606
|
+
/* 17 */
|
|
586
607
|
/***/ (function(module, exports, __webpack_require__) {
|
|
587
608
|
|
|
588
609
|
"use strict";
|
|
@@ -594,11 +615,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
594
615
|
|
|
595
616
|
var i18n_1 = __webpack_require__(0);
|
|
596
617
|
|
|
597
|
-
var pick_1 = __webpack_require__(
|
|
618
|
+
var pick_1 = __webpack_require__(9);
|
|
598
619
|
|
|
599
|
-
var variables_1 = __webpack_require__(
|
|
620
|
+
var variables_1 = __webpack_require__(10);
|
|
600
621
|
|
|
601
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
622
|
+
var BackgroundColor_1 = __webpack_require__(14);
|
|
602
623
|
|
|
603
624
|
var themes = {
|
|
604
625
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
@@ -615,28 +636,20 @@ var AxesChartColorAndStyle = {
|
|
|
615
636
|
label: i18n_1._('Color and style'),
|
|
616
637
|
layout: [BackgroundColor_1.default({
|
|
617
638
|
themes: themes
|
|
618
|
-
})
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
// [
|
|
628
|
-
// {
|
|
629
|
-
// label: _('Series colors by field name'),
|
|
630
|
-
// option: 'seriesColorsByField',
|
|
631
|
-
// editor: 'editor.seriesColorsByField',
|
|
632
|
-
// },
|
|
633
|
-
// ],
|
|
634
|
-
]
|
|
639
|
+
}), [{
|
|
640
|
+
label: i18n_1._('Series colors'),
|
|
641
|
+
option: 'seriesColors',
|
|
642
|
+
editor: 'editor.seriesColors'
|
|
643
|
+
}], [{
|
|
644
|
+
label: i18n_1._('Series colors by field name'),
|
|
645
|
+
option: 'seriesColorsByField',
|
|
646
|
+
editor: 'editor.seriesColorsByField'
|
|
647
|
+
}]]
|
|
635
648
|
};
|
|
636
649
|
exports.default = AxesChartColorAndStyle;
|
|
637
650
|
|
|
638
651
|
/***/ }),
|
|
639
|
-
/*
|
|
652
|
+
/* 18 */
|
|
640
653
|
/***/ (function(module, exports, __webpack_require__) {
|
|
641
654
|
|
|
642
655
|
"use strict";
|
|
@@ -700,13 +713,13 @@ var AxesChartLegend = {
|
|
|
700
713
|
exports.default = AxesChartLegend;
|
|
701
714
|
|
|
702
715
|
/***/ }),
|
|
703
|
-
/*
|
|
716
|
+
/* 19 */
|
|
704
717
|
/***/ (function(module, exports, __webpack_require__) {
|
|
705
718
|
|
|
706
719
|
"use strict";
|
|
707
720
|
|
|
708
721
|
|
|
709
|
-
var _toConsumableArray = __webpack_require__(
|
|
722
|
+
var _toConsumableArray = __webpack_require__(1);
|
|
710
723
|
|
|
711
724
|
Object.defineProperty(exports, "__esModule", {
|
|
712
725
|
value: true
|
|
@@ -715,7 +728,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCo
|
|
|
715
728
|
|
|
716
729
|
var i18n_1 = __webpack_require__(0);
|
|
717
730
|
|
|
718
|
-
var configUtils_1 = __webpack_require__(
|
|
731
|
+
var configUtils_1 = __webpack_require__(4);
|
|
719
732
|
|
|
720
733
|
exports.AxesChartXGridAndLabelsCommon = {
|
|
721
734
|
label: i18n_1._('X-axis grid and labels'),
|
|
@@ -754,7 +767,7 @@ var AxesChartXGridAndLabels = {
|
|
|
754
767
|
layout: [].concat(_toConsumableArray(exports.AxesChartXGridAndLabelsCommon.layout), [[{
|
|
755
768
|
label: i18n_1._('Label rotation'),
|
|
756
769
|
option: 'xAxisLabelRotation',
|
|
757
|
-
editor: 'editor.
|
|
770
|
+
editor: 'editor.select',
|
|
758
771
|
editorProps: {
|
|
759
772
|
values: [{
|
|
760
773
|
label: i18n_1._('-90'),
|
|
@@ -988,7 +1001,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
988
1001
|
exports.default = AxesChartXGridAndLabels;
|
|
989
1002
|
|
|
990
1003
|
/***/ }),
|
|
991
|
-
/*
|
|
1004
|
+
/* 20 */
|
|
992
1005
|
/***/ (function(module, exports, __webpack_require__) {
|
|
993
1006
|
|
|
994
1007
|
"use strict";
|
|
@@ -1150,13 +1163,13 @@ var AxesChartYGridAndLabels = {
|
|
|
1150
1163
|
exports.default = AxesChartYGridAndLabels;
|
|
1151
1164
|
|
|
1152
1165
|
/***/ }),
|
|
1153
|
-
/*
|
|
1166
|
+
/* 21 */
|
|
1154
1167
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1155
1168
|
|
|
1156
1169
|
"use strict";
|
|
1157
1170
|
|
|
1158
1171
|
|
|
1159
|
-
var _toConsumableArray = __webpack_require__(
|
|
1172
|
+
var _toConsumableArray = __webpack_require__(1);
|
|
1160
1173
|
|
|
1161
1174
|
Object.defineProperty(exports, "__esModule", {
|
|
1162
1175
|
value: true
|
|
@@ -1165,9 +1178,9 @@ exports.AxesChartDataDisplayColumn = exports.AxesChartDataDisplayBar = exports.A
|
|
|
1165
1178
|
|
|
1166
1179
|
var i18n_1 = __webpack_require__(0);
|
|
1167
1180
|
|
|
1168
|
-
var lodash_1 = __webpack_require__(
|
|
1181
|
+
var lodash_1 = __webpack_require__(6);
|
|
1169
1182
|
|
|
1170
|
-
var configUtils_1 = __webpack_require__(
|
|
1183
|
+
var configUtils_1 = __webpack_require__(4);
|
|
1171
1184
|
|
|
1172
1185
|
exports.AxesChartDataDisplayLine = {
|
|
1173
1186
|
label: i18n_1._('Data display'),
|
|
@@ -1203,13 +1216,6 @@ exports.AxesChartDataDisplayLine = {
|
|
|
1203
1216
|
value: 'minmax'
|
|
1204
1217
|
}]
|
|
1205
1218
|
}
|
|
1206
|
-
}], [{
|
|
1207
|
-
label: i18n_1._('Overlay fields'),
|
|
1208
|
-
option: 'overlayFields',
|
|
1209
|
-
editor: 'editor.columnMultiSelector',
|
|
1210
|
-
editorProps: {
|
|
1211
|
-
dataSourceKey: 'primary'
|
|
1212
|
-
}
|
|
1213
1219
|
}], [{
|
|
1214
1220
|
label: i18n_1._('Split series'),
|
|
1215
1221
|
option: 'showSplitSeries',
|
|
@@ -1229,7 +1235,7 @@ var AxesChartDataDisplay = {
|
|
|
1229
1235
|
layout: [[{
|
|
1230
1236
|
label: i18n_1._('Stack mode'),
|
|
1231
1237
|
option: 'stackMode',
|
|
1232
|
-
editor: 'editor.
|
|
1238
|
+
editor: 'editor.select',
|
|
1233
1239
|
editorProps: {
|
|
1234
1240
|
values: [{
|
|
1235
1241
|
label: i18n_1._('Not stacked'),
|
|
@@ -1249,7 +1255,7 @@ exports.AxesChartDataDisplayBar = {
|
|
|
1249
1255
|
layout: [[{
|
|
1250
1256
|
label: i18n_1._('Stack mode'),
|
|
1251
1257
|
option: 'stackMode',
|
|
1252
|
-
editor: 'editor.
|
|
1258
|
+
editor: 'editor.select',
|
|
1253
1259
|
editorProps: {
|
|
1254
1260
|
values: [{
|
|
1255
1261
|
label: i18n_1._('Not stacked'),
|
|
@@ -1288,7 +1294,7 @@ exports.AxesChartDataDisplayColumn = {
|
|
|
1288
1294
|
exports.default = AxesChartDataDisplay;
|
|
1289
1295
|
|
|
1290
1296
|
/***/ }),
|
|
1291
|
-
/*
|
|
1297
|
+
/* 22 */
|
|
1292
1298
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1293
1299
|
|
|
1294
1300
|
"use strict";
|
|
@@ -1314,10 +1320,6 @@ var axesChartY2GridAndLabels = {
|
|
|
1314
1320
|
var options = _ref.options;
|
|
1315
1321
|
return options.y2AxisTitleVisibility === 'show' || options.y2AxisTitleVisibility === undefined;
|
|
1316
1322
|
}
|
|
1317
|
-
}], [{
|
|
1318
|
-
label: i18n_1._('Show overlays on the y2-axis'),
|
|
1319
|
-
option: 'showOverlayY2Axis',
|
|
1320
|
-
editor: 'editor.checkbox'
|
|
1321
1323
|
}], [{
|
|
1322
1324
|
label: i18n_1._('Scale'),
|
|
1323
1325
|
option: 'y2AxisScale',
|
|
@@ -1458,7 +1460,6 @@ var axesChartY2GridAndLabels = {
|
|
|
1458
1460
|
exports.default = axesChartY2GridAndLabels;
|
|
1459
1461
|
|
|
1460
1462
|
/***/ }),
|
|
1461
|
-
/* 22 */,
|
|
1462
1463
|
/* 23 */,
|
|
1463
1464
|
/* 24 */,
|
|
1464
1465
|
/* 25 */,
|
|
@@ -1474,51 +1475,52 @@ exports.default = axesChartY2GridAndLabels;
|
|
|
1474
1475
|
/* 35 */,
|
|
1475
1476
|
/* 36 */,
|
|
1476
1477
|
/* 37 */,
|
|
1477
|
-
/* 38
|
|
1478
|
+
/* 38 */,
|
|
1479
|
+
/* 39 */
|
|
1478
1480
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1479
1481
|
|
|
1480
1482
|
"use strict";
|
|
1481
1483
|
|
|
1482
1484
|
|
|
1483
|
-
var _toConsumableArray = __webpack_require__(
|
|
1485
|
+
var _toConsumableArray = __webpack_require__(1);
|
|
1484
1486
|
|
|
1485
1487
|
Object.defineProperty(exports, "__esModule", {
|
|
1486
1488
|
value: true
|
|
1487
1489
|
});
|
|
1488
1490
|
|
|
1489
|
-
var visualization_icons_1 = __webpack_require__(
|
|
1491
|
+
var visualization_icons_1 = __webpack_require__(12);
|
|
1490
1492
|
|
|
1491
|
-
var placeholders_1 = __webpack_require__(
|
|
1493
|
+
var placeholders_1 = __webpack_require__(11);
|
|
1492
1494
|
|
|
1493
|
-
var schemaUtils_1 = __webpack_require__(
|
|
1495
|
+
var schemaUtils_1 = __webpack_require__(3);
|
|
1494
1496
|
|
|
1495
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
1497
|
+
var visualization_color_palettes_1 = __webpack_require__(13);
|
|
1496
1498
|
|
|
1497
1499
|
var i18n_1 = __webpack_require__(0);
|
|
1498
1500
|
|
|
1499
|
-
var pick_1 = __webpack_require__(
|
|
1501
|
+
var pick_1 = __webpack_require__(9);
|
|
1500
1502
|
|
|
1501
|
-
var variables_1 = __webpack_require__(
|
|
1503
|
+
var variables_1 = __webpack_require__(10);
|
|
1502
1504
|
|
|
1503
|
-
var AxesChartDataConfig_1 = __webpack_require__(
|
|
1505
|
+
var AxesChartDataConfig_1 = __webpack_require__(16);
|
|
1504
1506
|
|
|
1505
|
-
var AxesChartDataDisplay_1 = __webpack_require__(
|
|
1507
|
+
var AxesChartDataDisplay_1 = __webpack_require__(21);
|
|
1506
1508
|
|
|
1507
|
-
var AxesChartXGridAndLabels_1 = __webpack_require__(
|
|
1509
|
+
var AxesChartXGridAndLabels_1 = __webpack_require__(19);
|
|
1508
1510
|
|
|
1509
|
-
var AxesChartColorAndStyle_1 = __webpack_require__(
|
|
1511
|
+
var AxesChartColorAndStyle_1 = __webpack_require__(17);
|
|
1510
1512
|
|
|
1511
|
-
var AxesChartLegend_1 = __webpack_require__(
|
|
1513
|
+
var AxesChartLegend_1 = __webpack_require__(18);
|
|
1512
1514
|
|
|
1513
|
-
var AxesChartYGridAndLabels_1 = __webpack_require__(
|
|
1515
|
+
var AxesChartYGridAndLabels_1 = __webpack_require__(20);
|
|
1514
1516
|
|
|
1515
|
-
var AxesChartY2GridAndLabels_1 = __webpack_require__(
|
|
1517
|
+
var AxesChartY2GridAndLabels_1 = __webpack_require__(22);
|
|
1516
1518
|
|
|
1517
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1519
|
+
var VizBehavior_1 = __webpack_require__(2);
|
|
1518
1520
|
|
|
1519
|
-
var VizCategory_1 = __webpack_require__(
|
|
1521
|
+
var VizCategory_1 = __webpack_require__(8);
|
|
1520
1522
|
|
|
1521
|
-
var configUtils_1 = __webpack_require__(
|
|
1523
|
+
var configUtils_1 = __webpack_require__(4);
|
|
1522
1524
|
|
|
1523
1525
|
var dataContract = {
|
|
1524
1526
|
requiredDataSources: [{
|
|
@@ -1588,7 +1590,7 @@ var optionsSchema = {
|
|
|
1588
1590
|
backgroundColor: {
|
|
1589
1591
|
default: '> themes.defaultBackgroundColor',
|
|
1590
1592
|
description: 'Specify the color used for the background. You can use a data source or hexadecimal code to apply the color.',
|
|
1591
|
-
pattern: schemaUtils_1.
|
|
1593
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
1592
1594
|
type: 'string'
|
|
1593
1595
|
},
|
|
1594
1596
|
barSpacing: {
|
|
@@ -1925,15 +1927,6 @@ var themes = {
|
|
|
1925
1927
|
var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigBar, AxesChartDataDisplay_1.AxesChartDataDisplayBar, {
|
|
1926
1928
|
label: AxesChartColorAndStyle_1.default.label,
|
|
1927
1929
|
layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout), [[{
|
|
1928
|
-
label: i18n_1._('Line width (px)'),
|
|
1929
|
-
option: 'lineWidth',
|
|
1930
|
-
editor: 'editor.slider',
|
|
1931
|
-
editorProps: {
|
|
1932
|
-
min: 0.5,
|
|
1933
|
-
max: 8.0,
|
|
1934
|
-
step: 0.5
|
|
1935
|
-
}
|
|
1936
|
-
}], [{
|
|
1937
1930
|
label: i18n_1._('Series spacing'),
|
|
1938
1931
|
option: 'seriesSpacing',
|
|
1939
1932
|
editor: 'editor.number'
|
|
@@ -1943,7 +1936,7 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigBar, AxesChartDataD
|
|
|
1943
1936
|
editor: 'editor.number'
|
|
1944
1937
|
}]])
|
|
1945
1938
|
}, AxesChartLegend_1.default, {
|
|
1946
|
-
label:
|
|
1939
|
+
label: i18n_1._('X-axis grid and labels (vertical axis)'),
|
|
1947
1940
|
layout: [].concat(_toConsumableArray(AxesChartXGridAndLabels_1.AxesChartXGridAndLabelsCommon.layout), [[{
|
|
1948
1941
|
label: i18n_1._('Number of time label parts'),
|
|
1949
1942
|
option: 'xAxisMaxLabelParts',
|
|
@@ -1994,7 +1987,9 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigBar, AxesChartDataD
|
|
|
1994
1987
|
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
1995
1988
|
}
|
|
1996
1989
|
}]])
|
|
1997
|
-
}, AxesChartYGridAndLabels_1.default,
|
|
1990
|
+
}, Object.assign(Object.assign({}, AxesChartYGridAndLabels_1.default), {
|
|
1991
|
+
label: i18n_1._('Y-axis grid and labels (horizontal axis)')
|
|
1992
|
+
}), AxesChartY2GridAndLabels_1.default];
|
|
1998
1993
|
/**
|
|
1999
1994
|
* visualization configuration
|
|
2000
1995
|
*/
|