@splunk/visualizations 25.3.1 → 25.4.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_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_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Restricted_Zoom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Set_Map_tiles.png +0 -0
- package/Area.config.js +52 -21
- package/Area.config.js.map +1 -1
- package/Area.js +71 -40
- package/Area.js.map +1 -1
- package/Bar.config.js +49 -18
- package/Bar.config.js.map +1 -1
- package/Bar.js +68 -37
- package/Bar.js.map +1 -1
- package/Bubble.config.js +6 -3
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +25 -22
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.js +22 -22
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +45 -14
- package/Column.config.js.map +1 -1
- package/Column.js +64 -33
- package/Column.js.map +1 -1
- package/Ellipse.js +18 -18
- package/Ellipse.js.map +1 -1
- package/Events.js +21 -21
- package/Events.js.map +1 -1
- package/FillerGauge.js +22 -22
- package/FillerGauge.js.map +1 -1
- package/Image.js +18 -18
- package/Image.js.map +1 -1
- package/Line.config.js +32 -14
- package/Line.config.js.map +1 -1
- package/Line.js +51 -33
- package/Line.js.map +1 -1
- package/LinkGraph.js +191 -191
- package/LinkGraph.js.map +1 -1
- package/Map.js +38 -30
- package/Map.js.map +1 -1
- package/Markdown.js +18 -18
- package/Markdown.js.map +1 -1
- package/MarkerGauge.js +23 -23
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.js +20 -20
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.js +19 -19
- package/Pie.js.map +1 -1
- package/Punchcard.js +30 -30
- package/Punchcard.js.map +1 -1
- package/Rectangle.js +18 -18
- package/Rectangle.js.map +1 -1
- package/Sankey.js +26 -26
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +6 -3
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +25 -22
- package/Scatter.js.map +1 -1
- package/SingleValue.js +46 -26
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +6 -6
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.js +19 -19
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.js +22 -22
- package/SingleValueRadial.js.map +1 -1
- package/Table.js +21 -21
- package/Table.js.map +1 -1
- package/common/withDashboardViz.js +2 -2
- package/package.json +10 -10
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Area.config.js
CHANGED
|
@@ -515,7 +515,8 @@ var AxesChartDataConfig = {
|
|
|
515
515
|
option: 'y',
|
|
516
516
|
editor: 'editor.columnMultiSelector',
|
|
517
517
|
editorProps: {
|
|
518
|
-
dataSourceKey: 'primary'
|
|
518
|
+
dataSourceKey: 'primary',
|
|
519
|
+
filterByTypes: ['number']
|
|
519
520
|
}
|
|
520
521
|
}], [{
|
|
521
522
|
label: i18n_1._('Result limit'),
|
|
@@ -534,7 +535,8 @@ exports.AxesChartDataConfigBar = {
|
|
|
534
535
|
option: 'y2',
|
|
535
536
|
editor: 'editor.columnMultiSelector',
|
|
536
537
|
editorProps: {
|
|
537
|
-
dataSourceKey: 'primary'
|
|
538
|
+
dataSourceKey: 'primary',
|
|
539
|
+
filterByTypes: ['number']
|
|
538
540
|
}
|
|
539
541
|
}])
|
|
540
542
|
};
|
|
@@ -552,7 +554,8 @@ exports.AxesChartDataConfigScatter = {
|
|
|
552
554
|
option: 'y',
|
|
553
555
|
editor: 'editor.columnSelector',
|
|
554
556
|
editorProps: {
|
|
555
|
-
dataSourceKey: 'primary'
|
|
557
|
+
dataSourceKey: 'primary',
|
|
558
|
+
filterByTypes: ['number']
|
|
556
559
|
}
|
|
557
560
|
}], [{
|
|
558
561
|
label: i18n_1._('Category'),
|
|
@@ -1217,6 +1220,13 @@ exports.AxesChartDataDisplayLine = {
|
|
|
1217
1220
|
value: 'minmax'
|
|
1218
1221
|
}]
|
|
1219
1222
|
}
|
|
1223
|
+
}], [{
|
|
1224
|
+
label: i18n_1._('Overlay fields'),
|
|
1225
|
+
option: 'overlayFields',
|
|
1226
|
+
editor: 'editor.columnMultiSelectionByFieldNameEditor',
|
|
1227
|
+
editorProps: {
|
|
1228
|
+
filterByTypes: ['number']
|
|
1229
|
+
}
|
|
1220
1230
|
}], [{
|
|
1221
1231
|
label: i18n_1._('Split series'),
|
|
1222
1232
|
option: 'showSplitSeries',
|
|
@@ -1314,13 +1324,21 @@ var axesChartY2GridAndLabels = {
|
|
|
1314
1324
|
option: 'y2AxisTitleVisibility',
|
|
1315
1325
|
editor: 'editor.toggle'
|
|
1316
1326
|
}], [{
|
|
1317
|
-
label: i18n_1._('Axis title
|
|
1327
|
+
label: i18n_1._('Axis title'),
|
|
1318
1328
|
option: 'y2AxisTitleText',
|
|
1319
1329
|
editor: 'editor.text',
|
|
1320
1330
|
showEditor: function showEditor(_ref) {
|
|
1321
1331
|
var options = _ref.options;
|
|
1322
1332
|
return options.y2AxisTitleVisibility === 'show' || options.y2AxisTitleVisibility === undefined;
|
|
1323
1333
|
}
|
|
1334
|
+
}], [{
|
|
1335
|
+
label: i18n_1._('Show overlays on the y2-axis'),
|
|
1336
|
+
option: 'showOverlayY2Axis',
|
|
1337
|
+
editor: 'editor.checkbox',
|
|
1338
|
+
showEditor: function showEditor(_ref2) {
|
|
1339
|
+
var options = _ref2.options;
|
|
1340
|
+
return Array.isArray(options.overlayFields) && options.overlayFields.length > 0;
|
|
1341
|
+
}
|
|
1324
1342
|
}], [{
|
|
1325
1343
|
label: i18n_1._('Scale'),
|
|
1326
1344
|
option: 'y2AxisScale',
|
|
@@ -1354,16 +1372,16 @@ var axesChartY2GridAndLabels = {
|
|
|
1354
1372
|
label: i18n_1._('Round axis labels'),
|
|
1355
1373
|
option: 'showRoundedY2AxisLabels',
|
|
1356
1374
|
editor: 'editor.checkbox',
|
|
1357
|
-
showEditor: function showEditor(
|
|
1358
|
-
var options =
|
|
1375
|
+
showEditor: function showEditor(_ref3) {
|
|
1376
|
+
var options = _ref3.options;
|
|
1359
1377
|
return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
|
|
1360
1378
|
}
|
|
1361
1379
|
}], [{
|
|
1362
1380
|
label: i18n_1._('SI prefix abbreviation for labels'),
|
|
1363
1381
|
option: 'y2AxisAbbreviation',
|
|
1364
1382
|
editor: 'editor.checkbox',
|
|
1365
|
-
showEditor: function showEditor(
|
|
1366
|
-
var options =
|
|
1383
|
+
showEditor: function showEditor(_ref4) {
|
|
1384
|
+
var options = _ref4.options;
|
|
1367
1385
|
return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
|
|
1368
1386
|
}
|
|
1369
1387
|
}], [{
|
|
@@ -1411,16 +1429,16 @@ var axesChartY2GridAndLabels = {
|
|
|
1411
1429
|
max: 10,
|
|
1412
1430
|
step: 1
|
|
1413
1431
|
},
|
|
1414
|
-
showEditor: function showEditor(
|
|
1415
|
-
var options =
|
|
1432
|
+
showEditor: function showEditor(_ref5) {
|
|
1433
|
+
var options = _ref5.options;
|
|
1416
1434
|
return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
|
|
1417
1435
|
}
|
|
1418
1436
|
}], [{
|
|
1419
1437
|
label: i18n_1._('Major tick interval spacing'),
|
|
1420
1438
|
option: 'y2AxisMajorTickInterval',
|
|
1421
1439
|
editor: 'editor.number',
|
|
1422
|
-
showEditor: function showEditor(
|
|
1423
|
-
var options =
|
|
1440
|
+
showEditor: function showEditor(_ref6) {
|
|
1441
|
+
var options = _ref6.options;
|
|
1424
1442
|
return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
|
|
1425
1443
|
}
|
|
1426
1444
|
}], [{
|
|
@@ -1452,8 +1470,8 @@ var axesChartY2GridAndLabels = {
|
|
|
1452
1470
|
max: 10,
|
|
1453
1471
|
step: 1
|
|
1454
1472
|
},
|
|
1455
|
-
showEditor: function showEditor(
|
|
1456
|
-
var options =
|
|
1473
|
+
showEditor: function showEditor(_ref7) {
|
|
1474
|
+
var options = _ref7.options;
|
|
1457
1475
|
return options.y2AxisMinorTickVisibility === 'show' || options.y2AxisMinorTickVisibility === 'auto' || options.y2AxisMinorTickVisibility === undefined;
|
|
1458
1476
|
}
|
|
1459
1477
|
}]]
|
|
@@ -1977,9 +1995,22 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
|
|
|
1977
1995
|
step: 0.01
|
|
1978
1996
|
}
|
|
1979
1997
|
}], [{
|
|
1980
|
-
label: i18n_1._('Show
|
|
1998
|
+
label: i18n_1._('Show area outlines'),
|
|
1981
1999
|
option: 'showLines',
|
|
1982
2000
|
editor: 'editor.checkbox'
|
|
2001
|
+
}], [{
|
|
2002
|
+
label: i18n_1._('Line width'),
|
|
2003
|
+
option: 'lineWidth',
|
|
2004
|
+
editor: 'editor.slider',
|
|
2005
|
+
editorProps: {
|
|
2006
|
+
min: 0.5,
|
|
2007
|
+
max: 8.0,
|
|
2008
|
+
step: 0.5
|
|
2009
|
+
},
|
|
2010
|
+
showEditor: function showEditor(_ref) {
|
|
2011
|
+
var options = _ref.options;
|
|
2012
|
+
return Array.isArray(options.overlayFields) && options.overlayFields.length > 0;
|
|
2013
|
+
}
|
|
1983
2014
|
}], [{
|
|
1984
2015
|
label: i18n_1._('Annotation colors'),
|
|
1985
2016
|
option: 'annotationColor',
|
|
@@ -2013,8 +2044,8 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
|
|
|
2013
2044
|
}],
|
|
2014
2045
|
tooltip: i18n_1._('Legend mode must be "Standard" to configure legend display')
|
|
2015
2046
|
},
|
|
2016
|
-
isDisabled: function isDisabled(
|
|
2017
|
-
var options =
|
|
2047
|
+
isDisabled: function isDisabled(_ref2) {
|
|
2048
|
+
var options = _ref2.options;
|
|
2018
2049
|
return options.legendMode === 'seriesCompare';
|
|
2019
2050
|
}
|
|
2020
2051
|
}], [{
|
|
@@ -2036,8 +2067,8 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
|
|
|
2036
2067
|
value: 'ellipsisOff'
|
|
2037
2068
|
}]
|
|
2038
2069
|
},
|
|
2039
|
-
showEditor: function showEditor(
|
|
2040
|
-
var options =
|
|
2070
|
+
showEditor: function showEditor(_ref3) {
|
|
2071
|
+
var options = _ref3.options;
|
|
2041
2072
|
return options.legendDisplay === 'left' || options.legendDisplay === 'right' || options.legendDisplay === 'top' || options.legendDisplay === 'bottom' || options.legendDisplay === undefined;
|
|
2042
2073
|
}
|
|
2043
2074
|
}], [{
|
|
@@ -2053,8 +2084,8 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
|
|
|
2053
2084
|
value: 'seriesCompare'
|
|
2054
2085
|
}]
|
|
2055
2086
|
},
|
|
2056
|
-
showEditor: function showEditor(
|
|
2057
|
-
var options =
|
|
2087
|
+
showEditor: function showEditor(_ref4) {
|
|
2088
|
+
var options = _ref4.options;
|
|
2058
2089
|
return options.legendDisplay === 'left' || options.legendDisplay === 'right' || options.legendDisplay === 'top' || options.legendDisplay === 'bottom' || options.legendDisplay === undefined;
|
|
2059
2090
|
}
|
|
2060
2091
|
}]]
|