@splunk/visualizations 25.1.0 → 25.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/.loki/reference/chrome_docker_PureVisualizations_PureEvents_Background_Color_Red.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_Basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Actions_Simulated_Instance.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Actions_for_Numeric_Field_Simulated_Instance.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Dark.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Light.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Background_color_cyan.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_after_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueIcon_Unit_specified_Unit_Position_before.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Background_Color_white_Under_Label_and_Unit_specified.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Value_is_null.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_after_default.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Unit_specified_Unit_Position_before.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_Events_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/.loki/reference/chrome_docker_Visualizations_Events_Events_Background_Color_Light_Blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Basic_Events.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Event_Actions.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Actions.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary_Simulated_Instance.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields_with_Highlight.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Show_Placeholder.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Value_Highlighting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Percentage_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_With_Options.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_ES.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Background_Color_af575a.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Markdown_with_number_as_DSL.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_Unit_value_after.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Set_Unit_value_before.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Set_The_Unit_After.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Set_The_Unit_Before.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_Unit_Value_After.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_Unit_Value_Before.png +0 -0
- package/Area.config.js +72 -22
- package/Area.config.js.map +1 -1
- package/Area.js +246 -185
- package/Area.js.map +1 -1
- package/Bar.config.js +17 -17
- package/Bar.config.js.map +1 -1
- package/Bar.js +191 -180
- package/Bar.js.map +1 -1
- package/Bubble.config.js +21 -14
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +193 -175
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +6 -6
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +180 -170
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +17 -17
- package/Column.config.js.map +1 -1
- package/Column.js +190 -180
- package/Column.js.map +1 -1
- package/Ellipse.config.js +3 -3
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +144 -134
- package/Ellipse.js.map +1 -1
- package/Events.config.js +664 -0
- package/Events.config.js.map +1 -0
- package/Events.js +3114 -0
- package/Events.js.map +1 -0
- package/FillerGauge.config.js +20 -19
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +183 -166
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +5 -5
- package/Image.config.js.map +1 -1
- package/Image.js +128 -128
- package/Image.js.map +1 -1
- package/Line.config.js +73 -22
- package/Line.config.js.map +1 -1
- package/Line.js +253 -186
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +15 -8
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +25270 -434
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +30 -29
- package/Map.config.js.map +1 -1
- package/Map.js +3064 -3125
- package/Map.js.map +1 -1
- package/Markdown.config.js +32 -10
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +576 -529
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +16 -16
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1287 -1287
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +14 -14
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +532 -639
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +16 -16
- package/Pie.config.js.map +1 -1
- package/Pie.js +1205 -1205
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +14 -14
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +2584 -2700
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +7 -7
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +726 -726
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +18 -18
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +3132 -3253
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +24 -16
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +1402 -1395
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +11 -10
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +2208 -2208
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +32 -32
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +11 -10
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +825 -966
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +11 -10
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +1897 -1897
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +7 -7
- package/Table.config.js.map +1 -1
- package/Table.js +2158 -2155
- package/Table.js.map +1 -1
- package/common/EventsDoc.js +15 -8
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +2 -2
- package/common/GaugeValueMarker.js +2 -2
- package/common/OptionsDoc.js +8 -8
- package/common/OptionsDoc.js.map +1 -1
- package/common/ThemesDoc.js +2 -2
- package/common/utils/configUtils.js +3 -3
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +136 -0
- package/common/utils/dataUtils.js.map +1 -0
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/mapUtils.js +11 -10
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +3 -2
- 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 +2 -2
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +15 -13
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Dark.png
ADDED
|
Binary file
|
package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Light.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValue_Major_Value_is_null.png
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png
CHANGED
|
Binary file
|
package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png
CHANGED
|
Binary file
|
|
Binary file
|
package/.loki/reference/chrome_docker_Visualizations_Events_Events_Background_Color_Light_Blue.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields_with_Highlight.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Background_Color_af575a.png
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png
CHANGED
|
Binary file
|
|
Binary file
|
package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Area.config.js
CHANGED
|
@@ -254,7 +254,7 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
254
254
|
*/
|
|
255
255
|
|
|
256
256
|
function enhanceConfig(vizConfig) {
|
|
257
|
-
var enhancedConfig = vizConfig;
|
|
257
|
+
var enhancedConfig = Object.assign({}, vizConfig);
|
|
258
258
|
|
|
259
259
|
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
260
260
|
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
@@ -262,7 +262,7 @@ function enhanceConfig(vizConfig) {
|
|
|
262
262
|
|
|
263
263
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
264
264
|
return Object.assign(Object.assign({}, config), {
|
|
265
|
-
open: false
|
|
265
|
+
open: config.open || false
|
|
266
266
|
});
|
|
267
267
|
});
|
|
268
268
|
return enhancedConfig;
|
|
@@ -277,7 +277,7 @@ exports.enhanceConfig = enhanceConfig;
|
|
|
277
277
|
*/
|
|
278
278
|
|
|
279
279
|
function uncollapseEditorConfig(vizConfig) {
|
|
280
|
-
var editorPanelUncollapsedConfig = vizConfig;
|
|
280
|
+
var editorPanelUncollapsedConfig = Object.assign({}, vizConfig);
|
|
281
281
|
editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
282
282
|
return Object.assign(Object.assign({}, config), {
|
|
283
283
|
open: true
|
|
@@ -448,12 +448,6 @@ module.exports = require("@splunk/visualization-icons");
|
|
|
448
448
|
|
|
449
449
|
/***/ }),
|
|
450
450
|
/* 13 */
|
|
451
|
-
/***/ (function(module, exports) {
|
|
452
|
-
|
|
453
|
-
module.exports = require("@splunk/visualization-color-palettes");
|
|
454
|
-
|
|
455
|
-
/***/ }),
|
|
456
|
-
/* 14 */
|
|
457
451
|
/***/ (function(module, exports, __webpack_require__) {
|
|
458
452
|
|
|
459
453
|
"use strict";
|
|
@@ -482,6 +476,12 @@ var background = function background(_ref) {
|
|
|
482
476
|
|
|
483
477
|
exports.default = background;
|
|
484
478
|
|
|
479
|
+
/***/ }),
|
|
480
|
+
/* 14 */
|
|
481
|
+
/***/ (function(module, exports) {
|
|
482
|
+
|
|
483
|
+
module.exports = require("@splunk/visualization-color-palettes");
|
|
484
|
+
|
|
485
485
|
/***/ }),
|
|
486
486
|
/* 15 */,
|
|
487
487
|
/* 16 */
|
|
@@ -619,7 +619,7 @@ var pick_1 = __webpack_require__(9);
|
|
|
619
619
|
|
|
620
620
|
var variables_1 = __webpack_require__(10);
|
|
621
621
|
|
|
622
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
622
|
+
var BackgroundColor_1 = __webpack_require__(13);
|
|
623
623
|
|
|
624
624
|
var themes = {
|
|
625
625
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
@@ -859,7 +859,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
859
859
|
}])), [[{
|
|
860
860
|
label: i18n_1._('Label rotation'),
|
|
861
861
|
option: 'xAxisLabelRotation',
|
|
862
|
-
editor: 'editor.
|
|
862
|
+
editor: 'editor.select',
|
|
863
863
|
editorProps: {
|
|
864
864
|
values: [{
|
|
865
865
|
label: i18n_1._('-90'),
|
|
@@ -1163,7 +1163,8 @@ var AxesChartYGridAndLabels = {
|
|
|
1163
1163
|
exports.default = AxesChartYGridAndLabels;
|
|
1164
1164
|
|
|
1165
1165
|
/***/ }),
|
|
1166
|
-
/* 21
|
|
1166
|
+
/* 21 */,
|
|
1167
|
+
/* 22 */
|
|
1167
1168
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1168
1169
|
|
|
1169
1170
|
"use strict";
|
|
@@ -1294,7 +1295,7 @@ exports.AxesChartDataDisplayColumn = {
|
|
|
1294
1295
|
exports.default = AxesChartDataDisplay;
|
|
1295
1296
|
|
|
1296
1297
|
/***/ }),
|
|
1297
|
-
/*
|
|
1298
|
+
/* 23 */
|
|
1298
1299
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1299
1300
|
|
|
1300
1301
|
"use strict";
|
|
@@ -1460,7 +1461,6 @@ var axesChartY2GridAndLabels = {
|
|
|
1460
1461
|
exports.default = axesChartY2GridAndLabels;
|
|
1461
1462
|
|
|
1462
1463
|
/***/ }),
|
|
1463
|
-
/* 23 */,
|
|
1464
1464
|
/* 24 */,
|
|
1465
1465
|
/* 25 */,
|
|
1466
1466
|
/* 26 */,
|
|
@@ -1493,7 +1493,7 @@ var placeholders_1 = __webpack_require__(11);
|
|
|
1493
1493
|
|
|
1494
1494
|
var schemaUtils_1 = __webpack_require__(3);
|
|
1495
1495
|
|
|
1496
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
1496
|
+
var visualization_color_palettes_1 = __webpack_require__(14);
|
|
1497
1497
|
|
|
1498
1498
|
var i18n_1 = __webpack_require__(0);
|
|
1499
1499
|
|
|
@@ -1509,7 +1509,7 @@ var configUtils_1 = __webpack_require__(4);
|
|
|
1509
1509
|
|
|
1510
1510
|
var AxesChartDataConfig_1 = __webpack_require__(16);
|
|
1511
1511
|
|
|
1512
|
-
var AxesChartDataDisplay_1 = __webpack_require__(
|
|
1512
|
+
var AxesChartDataDisplay_1 = __webpack_require__(22);
|
|
1513
1513
|
|
|
1514
1514
|
var AxesChartColorAndStyle_1 = __webpack_require__(17);
|
|
1515
1515
|
|
|
@@ -1519,7 +1519,7 @@ var AxesChartXGridAndLabels_1 = __webpack_require__(19);
|
|
|
1519
1519
|
|
|
1520
1520
|
var AxesChartYGridAndLabels_1 = __webpack_require__(20);
|
|
1521
1521
|
|
|
1522
|
-
var AxesChartY2GridAndLabels_1 = __webpack_require__(
|
|
1522
|
+
var AxesChartY2GridAndLabels_1 = __webpack_require__(23);
|
|
1523
1523
|
|
|
1524
1524
|
var dataContract = {
|
|
1525
1525
|
requiredDataSources: [{
|
|
@@ -1620,7 +1620,7 @@ var optionsSchema = {
|
|
|
1620
1620
|
},
|
|
1621
1621
|
legendDisplay: {
|
|
1622
1622
|
default: 'right',
|
|
1623
|
-
description: 'Specify the location of the legend on the panel.',
|
|
1623
|
+
description: 'Specify the location of the legend on the panel. You must select the Standard legend mode to make this change.',
|
|
1624
1624
|
pattern: schemaUtils_1.getPattern(['right', 'left', 'top', 'bottom', 'off']),
|
|
1625
1625
|
type: 'string'
|
|
1626
1626
|
},
|
|
@@ -1990,7 +1990,57 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
|
|
|
1990
1990
|
}]])
|
|
1991
1991
|
}, {
|
|
1992
1992
|
label: AxesChartLegend_1.default.label,
|
|
1993
|
-
layout: [
|
|
1993
|
+
layout: [[{
|
|
1994
|
+
label: i18n_1._('Legend display'),
|
|
1995
|
+
option: 'legendDisplay',
|
|
1996
|
+
editor: 'editor.select',
|
|
1997
|
+
editorProps: {
|
|
1998
|
+
values: [{
|
|
1999
|
+
label: i18n_1._('Right'),
|
|
2000
|
+
value: 'right'
|
|
2001
|
+
}, {
|
|
2002
|
+
label: i18n_1._('Left'),
|
|
2003
|
+
value: 'left'
|
|
2004
|
+
}, {
|
|
2005
|
+
label: i18n_1._('Top'),
|
|
2006
|
+
value: 'top'
|
|
2007
|
+
}, {
|
|
2008
|
+
label: i18n_1._('Bottom'),
|
|
2009
|
+
value: 'bottom'
|
|
2010
|
+
}, {
|
|
2011
|
+
label: i18n_1._('Off'),
|
|
2012
|
+
value: 'off'
|
|
2013
|
+
}],
|
|
2014
|
+
tooltip: i18n_1._('Legend mode must be "Standard" to configure legend display')
|
|
2015
|
+
},
|
|
2016
|
+
isDisabled: function isDisabled(_ref) {
|
|
2017
|
+
var options = _ref.options;
|
|
2018
|
+
return options.legendMode === 'seriesCompare';
|
|
2019
|
+
}
|
|
2020
|
+
}], [{
|
|
2021
|
+
label: i18n_1._('Legend truncation'),
|
|
2022
|
+
option: 'legendTruncation',
|
|
2023
|
+
editor: 'editor.radioBar',
|
|
2024
|
+
editorProps: {
|
|
2025
|
+
values: [{
|
|
2026
|
+
label: i18n_1._('A...'),
|
|
2027
|
+
value: 'ellipsisEnd'
|
|
2028
|
+
}, {
|
|
2029
|
+
label: i18n_1._('A...Z'),
|
|
2030
|
+
value: 'ellipsisMiddle'
|
|
2031
|
+
}, {
|
|
2032
|
+
label: i18n_1._('...Z'),
|
|
2033
|
+
value: 'ellipsisStart'
|
|
2034
|
+
}, {
|
|
2035
|
+
label: i18n_1._('Off'),
|
|
2036
|
+
value: 'ellipsisOff'
|
|
2037
|
+
}]
|
|
2038
|
+
},
|
|
2039
|
+
showEditor: function showEditor(_ref2) {
|
|
2040
|
+
var options = _ref2.options;
|
|
2041
|
+
return options.legendDisplay === 'left' || options.legendDisplay === 'right' || options.legendDisplay === 'top' || options.legendDisplay === 'bottom' || options.legendDisplay === undefined;
|
|
2042
|
+
}
|
|
2043
|
+
}], [{
|
|
1994
2044
|
label: i18n_1._('Legend mode'),
|
|
1995
2045
|
option: 'legendMode',
|
|
1996
2046
|
editor: 'editor.radioBar',
|
|
@@ -2003,11 +2053,11 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
|
|
|
2003
2053
|
value: 'seriesCompare'
|
|
2004
2054
|
}]
|
|
2005
2055
|
},
|
|
2006
|
-
showEditor: function showEditor(
|
|
2007
|
-
var options =
|
|
2056
|
+
showEditor: function showEditor(_ref3) {
|
|
2057
|
+
var options = _ref3.options;
|
|
2008
2058
|
return options.legendDisplay === 'left' || options.legendDisplay === 'right' || options.legendDisplay === 'top' || options.legendDisplay === 'bottom' || options.legendDisplay === undefined;
|
|
2009
2059
|
}
|
|
2010
|
-
}]]
|
|
2060
|
+
}]]
|
|
2011
2061
|
}, AxesChartXGridAndLabels_1.default, AxesChartYGridAndLabels_1.default, AxesChartY2GridAndLabels_1.default];
|
|
2012
2062
|
/**
|
|
2013
2063
|
* visualization configuration
|