@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/Area.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 = 131);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 135);
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);
868
+
869
+ var getPagination_1 = __webpack_require__(24);
819
870
 
820
- var getPagination_1 = __webpack_require__(22);
871
+ var useDeepMemo_1 = __webpack_require__(34);
821
872
 
822
- var useDeepMemo_1 = __webpack_require__(32);
873
+ var JSONSchemaUtils_1 = __webpack_require__(35);
823
874
 
824
- var JSONSchemaUtils_1 = __webpack_require__(33);
875
+ var MissingPropsMessage_1 = __webpack_require__(36);
825
876
 
826
- var MissingPropsMessage_1 = __webpack_require__(34);
877
+ var withEditModeCover_1 = __webpack_require__(37);
827
878
 
828
- var withEditModeCover_1 = __webpack_require__(35);
879
+ var withPlaceholder_1 = __webpack_require__(38);
829
880
 
830
- var withPlaceholder_1 = __webpack_require__(36);
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 */,
@@ -2411,25 +2449,25 @@ module.exports = require("@splunk/react-icons/BarStacked100");
2411
2449
  /* 75 */,
2412
2450
  /* 76 */,
2413
2451
  /* 77 */,
2414
- /* 78 */
2452
+ /* 78 */,
2453
+ /* 79 */
2415
2454
  /***/ (function(module, exports) {
2416
2455
 
2417
2456
  module.exports = require("@splunk/react-icons/MissingValueSkipped");
2418
2457
 
2419
2458
  /***/ }),
2420
- /* 79 */
2459
+ /* 80 */
2421
2460
  /***/ (function(module, exports) {
2422
2461
 
2423
2462
  module.exports = require("@splunk/react-icons/MissingValueZero");
2424
2463
 
2425
2464
  /***/ }),
2426
- /* 80 */
2465
+ /* 81 */
2427
2466
  /***/ (function(module, exports) {
2428
2467
 
2429
2468
  module.exports = require("@splunk/react-icons/MissingValueJoin");
2430
2469
 
2431
2470
  /***/ }),
2432
- /* 81 */,
2433
2471
  /* 82 */,
2434
2472
  /* 83 */,
2435
2473
  /* 84 */,
@@ -2454,7 +2492,10 @@ module.exports = require("@splunk/react-icons/MissingValueJoin");
2454
2492
  /* 103 */,
2455
2493
  /* 104 */,
2456
2494
  /* 105 */,
