@splunk/visualizations 23.2.0 → 23.5.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.
Files changed (132) hide show
  1. package/Area.config.js +36 -30
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +243 -203
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +29 -23
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +233 -193
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +36 -23
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +247 -196
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +15 -12
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +201 -148
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +29 -23
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +235 -194
  20. package/Column.js.map +1 -1
  21. package/Ellipse.config.js +23 -20
  22. package/Ellipse.config.js.map +1 -1
  23. package/Ellipse.js +176 -123
  24. package/Ellipse.js.map +1 -1
  25. package/FillerGauge.config.js +803 -0
  26. package/FillerGauge.config.js.map +1 -0
  27. package/FillerGauge.js +3634 -0
  28. package/FillerGauge.js.map +1 -0
  29. package/Image.config.js +13 -6
  30. package/Image.config.js.map +1 -1
  31. package/Image.js +260 -200
  32. package/Image.js.map +1 -1
  33. package/LICENSE.md +14 -0
  34. package/Line.config.js +40 -31
  35. package/Line.config.js.map +1 -1
  36. package/Line.js +248 -202
  37. package/Line.js.map +1 -1
  38. package/LinkGraph.config.js +107 -123
  39. package/LinkGraph.config.js.map +1 -1
  40. package/LinkGraph.js +241 -193
  41. package/LinkGraph.js.map +1 -1
  42. package/Markdown.config.js +95 -3
  43. package/Markdown.config.js.map +1 -1
  44. package/Markdown.js +272 -118
  45. package/Markdown.js.map +1 -1
  46. package/MarkerGauge.config.js +750 -0
  47. package/MarkerGauge.config.js.map +1 -0
  48. package/MarkerGauge.js +3758 -0
  49. package/MarkerGauge.js.map +1 -0
  50. package/ParallelCoordinates.config.js +52 -46
  51. package/ParallelCoordinates.config.js.map +1 -1
  52. package/ParallelCoordinates.js +257 -164
  53. package/ParallelCoordinates.js.map +1 -1
  54. package/Pie.config.js +61 -46
  55. package/Pie.config.js.map +1 -1
  56. package/Pie.js +254 -186
  57. package/Pie.js.map +1 -1
  58. package/Punchcard.config.js +279 -39
  59. package/Punchcard.config.js.map +1 -1
  60. package/Punchcard.js +825 -193
  61. package/Punchcard.js.map +1 -1
  62. package/README.external.md +45 -0
  63. package/README.md +18 -3
  64. package/Rectangle.config.js +89 -107
  65. package/Rectangle.config.js.map +1 -1
  66. package/Rectangle.js +204 -145
  67. package/Rectangle.js.map +1 -1
  68. package/Sankey.config.js +29 -22
  69. package/Sankey.config.js.map +1 -1
  70. package/Sankey.js +250 -186
  71. package/Sankey.js.map +1 -1
  72. package/Scatter.config.js +39 -28
  73. package/Scatter.config.js.map +1 -1
  74. package/Scatter.js +2375 -2434
  75. package/Scatter.js.map +1 -1
  76. package/SingleValue.config.js +37 -29
  77. package/SingleValue.config.js.map +1 -1
  78. package/SingleValue.js +3108 -3174
  79. package/SingleValue.js.map +1 -1
  80. package/SingleValueBasic.js +37 -23
  81. package/SingleValueBasic.js.map +1 -1
  82. package/SingleValueIcon.config.js +36 -28
  83. package/SingleValueIcon.config.js.map +1 -1
  84. package/SingleValueIcon.js +279 -210
  85. package/SingleValueIcon.js.map +1 -1
  86. package/SingleValueRadial.config.js +15 -13
  87. package/SingleValueRadial.config.js.map +1 -1
  88. package/SingleValueRadial.js +299 -253
  89. package/SingleValueRadial.js.map +1 -1
  90. package/Table.config.js +26 -10
  91. package/Table.config.js.map +1 -1
  92. package/Table.js +382 -265
  93. package/Table.js.map +1 -1
  94. package/common/Charting.js +33 -30
  95. package/common/Charting.js.map +1 -1
  96. package/common/ChartingApi.js +4 -4
  97. package/common/ChartingApi.js.map +1 -1
  98. package/common/EventsDoc.js +36 -34
  99. package/common/EventsDoc.js.map +1 -1
  100. package/common/GaugeMajorTicks.js +386 -0
  101. package/common/GaugeMajorTicks.js.map +1 -0
  102. package/common/GaugeValueMarker.js +333 -0
  103. package/common/GaugeValueMarker.js.map +1 -0
  104. package/common/OptionsDoc.js +47 -33
  105. package/common/OptionsDoc.js.map +1 -1
  106. package/common/OverviewDoc.js +376 -0
  107. package/common/OverviewDoc.js.map +1 -0
  108. package/common/SplunkVisualization.js +6 -6
  109. package/common/SplunkVisualization.js.map +1 -1
  110. package/common/SplunkVisualizationApi.js +10 -10
  111. package/common/SplunkVisualizationApi.js.map +1 -1
  112. package/common/ThemesDoc.js +55 -72
  113. package/common/ThemesDoc.js.map +1 -1
  114. package/common/chartingUtils.js +15 -13
  115. package/common/chartingUtils.js.map +1 -1
  116. package/common/docUtils.js +4 -4
  117. package/common/docUtils.js.map +1 -1
  118. package/common/gaugeUtils.js +893 -0
  119. package/common/gaugeUtils.js.map +1 -0
  120. package/common/shapeUtils.js +8 -8
  121. package/common/shapeUtils.js.map +1 -1
  122. package/common/utils/JSONSchemaUtils.js.map +1 -1
  123. package/common/utils/configUtils.js.map +1 -1
  124. package/common/utils/hocUtils.js +57 -3
  125. package/common/utils/hocUtils.js.map +1 -1
  126. package/common/utils/singleValueUtils.js +24 -10
  127. package/common/utils/singleValueUtils.js.map +1 -1
  128. package/common/withDashboardViz.js +158 -95
  129. package/common/withDashboardViz.js.map +1 -1
  130. package/package.json +18 -14
  131. package/common/utils/eventUtils.js +0 -115
  132. package/common/utils/eventUtils.js.map +0 -1
package/Bubble.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 = 137);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 141);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
@@ -170,6 +170,77 @@ module.exports = require("@babel/runtime/helpers/defineProperty");
170
170
  "use strict";
171
171
 
172
172
 
173
+ var _typeof = __webpack_require__(22);
174
+
175
+ Object.defineProperty(exports, "__esModule", {
176
+ value: true
177
+ });
178
+ exports.deepMergeWithArrayOverrides = exports.extendStaticWrapperProps = void 0;
179
+
180
+ var lodash_1 = __webpack_require__(2);
181
+ /**
182
+ * @method extendStaticWrapperProps
183
+ * @param {Object} props
184
+ * @param {DashboardVizType} props.Wrapper
185
+ * @param {DashboardVizType} props.Visualization
186
+ */
187
+
188
+
189
+ var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
190
+ var Wrapper = _ref.Wrapper,
191
+ Visualization = _ref.Visualization;
192
+ var extendProperties = ['propTypes', 'defaultProps', 'config'];
193
+ extendProperties.forEach(function (prop) {
194
+ if (Visualization[prop]) {
195
+ Wrapper[prop] = Visualization[prop];
196
+ }
197
+ });
198
+ };
199
+
200
+ exports.extendStaticWrapperProps = extendStaticWrapperProps;
201
+ /**
202
+ * helper to deeply merge objects while preserving arrays in earlier source objects
203
+ * deeply nested primitive keys are merged similarly to lodash's defaultsDeep, while keys with arrays will be preserved if already present in the resultant merged object
204
+ * this prevents default arrays from appending values to user-defined arrays (this occurs if the default array is longer than the user-defined one)
205
+ *
206
+ * @method deepMergeWithArrayOverrides
207
+ * @param {Object} initial - target object to merge values into
208
+ * @param {Object[]} sources - other default options to be merged into the resultant object if no explicit value is provided, with earlier args taking precedence over later ones
209
+ *
210
+ * @returns {Object}
211
+ */
212
+
213
+ var deepMergeWithArrayOverrides = function deepMergeWithArrayOverrides(initial) {
214
+ var clone = lodash_1.cloneDeep(initial);
215
+
216
+ for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
217
+ sources[_key - 1] = arguments[_key];
218
+ }
219
+
220
+ sources.forEach(function (sourceToApply) {
221
+ Object.keys(sourceToApply).forEach(function (sourceKey) {
222
+ if (!clone.hasOwnProperty(sourceKey)) {
223
+ clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
224
+ } // object merging excluding arrays
225
+
226
+
227
+ if (clone[sourceKey] && _typeof(clone[sourceKey]) === 'object' && !Array.isArray(clone[sourceKey]) && _typeof(sourceToApply[sourceKey]) === 'object') {
228
+ clone[sourceKey] = exports.deepMergeWithArrayOverrides(clone[sourceKey], sourceToApply[sourceKey]);
229
+ }
230
+ });
231
+ });
232
+ return clone;
233
+ };
234
+
235
+ exports.deepMergeWithArrayOverrides = deepMergeWithArrayOverrides;
236
+
237
+ /***/ }),
238
+ /* 8 */
239
+ /***/ (function(module, exports, __webpack_require__) {
240
+
241
+ "use strict";
242
+
243
+
173
244
  var _defineProperty = __webpack_require__(6);
174
245
 
175
246
  var __rest = this && this.__rest || function (s, e) {
@@ -355,25 +426,25 @@ function generatePrecisionValues(numPrecisionValues) {
355
426
  exports.generatePrecisionValues = generatePrecisionValues;
356
427
 
357
428
  /***/ }),
358
- /* 8 */
429
+ /* 9 */
359
430
  /***/ (function(module, exports) {
360
431
 
361
432
  module.exports = require("@splunk/visualizations-shared/Message");
362
433
 
363
434
  /***/ }),
364
- /* 9 */
435
+ /* 10 */
365
436
  /***/ (function(module, exports) {
366
437
 
367
438
  module.exports = require("@babel/runtime/helpers/classCallCheck");
368
439
 
369
440
  /***/ }),
370
- /* 10 */
441
+ /* 11 */
371
442
  /***/ (function(module, exports) {
372
443
 
373
444
  module.exports = require("@splunk/visualizations-shared/colorUtils");
374
445
 
375
446
  /***/ }),
376
- /* 11 */
447
+ /* 12 */
377
448
  /***/ (function(module, exports, __webpack_require__) {
378
449
 
379
450
  "use strict";
@@ -387,11 +458,11 @@ var React = __webpack_require__(1);
387
458
 
388
459
  var styled_components_1 = __webpack_require__(4);
389
460
 
390
- var SizeAwareWrapper_1 = __webpack_require__(18);
461
+ var SizeAwareWrapper_1 = __webpack_require__(17);
391
462
 
392
463
  var style_1 = __webpack_require__(13);
393
464
 
394
- var colorUtils_1 = __webpack_require__(10);
465
+ var colorUtils_1 = __webpack_require__(11);
395
466
 
396
467
  var Item = styled_components_1.default.div.attrs(function (_ref) {
397
468
  var width = _ref.width;
@@ -467,37 +538,6 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
467
538
 
468
539
  exports.default = withFixedSizeContainer;
469
540
 
470
- /***/ }),
471
- /* 12 */
472
- /***/ (function(module, exports, __webpack_require__) {
473
-
474
- "use strict";
475
-
476
-
477
- Object.defineProperty(exports, "__esModule", {
478
- value: true
479
- });
480
- exports.extendStaticWrapperProps = void 0;
481
- /**
482
- * @method extendStaticWrapperProps
483
- * @param {Object} props
484
- * @param {DashboardVizType} props.Wrapper
485
- * @param {DashboardVizType} props.Visualization
486
- */
487
-
488
- var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
489
- var Wrapper = _ref.Wrapper,
490
- Visualization = _ref.Visualization;
491
- var extendProperties = ['propTypes', 'defaultProps', 'config'];
492
- extendProperties.forEach(function (prop) {
493
- if (Visualization[prop]) {
494
- Wrapper[prop] = Visualization[prop];
495
- }
496
- });
497
- };
498
-
499
- exports.extendStaticWrapperProps = extendStaticWrapperProps;
500
-
501
541
  /***/ }),
502
542
  /* 13 */
503
543
  /***/ (function(module, exports) {
@@ -515,19 +555,19 @@ module.exports = require("@splunk/visualizations-shared/schemaUtils");
515
555
  /* 16 */
516
556
  /***/ (function(module, exports) {
517
557
 
518
- module.exports = require("@splunk/visualizations-shared/propUtils");
558
+ module.exports = require("@babel/runtime/helpers/createClass");
519
559
 
520
560
  /***/ }),
521
561
  /* 17 */
522
562
  /***/ (function(module, exports) {
523
563
 
524
- module.exports = require("@babel/runtime/helpers/createClass");
564
+ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
525
565
 
526
566
  /***/ }),
527
567
  /* 18 */
528
568
  /***/ (function(module, exports) {
529
569
 
530
- module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
570
+ module.exports = require("@splunk/visualizations-shared/propUtils");
531
571
 
532
572
  /***/ }),
533
573
  /* 19 */
@@ -536,13 +576,20 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
536
576
  module.exports = require("@splunk/themes/variables");
537
577
 
538
578
  /***/ }),
539
- /* 20 */
579
+ /* 20 */,
580
+ /* 21 */
540
581
  /***/ (function(module, exports) {
541
582
 
542
583
  module.exports = require("@splunk/themes/pick");
543
584
 
544
585
  /***/ }),
545
- /* 21 */
586
+ /* 22 */
587
+ /***/ (function(module, exports) {
588
+
589
+ module.exports = require("@babel/runtime/helpers/typeof");
590
+
591
+ /***/ }),
592
+ /* 23 */
546
593
  /***/ (function(module, exports, __webpack_require__) {
547
594
 
548
595
  "use strict";
@@ -559,7 +606,7 @@ var T = __webpack_require__(0);
559
606
 
560
607
  var lodash_1 = __webpack_require__(2);
561
608
 
562
- var DataSource_1 = __webpack_require__(31);
609
+ var DataSource_1 = __webpack_require__(33);
563
610
 
564
611
  exports.SortParamsPropTypes = T.shape({
565
612
  currentSortKey: T.string,
@@ -612,7 +659,7 @@ var getSortingParams = function getSortingParams(_ref) {
612
659
  exports.getSortingParams = getSortingParams;
613
660
 
614
661
  /***/ }),
615
- /* 22 */
662
+ /* 24 */
616
663
  /***/ (function(module, exports, __webpack_require__) {
617
664
 
618
665
  "use strict";
@@ -676,7 +723,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
676
723
  exports.getPaginationParams = getPaginationParams;
677
724
 
678
725
  /***/ }),
679
- /* 23 */
726
+ /* 25 */
680
727
  /***/ (function(module, exports, __webpack_require__) {
681
728
 
682
729
  "use strict";
@@ -695,9 +742,9 @@ var lodash_1 = __webpack_require__(2);
695
742
 
696
743
  var i18n_1 = __webpack_require__(3);
697
744
 
698
- var Message_1 = __webpack_require__(8);
745
+ var Message_1 = __webpack_require__(9);
699
746
 
700
- var FixedSizeContainer_1 = __webpack_require__(11);
747
+ var FixedSizeContainer_1 = __webpack_require__(12);
701
748
  /**
702
749
  * @method shouldShowIconPlaceholder
703
750
  * @param {object} dataSources
@@ -763,7 +810,7 @@ IconPlaceholder.defaultProps = {
763
810
  exports.default = FixedSizeContainer_1.default(IconPlaceholder);
764
811
 
765
812
  /***/ }),
766
- /* 24 */
813
+ /* 26 */
767
814
  /***/ (function(module, exports, __webpack_require__) {
768
815
 
769
816
  "use strict";
@@ -786,10 +833,12 @@ var VizCategory;
786
833
  VizCategory["SHAPES"] = "Shapes";
787
834
  VizCategory["MISC"] = "misc";
788
835
  VizCategory["FLOW"] = "Flow";
836
+ VizCategory["CORRELATION"] = "Correlation";
837
+ VizCategory["SPATIAL"] = "Spatial";
789
838
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
790
839
 
791
840
  /***/ }),
792
- /* 25 */
841
+ /* 27 */
793
842
  /***/ (function(module, exports, __webpack_require__) {
794
843
 
795
844
  "use strict";
@@ -803,31 +852,33 @@ var React = __webpack_require__(1);
803
852
 
804
853
  var lodash_1 = __webpack_require__(2);
805
854
 
806
- var getSettingsFromThemedProps_1 = __webpack_require__(26);
807
-
808
- var Options_1 = __webpack_require__(27);
855
+ var getSettingsFromThemedProps_1 = __webpack_require__(28);
809
856
 
810
- var SanitizeProps_1 = __webpack_require__(28);
857
+ var Options_1 = __webpack_require__(29);
811
858
 
812
- var SplunkVisualization_1 = __webpack_require__(29);
859
+ var SanitizeProps_1 = __webpack_require__(30);
813
860
 
814
861
  var styled_components_1 = __webpack_require__(4);
815
862
 
863
+ var SplunkVisualization_1 = __webpack_require__(31);
864
+
816
865
  var VizBehavior_1 = __webpack_require__(5);
817
866
 
818
- var getSorting_1 = __webpack_require__(21);
867
+ var getSorting_1 = __webpack_require__(23);
819
868
 
820
- var getPagination_1 = __webpack_require__(22);
869
+ var getPagination_1 = __webpack_require__(24);
821
870
 
822
- var useDeepMemo_1 = __webpack_require__(32);
871
+ var useDeepMemo_1 = __webpack_require__(34);
823
872
 
824
- var JSONSchemaUtils_1 = __webpack_require__(33);
873
+ var JSONSchemaUtils_1 = __webpack_require__(35);
825
874
 
826
- var MissingPropsMessage_1 = __webpack_require__(34);
875
+ var MissingPropsMessage_1 = __webpack_require__(36);
827
876
 
828
- var withEditModeCover_1 = __webpack_require__(35);
877
+ var withEditModeCover_1 = __webpack_require__(37);
829
878
 
830
- var withPlaceholder_1 = __webpack_require__(36);
879
+ var withPlaceholder_1 = __webpack_require__(38);
880
+
881
+ var hocUtils_1 = __webpack_require__(7);
831
882
  /**
832
883
  * hoc that wraps a pure react visualization in a Dashboard visualization
833
884
  * @param {DashboardVizOpts} opts
@@ -880,7 +931,7 @@ var withDashboardViz = function withDashboardViz(opts) {
880
931
  try {
881
932
  return Options_1.Options.evaluate({
882
933
  context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
883
- options: lodash_1.defaultsDeep({}, options, defaultOptions)
934
+ options: hocUtils_1.deepMergeWithArrayOverrides({}, options, defaultOptions)
884
935
  }, dataSources, themeFunc);
885
936
  } catch (e) {
886
937
  console.error("unexpected error evaluating options: + ".concat(e.message));
@@ -891,7 +942,7 @@ var withDashboardViz = function withDashboardViz(opts) {
891
942
 
892
943
  React.useEffect(function () {
893
944
  onComputedProps(evaluatedOptions);
894
- }); //present warning message if any required props are missing
945
+ }); // present warning message if any required props are missing
895
946
 
896
947
  var _vizConfig$requiredPr = vizConfig.requiredProps,
897
948
  requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
@@ -914,7 +965,7 @@ var withDashboardViz = function withDashboardViz(opts) {
914
965
  if (hasEventHandlers && mode === 'view' && vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.EVENTS) > -1) {
915
966
  var supportedEvents = vizConfig.events;
916
967
  Object.keys(supportedEvents).forEach(function (eventName) {
917
- var eventCallbackPropName = lodash_1.camelCase('on.' + eventName);
968
+ var eventCallbackPropName = lodash_1.camelCase("on.".concat(eventName));
918
969
  eventCallbackProps[eventCallbackPropName] = null; // todo: refactor single value and single value icon to send payload from viz
919
970
  // then remove these lines
920
971
 
@@ -1009,31 +1060,31 @@ var withDashboardViz = function withDashboardViz(opts) {
1009
1060
  exports.default = withDashboardViz;
1010
1061
 
1011
1062
  /***/ }),
1012
- /* 26 */
1063
+ /* 28 */
1013
1064
  /***/ (function(module, exports) {
1014
1065
 
1015
1066
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1016
1067
 
1017
1068
  /***/ }),
1018
- /* 27 */
1069
+ /* 29 */
1019
1070
  /***/ (function(module, exports) {
1020
1071
 
1021
1072
  module.exports = require("@splunk/visualization-encoding/Options");
1022
1073
 
1023
1074
  /***/ }),
1024
- /* 28 */
1075
+ /* 30 */
1025
1076
  /***/ (function(module, exports) {
1026
1077
 
1027
1078
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
1028
1079
 
1029
1080
  /***/ }),
1030
- /* 29 */
1081
+ /* 31 */
1031
1082
  /***/ (function(module, exports, __webpack_require__) {
1032
1083
 
1033
1084
  "use strict";
1034
1085
 
1035
1086
 
1036
- var _classCallCheck = __webpack_require__(9);
1087
+ var _classCallCheck = __webpack_require__(10);
1037
1088
 
1038
1089
  Object.defineProperty(exports, "__esModule", {
1039
1090
  value: true
@@ -1045,7 +1096,7 @@ var T = __webpack_require__(0);
1045
1096
 
1046
1097
  var lodash_1 = __webpack_require__(2);
1047
1098
 
1048
- var VizActionHandler_1 = __webpack_require__(30); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1099
+ var VizActionHandler_1 = __webpack_require__(32); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1049
1100
 
1050
1101
 
1051
1102
  exports.INITIAL_WIDTH = 250;
@@ -1178,15 +1229,15 @@ SplunkVisualization.defaultProps = {
1178
1229
  exports.default = SplunkVisualization;
1179
1230
 
1180
1231
  /***/ }),
1181
- /* 30 */
1232
+ /* 32 */
1182
1233
  /***/ (function(module, exports, __webpack_require__) {
1183
1234
 
1184
1235
  "use strict";
1185
1236
 
1186
1237
 
1187
- var _classCallCheck = __webpack_require__(9);
1238
+ var _classCallCheck = __webpack_require__(10);
1188
1239
 
1189
- var _createClass = __webpack_require__(17);
1240
+ var _createClass = __webpack_require__(16);
1190
1241
 
1191
1242
  Object.defineProperty(exports, "__esModule", {
1192
1243
  value: true
@@ -1215,7 +1266,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
1215
1266
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
1216
1267
 
1217
1268
  /***/ }),
1218
- /* 31 */
1269
+ /* 33 */
1219
1270
  /***/ (function(module, exports, __webpack_require__) {
1220
1271
 
1221
1272
  "use strict";
@@ -1228,7 +1279,7 @@ exports.validSortDirs = void 0;
1228
1279
  exports.validSortDirs = ['asc', 'desc', 'none'];
1229
1280
 
1230
1281
  /***/ }),
1231
- /* 32 */
1282
+ /* 34 */
1232
1283
  /***/ (function(module, exports, __webpack_require__) {
1233
1284
 
1234
1285
  "use strict";
@@ -1273,7 +1324,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
1273
1324
  exports.useDeepMemo = useDeepMemo;
1274
1325
 
1275
1326
  /***/ }),
1276
- /* 33 */
1327
+ /* 35 */
1277
1328
  /***/ (function(module, exports, __webpack_require__) {
1278
1329
 
1279
1330
  "use strict";
@@ -1306,7 +1357,7 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
1306
1357
  exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
1307
1358
 
1308
1359
  /***/ }),
1309
- /* 34 */
1360
+ /* 36 */
1310
1361
  /***/ (function(module, exports, __webpack_require__) {
1311
1362
 
1312
1363
  "use strict";
@@ -1323,9 +1374,9 @@ var T = __webpack_require__(0);
1323
1374
 
1324
1375
  var i18n_1 = __webpack_require__(3);
1325
1376
 
1326
- var Message_1 = __webpack_require__(8);
1377
+ var Message_1 = __webpack_require__(9);
1327
1378
 
1328
- var FixedSizeContainer_1 = __webpack_require__(11);
1379
+ var FixedSizeContainer_1 = __webpack_require__(12);
1329
1380
  /**
1330
1381
  * @method isMissing
1331
1382
  * @param {any} v
@@ -1385,7 +1436,7 @@ exports.MissingPropsMessage.defaultProps = {
1385
1436
  exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1386
1437
 
1387
1438
  /***/ }),
1388
- /* 35 */
1439
+ /* 37 */
1389
1440
  /***/ (function(module, exports, __webpack_require__) {
1390
1441
 
1391
1442
  "use strict";
@@ -1399,7 +1450,7 @@ var React = __webpack_require__(1);
1399
1450
 
1400
1451
  var styled_components_1 = __webpack_require__(4);
1401
1452
 
1402
- var hocUtils_1 = __webpack_require__(12);
1453
+ var hocUtils_1 = __webpack_require__(7);
1403
1454
 
1404
1455
  var Cover = styled_components_1.default.div.withConfig({
1405
1456
  displayName: "withEditModeCover__Cover",
@@ -1434,7 +1485,7 @@ var withEditModeCover = function withEditModeCover(Visualization) {
1434
1485
  exports.default = withEditModeCover;
1435
1486
 
1436
1487
  /***/ }),
1437
- /* 36 */
1488
+ /* 38 */
1438
1489
  /***/ (function(module, exports, __webpack_require__) {
1439
1490
 
1440
1491
  "use strict";
@@ -1446,13 +1497,13 @@ Object.defineProperty(exports, "__esModule", {
1446
1497
 
1447
1498
  var React = __webpack_require__(1);
1448
1499
 
1449
- var colorUtils_1 = __webpack_require__(10);
1500
+ var colorUtils_1 = __webpack_require__(11);
1450
1501
 
1451
- var IconPlaceholder_1 = __webpack_require__(23);
1502
+ var IconPlaceholder_1 = __webpack_require__(25);
1452
1503
 
1453
1504
  var VizBehavior_1 = __webpack_require__(5);
1454
1505
 
1455
- var hocUtils_1 = __webpack_require__(12);
1506
+ var hocUtils_1 = __webpack_require__(7);
1456
1507
 
1457
1508
  var withPlaceholder = function withPlaceholder(Visualization) {
1458
1509
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -1493,40 +1544,63 @@ var withPlaceholder = function withPlaceholder(Visualization) {
1493
1544
  exports.default = withPlaceholder;
1494
1545
 
1495
1546
  /***/ }),
1496
- /* 37 */,
1497
- /* 38 */,
1498
1547
  /* 39 */
1499
1548
  /***/ (function(module, exports) {
1500
1549
 
1501
- module.exports = require("@splunk/visualization-icons");
1502
-
1503
- /***/ }),
1504
- /* 40 */
1505
- /***/ (function(module, exports) {
1506
-
1507
1550
  module.exports = require("@babel/runtime/helpers/toConsumableArray");
1508
1551
 
1509
1552
  /***/ }),
1553
+ /* 40 */,
1510
1554
  /* 41 */
1511
1555
  /***/ (function(module, exports) {
1512
1556
 
1513
1557
  module.exports = require("@splunk/visualization-color-palettes");
1514
1558
 
1515
1559
  /***/ }),
1516
- /* 42 */,
1517
- /* 43 */
1560
+ /* 42 */
1518
1561
  /***/ (function(module, exports) {
1519
1562
 
1520
- module.exports = require("@splunk/charting-bundle");
1563
+ module.exports = require("@splunk/visualization-icons");
1521
1564
 
1522
1565
  /***/ }),
1566
+ /* 43 */,
1523
1567
  /* 44 */
1524
1568
  /***/ (function(module, exports, __webpack_require__) {
1525
1569
 
1526
1570
  "use strict";
1527
1571
 
1528
1572
 
1529
- var _toConsumableArray = __webpack_require__(40);
1573
+ Object.defineProperty(exports, "__esModule", {
1574
+ value: true
1575
+ });
1576
+
1577
+ var i18n_1 = __webpack_require__(3);
1578
+
1579
+ var background = function background(_ref) {
1580
+ var label = _ref.label,
1581
+ themes = _ref.themes,
1582
+ labelPosition = _ref.labelPosition;
1583
+ return [{
1584
+ label: i18n_1._(label || 'Background'),
1585
+ option: 'backgroundColor',
1586
+ editor: 'editor.color',
1587
+ editorProps: {
1588
+ labelPosition: labelPosition || 'top',
1589
+ themes: themes
1590
+ }
1591
+ }];
1592
+ };
1593
+
1594
+ exports.default = background;
1595
+
1596
+ /***/ }),
1597
+ /* 45 */
1598
+ /***/ (function(module, exports, __webpack_require__) {
1599
+
1600
+ "use strict";
1601
+
1602
+
1603
+ var _toConsumableArray = __webpack_require__(39);
1530
1604
 
1531
1605
  var __rest = this && this.__rest || function (s, e) {
1532
1606
  var t = {};
@@ -1613,7 +1687,7 @@ var mapToValues = function mapToValues(optionValuesSCMapping) {
1613
1687
  if (lodash_1.has(options, key)) {
1614
1688
  var updatedValue = optionValuesSCMapping[key][options[key]];
1615
1689
 
1616
- if (updatedValue) {
1690
+ if (!lodash_1.isUndefined(updatedValue)) {
1617
1691
  convertedOptions[key] = updatedValue;
1618
1692
  }
1619
1693
  }
@@ -1695,8 +1769,10 @@ var toArrayForSeries = function toArrayForSeries(data, value) {
1695
1769
  exports.toArrayForSeries = toArrayForSeries;
1696
1770
 
1697
1771
  var constructFieldsAndColumns = function constructFieldsAndColumns(_ref2) {
1698
- var x = _ref2.x,
1699
- y = _ref2.y,
1772
+ var _ref2$x = _ref2.x,
1773
+ x = _ref2$x === void 0 ? [] : _ref2$x,
1774
+ _ref2$y = _ref2.y,
1775
+ y = _ref2$y === void 0 ? [] : _ref2$y,
1700
1776
  xField = _ref2.xField,
1701
1777
  yFields = _ref2.yFields,
1702
1778
  y2 = _ref2.y2,
@@ -1739,36 +1815,15 @@ var constructFieldsAndColumns = function constructFieldsAndColumns(_ref2) {
1739
1815
  exports.constructFieldsAndColumns = constructFieldsAndColumns;
1740
1816
 
1741
1817
  /***/ }),
1742
- /* 45 */
1743
- /***/ (function(module, exports, __webpack_require__) {
1744
-
1745
- "use strict";
1746
-
1747
-
1748
- Object.defineProperty(exports, "__esModule", {
1749
- value: true
1750
- });
1751
-
1752
- var i18n_1 = __webpack_require__(3);
1753
-
1754
- var background = function background(_ref) {
1755
- var themes = _ref.themes;
1756
- return [{
1757
- label: i18n_1._('Background'),
1758
- option: 'backgroundColor',
1759
- editor: 'editor.color',
1760
- editorProps: {
1761
- themes: themes
1762
- }
1763
- }];
1764
- };
1818
+ /* 46 */
1819
+ /***/ (function(module, exports) {
1765
1820
 
1766
- exports.default = background;
1821
+ module.exports = require("@splunk/charting-bundle");
1767
1822
 
1768
1823
  /***/ }),
1769
- /* 46 */,
1770
1824
  /* 47 */,
1771
- /* 48 */
1825
+ /* 48 */,
1826
+ /* 49 */
1772
1827
  /***/ (function(module, exports, __webpack_require__) {
1773
1828
 
1774
1829
  "use strict";
@@ -1794,24 +1849,24 @@ var React = __webpack_require__(1);
1794
1849
 
1795
1850
  var T = __webpack_require__(0);
1796
1851
 
1797
- var react_event_listener_1 = __webpack_require__(49);
1852
+ var react_event_listener_1 = __webpack_require__(50);
1798
1853
 
1799
- __webpack_require__(50); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
1854
+ __webpack_require__(51); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
1800
1855
 
1801
1856
 
1802
- var charting_bundle_1 = __webpack_require__(43);
1857
+ var charting_bundle_1 = __webpack_require__(46);
1803
1858
 
1804
1859
  var style_1 = __webpack_require__(13);
1805
1860
 
1806
1861
  var styled_components_1 = __webpack_require__(4);
1807
1862
 
1808
- var Message_1 = __webpack_require__(8);
1863
+ var Message_1 = __webpack_require__(9);
1809
1864
 
1810
- var useSplunkTheme_1 = __webpack_require__(51);
1865
+ var useSplunkTheme_1 = __webpack_require__(52);
1811
1866
 
1812
- var themeUtils_1 = __webpack_require__(52);
1867
+ var themeUtils_1 = __webpack_require__(53);
1813
1868
 
1814
- var ChartingApi_1 = __webpack_require__(53);
1869
+ var ChartingApi_1 = __webpack_require__(54);
1815
1870
 
1816
1871
  exports.NO_INPLACE_PROPS = ['chart', 'chart.orientation', 'layout.splitSeries', 'chart.style', 'legend.placement'];
1817
1872
 
@@ -2093,6 +2148,7 @@ var Charting = function Charting(props) {
2093
2148
 
2094
2149
  var prevOptions = usePrevious(options);
2095
2150
  var prevTheme = usePrevious(themeKey);
2151
+ var prevOnClick = usePrevious(onClick);
2096
2152
  react_1.useEffect(function () {
2097
2153
  debouncedDrawChart();
2098
2154
  props.visualizationApiRef(api.current);
@@ -2104,7 +2160,7 @@ var Charting = function Charting(props) {
2104
2160
  react_1.useEffect(function () {
2105
2161
  // TODO: figure out why re-init is needed for functional components (i.e. PlatformViz) when changing theme
2106
2162
  // seems like redraw doesn't suffice to update the background colors
2107
- if (!chart.current || !exports.canUpdateInPlace(prevOptions, options) || !props.themeKey && prevTheme !== themeKey) {
2163
+ if (!chart.current || !exports.canUpdateInPlace(prevOptions, options) || !props.themeKey && prevTheme !== themeKey || prevOnClick !== onClick) {
2108
2164
  needsInit.current = true;
2109
2165
  }
2110
2166
 
@@ -2112,7 +2168,7 @@ var Charting = function Charting(props) {
2112
2168
  // otherwise a noop would occur if the onContainerMount drawChart is re-invoked when dimensions change
2113
2169
 
2114
2170
  drawChart();
2115
- }, [JSON.stringify(options), JSON.stringify(chartData.toJSON()), JSON.stringify(chartData.annotations), themeKey]);
2171
+ }, [JSON.stringify(options), JSON.stringify(chartData.toJSON()), JSON.stringify(chartData.annotations), themeKey, onClick]);
2116
2172
  return React.createElement(ChartingContainer, {
2117
2173
  style: style,
2118
2174
  ref: onContainerMount,
@@ -2174,39 +2230,39 @@ var withEmptyChartMessage = function withEmptyChartMessage(Chart) {
2174
2230
  exports.default = withEmptyChartMessage(Charting);
2175
2231
 
2176
2232
  /***/ }),
2177
- /* 49 */
2233
+ /* 50 */
2178
2234
  /***/ (function(module, exports) {
2179
2235
 
2180
2236
  module.exports = require("react-event-listener");
2181
2237
 
2182
2238
  /***/ }),
2183
- /* 50 */
2239
+ /* 51 */
2184
2240
  /***/ (function(module, exports) {
2185
2241
 
2186
2242
  module.exports = require("@splunk/visualizations-shared/i18n");
2187
2243
 
2188
2244
  /***/ }),
2189
- /* 51 */
2245
+ /* 52 */
2190
2246
  /***/ (function(module, exports) {
2191
2247
 
2192
2248
  module.exports = require("@splunk/themes/useSplunkTheme");
2193
2249
 
2194
2250
  /***/ }),
2195
- /* 52 */
2251
+ /* 53 */
2196
2252
  /***/ (function(module, exports) {
2197
2253
 
2198
2254
  module.exports = require("@splunk/visualizations-shared/themeUtils");
2199
2255
 
2200
2256
  /***/ }),
2201
- /* 53 */
2257
+ /* 54 */
2202
2258
  /***/ (function(module, exports, __webpack_require__) {
2203
2259
 
2204
2260
  "use strict";
2205
2261
 
2206
2262
 
2207
- var _classCallCheck = __webpack_require__(9);
2263
+ var _classCallCheck = __webpack_require__(10);
2208
2264
 
2209
- var _createClass = __webpack_require__(17);
2265
+ var _createClass = __webpack_require__(16);
2210
2266
 
2211
2267
  Object.defineProperty(exports, "__esModule", {
2212
2268
  value: true
@@ -2265,32 +2321,15 @@ var ChartingApiFunctional = /*#__PURE__*/function () {
2265
2321
  exports.ChartingApiFunctional = ChartingApiFunctional;
2266
2322
 
2267
2323
  /***/ }),
2268
- /* 54 */
2324
+ /* 55 */
2269
2325
  /***/ (function(module, exports) {
2270
2326
 
2271
2327
  module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
2272
2328
 
2273
- /***/ }),
2274
- /* 55 */
2275
- /***/ (function(module, exports, __webpack_require__) {
2276
-
2277
- "use strict";
2278
-
2279
-
2280
- Object.defineProperty(exports, "__esModule", {
2281
- value: true
2282
- });
2283
- exports.enableClickHandler = void 0;
2284
-
2285
- var enableClickHandler = function enableClickHandler(hasEventHandlers, mode) {
2286
- return !!hasEventHandlers && mode === 'view';
2287
- };
2288
-
2289
- exports.enableClickHandler = enableClickHandler;
2290
-
2291
2329
  /***/ }),
2292
2330
  /* 56 */,
2293
- /* 57 */
2331
+ /* 57 */,
2332
+ /* 58 */
2294
2333
  /***/ (function(module, exports, __webpack_require__) {
2295
2334
 
2296
2335
  "use strict";
@@ -2317,7 +2356,7 @@ var axes = {
2317
2356
  exports.default = axes;
2318
2357
 
2319
2358
  /***/ }),
2320
- /* 58 */
2359
+ /* 59 */
2321
2360
  /***/ (function(module, exports, __webpack_require__) {
2322
2361
 
2323
2362
  "use strict";
@@ -2377,7 +2416,6 @@ var legend = {
2377
2416
  exports.default = legend;
2378
2417
 
2379
2418
  /***/ }),
2380
- /* 59 */,
2381
2419
  /* 60 */,
2382
2420
  /* 61 */,
2383
2421
  /* 62 */,
@@ -2426,7 +2464,10 @@ exports.default = legend;
2426
2464
  /* 105 */,
2427
2465
  /* 106 */,
2428
2466
  /* 107 */,
2429
- /* 108 */
2467
+ /* 108 */,
2468
+ /* 109 */,
2469
+ /* 110 */,
2470
+ /* 111 */
2430
2471
  /***/ (function(module, exports, __webpack_require__) {
2431
2472
 
2432
2473
  "use strict";
@@ -2452,23 +2493,21 @@ exports.config = exports.themes = exports.computeVizProps = void 0;
2452
2493
 
2453
2494
  var lodash_1 = __webpack_require__(2);
2454
2495
 
2455
- var Charting_1 = __webpack_require__(48);
2496
+ var Charting_1 = __webpack_require__(49);
2456
2497
 
2457
- var charting_bundle_1 = __webpack_require__(43);
2498
+ var charting_bundle_1 = __webpack_require__(46);
2458
2499
 
2459
- var simpleXMLOptions_1 = __webpack_require__(54);
2500
+ var simpleXMLOptions_1 = __webpack_require__(55);
2460
2501
 
2461
- var config_1 = __webpack_require__(138);
2502
+ var config_1 = __webpack_require__(142);
2462
2503
 
2463
2504
  exports.config = config_1.default;
2464
2505
 
2465
- var withDashboardViz_1 = __webpack_require__(25);
2506
+ var withDashboardViz_1 = __webpack_require__(27);
2466
2507
 
2467
- var bubbleUtils_1 = __webpack_require__(139);
2508
+ var bubbleUtils_1 = __webpack_require__(143);
2468
2509
 
2469
- var eventUtils_1 = __webpack_require__(55);
2470
-
2471
- var chartingUtils_1 = __webpack_require__(44);
2510
+ var chartingUtils_1 = __webpack_require__(45);
2472
2511
 
2473
2512
  var validOptions = Object.keys(config_1.default.optionsSchema);
2474
2513
 
@@ -2476,9 +2515,12 @@ var computeVizProps = function computeVizProps(_a) {
2476
2515
  var dataSources = _a.dataSources,
2477
2516
  onEventTrigger = _a.onEventTrigger,
2478
2517
  visualizationApiRef = _a.visualizationApiRef,
2479
- x = _a.x,
2480
- y = _a.y,
2481
- size = _a.size,
2518
+ _a$x = _a.x,
2519
+ x = _a$x === void 0 ? [] : _a$x,
2520
+ _a$y = _a.y,
2521
+ y = _a$y === void 0 ? [] : _a$y,
2522
+ _a$size = _a.size,
2523
+ size = _a$size === void 0 ? [] : _a$size,
2482
2524
  category = _a.category,
2483
2525
  xField = _a.xField,
2484
2526
  yField = _a.yField,
@@ -2490,6 +2532,7 @@ var computeVizProps = function computeVizProps(_a) {
2490
2532
  var computedProps = {
2491
2533
  visualizationApiRef: visualizationApiRef
2492
2534
  };
2535
+ var hasEventHandlers = otherOptions.hasEventHandlers;
2493
2536
  computedProps.options = lodash_1.chain(otherOptions).pick(validOptions).thru(bubbleUtils_1.convertToBubbleSCProperties).thru(function (options) {
2494
2537
  return Object.assign(Object.assign({}, simpleXMLOptions_1.getSimpleXMLOptionsForProps(options)), {
2495
2538
  chart: 'bubble'
@@ -2522,7 +2565,7 @@ var computeVizProps = function computeVizProps(_a) {
2522
2565
 
2523
2566
  computedProps.chartData = charting_bundle_1.default.extractChartReadyData(Object.assign({}, primaryData));
2524
2567
 
2525
- if (eventUtils_1.enableClickHandler(otherOptions.hasEventHandlers, otherOptions.mode)) {
2568
+ if (hasEventHandlers) {
2526
2569
  computedProps.onClick = function (event) {
2527
2570
  onEventTrigger(Object.assign(Object.assign({}, event), {
2528
2571
  payload: Object.assign(Object.assign({}, event.payload), {
@@ -2546,9 +2589,6 @@ exports.themes = themes;
2546
2589
  exports.default = Bubble;
2547
2590
 
2548
2591
  /***/ }),
2549
- /* 109 */,
2550
- /* 110 */,
2551
- /* 111 */,
2552
2592
  /* 112 */,
2553
2593
  /* 113 */,
2554
2594
  /* 114 */,
@@ -2574,7 +2614,11 @@ exports.default = Bubble;
2574
2614
  /* 134 */,
2575
2615
  /* 135 */,
2576
2616
  /* 136 */,
2577
- /* 137 */
2617
+ /* 137 */,
2618
+ /* 138 */,
2619
+ /* 139 */,
2620
+ /* 140 */,
2621
+ /* 141 */
2578
2622
  /***/ (function(module, exports, __webpack_require__) {
2579
2623
 
2580
2624
  "use strict";
@@ -2604,9 +2648,9 @@ Object.defineProperty(exports, "__esModule", {
2604
2648
  });
2605
2649
  exports.default = void 0;
2606
2650
 
2607
- __exportStar(__webpack_require__(108), exports);
2651
+ __exportStar(__webpack_require__(111), exports);
2608
2652
 
2609
- var Bubble_1 = __webpack_require__(108);
2653
+ var Bubble_1 = __webpack_require__(111);
2610
2654
 
2611
2655
  Object.defineProperty(exports, "default", {
2612
2656
  enumerable: true,
@@ -2616,7 +2660,7 @@ Object.defineProperty(exports, "default", {
2616
2660
  });
2617
2661
 
2618
2662
  /***/ }),
2619
- /* 138 */
2663
+ /* 142 */
2620
2664
  /***/ (function(module, exports, __webpack_require__) {
2621
2665
 
2622
2666
  "use strict";
@@ -2626,29 +2670,29 @@ Object.defineProperty(exports, "__esModule", {
2626
2670
  value: true
2627
2671
  });
2628
2672
 
2629
- var visualization_icons_1 = __webpack_require__(39);
2673
+ var visualization_icons_1 = __webpack_require__(42);
2630
2674
 
2631
2675
  var schemaUtils_1 = __webpack_require__(14);
2632
2676
 
2633
2677
  var visualization_color_palettes_1 = __webpack_require__(41);
2634
2678
 
2635
- var pick_1 = __webpack_require__(20);
2679
+ var pick_1 = __webpack_require__(21);
2636
2680
 
2637
2681
  var variables_1 = __webpack_require__(19);
2638
2682
 
2639
2683
  var i18n_1 = __webpack_require__(3);
2640
2684
 
2641
- var Axes_1 = __webpack_require__(57);
2685
+ var Axes_1 = __webpack_require__(58);
2642
2686
 
2643
- var Legend_1 = __webpack_require__(58);
2687
+ var Legend_1 = __webpack_require__(59);
2644
2688
 
2645
- var BackgroundColor_1 = __webpack_require__(45);
2689
+ var BackgroundColor_1 = __webpack_require__(44);
2646
2690
 
2647
2691
  var VizBehavior_1 = __webpack_require__(5);
2648
2692
 
2649
- var VizCategory_1 = __webpack_require__(24);
2693
+ var VizCategory_1 = __webpack_require__(26);
2650
2694
 
2651
- var configUtils_1 = __webpack_require__(7);
2695
+ var configUtils_1 = __webpack_require__(8);
2652
2696
 
2653
2697
  var dataContract = {
2654
2698
  requiredDataSources: [{
@@ -2744,6 +2788,7 @@ var optionsSchema = {
2744
2788
  bubbleSizeMethod: {
2745
2789
  default: 'area',
2746
2790
  description: 'Specify whether bubble area or diameter corresponds to the size value.',
2791
+ pattern: schemaUtils_1.getPattern(['area', 'diameter']),
2747
2792
  type: 'string'
2748
2793
  },
2749
2794
  legendDisplay: {
@@ -2800,6 +2845,12 @@ var optionsSchema = {
2800
2845
  description: 'Specify whether to round x-axis values to the nearest integer.',
2801
2846
  type: 'boolean'
2802
2847
  },
2848
+ // TODO: figure out if we want to change splunk-charting behavior for Bubble/Scatter, which hardcodes XMajorGridlines to false
2849
+ // showXMajorGridLines: {
2850
+ // default: false,
2851
+ // description: 'Specify whether major grid lines are visible on the x-axis.',
2852
+ // type: 'boolean',
2853
+ // },
2803
2854
  showYMajorGridLines: {
2804
2855
  default: true,
2805
2856
  description: 'Specify whether major grid lines are visible on the y-axis.',
@@ -3020,7 +3071,7 @@ var config = {
3020
3071
  exports.default = configUtils_1.enhanceConfig(config);
3021
3072
 
3022
3073
  /***/ }),
3023
- /* 139 */
3074
+ /* 143 */
3024
3075
  /***/ (function(module, exports, __webpack_require__) {
3025
3076
 
3026
3077
  "use strict";
@@ -3033,9 +3084,9 @@ exports.convertToBubbleSCProperties = exports.mapToOldKey = exports.convertToStr
3033
3084
 
3034
3085
  var lodash_1 = __webpack_require__(2);
3035
3086
 
3036
- var propUtils_1 = __webpack_require__(16);
3087
+ var propUtils_1 = __webpack_require__(18);
3037
3088
 
3038
- var chartingUtils_1 = __webpack_require__(44); // map for key names which are either new or not present in SimpleXML options mapping
3089
+ var chartingUtils_1 = __webpack_require__(45); // map for key names which are either new or not present in SimpleXML options mapping
3039
3090
 
3040
3091
 
3041
3092
  var bubbleOptionsSCMapping = {