2457
- /* 106 */
2495
+ /* 106 */,
2496
+ /* 107 */,
2497
+ /* 108 */,
2498
+ /* 109 */
2458
2499
  /***/ (function(module, exports, __webpack_require__) {
2459
2500
 
2460
2501
  "use strict";
@@ -2480,23 +2521,21 @@ exports.config = exports.themes = exports.computeVizProps = void 0;
2480
2521
 
2481
2522
  var lodash_1 = __webpack_require__(2);
2482
2523
 
2483
- var Charting_1 = __webpack_require__(48);
2524
+ var Charting_1 = __webpack_require__(49);
2484
2525
 
2485
- var charting_bundle_1 = __webpack_require__(43);
2526
+ var charting_bundle_1 = __webpack_require__(46);
2486
2527
 
2487
- var simpleXMLOptions_1 = __webpack_require__(54);
2528
+ var simpleXMLOptions_1 = __webpack_require__(55);
2488
2529
 
2489
- var config_1 = __webpack_require__(132);
2530
+ var config_1 = __webpack_require__(136);
2490
2531
 
2491
2532
  exports.config = config_1.default;
2492
2533
 
2493
- var withDashboardViz_1 = __webpack_require__(25);
2534
+ var withDashboardViz_1 = __webpack_require__(27);
2494
2535
 
2495
- var areaUtils_1 = __webpack_require__(133);
2536
+ var areaUtils_1 = __webpack_require__(137);
2496
2537
 
2497
- var chartingUtils_1 = __webpack_require__(44);
2498
-
2499
- var eventUtils_1 = __webpack_require__(55);
2538
+ var chartingUtils_1 = __webpack_require__(45);
2500
2539
 
2501
2540
  var validOptions = Object.keys(config_1.default.optionsSchema);
2502
2541
 
@@ -2518,7 +2557,8 @@ var computeVizProps = function computeVizProps(_a) {
2518
2557
  visualizationApiRef: visualizationApiRef
2519
2558
  };
2520
2559
  var y2 = otherOptions.y2,
2521
- y2Fields = otherOptions.y2Fields;
2560
+ y2Fields = otherOptions.y2Fields,
2561
+ hasEventHandlers = otherOptions.hasEventHandlers;
2522
2562
  computedProps.options = lodash_1.chain(otherOptions).pick(validOptions).thru(areaUtils_1.convertToAreaSCProperties).thru(function (options) {
2523
2563
  return Object.assign(Object.assign({}, simpleXMLOptions_1.getSimpleXMLOptionsForProps(options)), {
2524
2564
  chart: 'area'
@@ -2548,7 +2588,7 @@ var computeVizProps = function computeVizProps(_a) {
2548
2588
  annotations: chartingAnnotations
2549
2589
  }));
2550
2590
 
2551
- if (eventUtils_1.enableClickHandler(otherOptions.hasEventHandlers, otherOptions.mode)) {
2591
+ if (hasEventHandlers) {
2552
2592
  computedProps.onClick = onEventTrigger;
2553
2593
  computedProps.onSelect = onEventTrigger;
2554
2594
  computedProps.onPointMouseOver = onEventTrigger;
@@ -2569,9 +2609,6 @@ exports.themes = themes;
2569
2609
  exports.default = Area;
2570
2610
 
2571
2611
  /***/ }),
2572
- /* 107 */,
2573
- /* 108 */,
2574
- /* 109 */,
2575
2612
  /* 110 */,
2576
2613
  /* 111 */,
2577
2614
  /* 112 */,
@@ -2593,7 +2630,11 @@ exports.default = Area;
2593
2630
  /* 128 */,
2594
2631
  /* 129 */,
2595
2632
  /* 130 */,
2596
- /* 131 */
2633
+ /* 131 */,
2634
+ /* 132 */,
2635
+ /* 133 */,
2636
+ /* 134 */,
2637
+ /* 135 */
2597
2638
  /***/ (function(module, exports, __webpack_require__) {
2598
2639
 
2599
2640
  "use strict";
@@ -2623,9 +2664,9 @@ Object.defineProperty(exports, "__esModule", {
2623
2664
  });
2624
2665
  exports.default = void 0;
2625
2666
 
2626
- __exportStar(__webpack_require__(106), exports);
2667
+ __exportStar(__webpack_require__(109), exports);
2627
2668
 
2628
- var Area_1 = __webpack_require__(106);
2669
+ var Area_1 = __webpack_require__(109);
2629
2670
 
2630
2671
  Object.defineProperty(exports, "default", {
2631
2672
  enumerable: true,
@@ -2635,7 +2676,7 @@ Object.defineProperty(exports, "default", {
2635
2676
  });
2636
2677
 
2637
2678
  /***/ }),
2638
- /* 132 */
2679
+ /* 136 */
2639
2680
  /***/ (function(module, exports, __webpack_require__) {
2640
2681
 
2641
2682
  "use strict";
@@ -2645,7 +2686,7 @@ Object.defineProperty(exports, "__esModule", {
2645
2686
  value: true
2646
2687
  });
2647
2688
 
2648
- var visualization_icons_1 = __webpack_require__(39);
2689
+ var visualization_icons_1 = __webpack_require__(42);
2649
2690
 
2650
2691
  var schemaUtils_1 = __webpack_require__(14);
2651
2692
 
@@ -2653,11 +2694,11 @@ var visualization_color_palettes_1 = __webpack_require__(41);
2653
2694
 
2654
2695
  var i18n_1 = __webpack_require__(3);
2655
2696
 
2656
- var MissingValueSkipped_1 = __webpack_require__(78);
2697
+ var MissingValueSkipped_1 = __webpack_require__(79);
2657
2698
 
2658
- var MissingValueZero_1 = __webpack_require__(79);
2699
+ var MissingValueZero_1 = __webpack_require__(80);
2659
2700
 
2660
- var MissingValueJoin_1 = __webpack_require__(80);
2701
+ var MissingValueJoin_1 = __webpack_require__(81);
2661
2702
 
2662
2703
  var BarBeside_1 = __webpack_require__(67);
2663
2704
 
@@ -2665,21 +2706,21 @@ var BarStacked_1 = __webpack_require__(68);
2665
2706
 
2666
2707
  var BarStacked100_1 = __webpack_require__(69);
2667
2708
 
2668
- var pick_1 = __webpack_require__(20);
2709
+ var pick_1 = __webpack_require__(21);
2669
2710
 
2670
2711
  var variables_1 = __webpack_require__(19);
2671
2712
 
2672
2713
  var VizBehavior_1 = __webpack_require__(5);
2673
2714
 
2674
- var VizCategory_1 = __webpack_require__(24);
2715
+ var VizCategory_1 = __webpack_require__(26);
2675
2716
 
2676
- var configUtils_1 = __webpack_require__(7);
2717
+ var configUtils_1 = __webpack_require__(8);
2677
2718
 
2678
- var Axes_1 = __webpack_require__(57);
2719
+ var Axes_1 = __webpack_require__(58);
2679
2720
 
2680
- var Legend_1 = __webpack_require__(58);
2721
+ var Legend_1 = __webpack_require__(59);
2681
2722
 
2682
- var BackgroundColor_1 = __webpack_require__(45);
2723
+ var BackgroundColor_1 = __webpack_require__(44);
2683
2724
 
2684
2725
  var dataContract = {
2685
2726
  requiredDataSources: [{
@@ -3223,7 +3264,7 @@ var config = {
3223
3264
  exports.default = configUtils_1.enhanceConfig(config);
3224
3265
 
3225
3266
  /***/ }),
3226
- /* 133 */
3267
+ /* 137 */
3227
3268
  /***/ (function(module, exports, __webpack_require__) {
3228
3269
 
3229
3270
  "use strict";
@@ -3236,9 +3277,9 @@ exports.convertToAreaSCProperties = exports.mapToOldKey = exports.convertToStrin
3236
3277
 
3237
3278
  var lodash_1 = __webpack_require__(2);
3238
3279
 
3239
- var propUtils_1 = __webpack_require__(16);
3280
+ var propUtils_1 = __webpack_require__(18);
3240
3281
 
3241
- var chartingUtils_1 = __webpack_require__(44); // map for key names which are either new or not present in SimpleXML options mapping
3282
+ var chartingUtils_1 = __webpack_require__(45); // map for key names which are either new or not present in SimpleXML options mapping
3242
3283
 
3243
3284
 
3244
3285
  var areaOptionsSCMapping = {
@@ -3365,8 +3406,7 @@ exports.mapToOldKey = mapToOldKey;
3365
3406
  */
3366
3407
 
3367
3408
  var convertToAreaSCProperties = function convertToAreaSCProperties(originalOptions) {
3368
- return lodash_1.chain(exports.mapToOldKey(originalOptions)).thru(chartingUtils_1.mapToValues(exports.areaOptionValuesSCMapping)).thru(chartingUtils_1.convertY2AxisOptions).thru(chartingUtils_1.convertOverlayFields).thru(exports.convertToStringValues) // .thru(convertMarkerOptions)
3369
- .value();
3409
+ return lodash_1.chain(exports.mapToOldKey(originalOptions)).thru(chartingUtils_1.mapToValues(exports.areaOptionValuesSCMapping)).thru(chartingUtils_1.convertY2AxisOptions).thru(chartingUtils_1.convertOverlayFields).thru(exports.convertToStringValues).value();
3370
3410
  };
3371
3411
 
3372
3412
  exports.convertToAreaSCProperties = convertToAreaSCProperties;