@splunk/charting-bundle 26.1.2 → 26.2.1

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 (3) hide show
  1. package/index.js +47 -14
  2. package/index.js.map +1 -1
  3. package/package.json +3 -3
package/index.js CHANGED
@@ -18362,7 +18362,7 @@ _jquery2.default.extend(Chart.prototype, {
18362
18362
  (0, _underscore2.default)(this.xAxisList).invoke('onChartLoad', chart);
18363
18363
  (0, _underscore2.default)(this.yAxisList).invoke('onChartLoad', chart);
18364
18364
  (0, _underscore2.default)(this.seriesList).invoke('onChartLoad', chart);
18365
- if (this.isZoomable() && !this.dataSet.chartDataOptions.removeRangeSelectOnLoad) {
18365
+ if (this.isZoomable() && !this.shouldRemoveRangeSelectOnLoad()) {
18366
18366
  this.triggerRangeSelectionEvent();
18367
18367
  }
18368
18368
  },
@@ -18395,7 +18395,9 @@ _jquery2.default.extend(Chart.prototype, {
18395
18395
  }
18396
18396
  }
18397
18397
  }
18398
- if (this.isZoomable() && !this.selectionTriggeredBeforeRedraw) {
18398
+ // When search zoom is enabled, we are removing panning and reset
18399
+ // This means until reset is enabled, we do not need this range selection event.
18400
+ if (this.isZoomable() && !this.selectionTriggeredBeforeRedraw && !this.shouldEnableSearchZoom()) {
18399
18401
  var skipNormalization = !this.selectionWindow || this.updateHasRebinned;
18400
18402
  this.triggerRangeSelectionEvent(null, { skipNormalization: skipNormalization });
18401
18403
  }
@@ -18496,6 +18498,11 @@ _jquery2.default.extend(Chart.prototype, {
18496
18498
  }
18497
18499
  },
18498
18500
  onChartSelection: function onChartSelection(originalEvent) {
18501
+ // We want to remove reset, panning and the visual only zoom when search zoom is enabled
18502
+ // This can be done by using preventDefault, which will remove the visual-only zoom effects
18503
+ if (this.shouldEnableSearchZoom()) {
18504
+ originalEvent.preventDefault();
18505
+ }
18499
18506
  var xAxis = this.xAxisList[0];
18500
18507
  if (!originalEvent.resetSelection) {
18501
18508
  var xAxisInfo = originalEvent.xAxis[0];
@@ -18705,8 +18712,9 @@ _jquery2.default.extend(Chart.prototype, {
18705
18712
  if (incomingExtremes.max < preUpdateExtremes.max || incomingExtremes.min > preUpdateExtremes.min) {
18706
18713
  return { min: null, max: null };
18707
18714
  }
18715
+ var lastTimeValue = timeSeries[timeSeries.length - 1];
18708
18716
  var min = timeSeries[this.findNearestTimeBinIndex(preUpdateExtremes.min, timeSeries)];
18709
- var max = timeSeries[this.findNearestTimeBinIndex(preUpdateExtremes.max, timeSeries)];
18717
+ var max = preUpdateExtremes.max > lastTimeValue ? lastTimeValue : timeSeries[this.findNearestTimeBinIndex(preUpdateExtremes.max, timeSeries)];
18710
18718
  if (timeSeries.indexOf(preUpdateExtremes.min) === -1 || timeSeries.indexOf(preUpdateExtremes.max) === -1) {
18711
18719
  this.updateHasRebinned = true;
18712
18720
  }
@@ -18921,6 +18929,12 @@ _jquery2.default.extend(Chart.prototype, {
18921
18929
 
18922
18930
  return this.colorPalette.getColorAsRgb(field, paletteIndex, paletteSize);
18923
18931
  },
18932
+ shouldEnableSearchZoom: function shouldEnableSearchZoom() {
18933
+ return this.dataSet.chartDataOptions.enableSearchZoom;
18934
+ },
18935
+ shouldRemoveRangeSelectOnLoad: function shouldRemoveRangeSelectOnLoad() {
18936
+ return this.dataSet.chartDataOptions.removeRangeSelectOnLoad;
18937
+ },
18924
18938
 
18925
18939
 
18926
18940
  // ///////////////////////////////////////////////////////////////////////////////////
@@ -19380,14 +19394,28 @@ Series.prototype = _jquery2.default.extend({}, _EventMixin2.default, {
19380
19394
  // no-op to be overridden by sub-classes
19381
19395
  processProperties: function processProperties() {},
19382
19396
  redraw: function redraw(redrawChart) {
19383
- if (!this.hcSeries) {
19397
+ if (!this.hcSeries && (!this.nestedSeriesList || !this.nestedSeriesList.every(function (nestedSeries) {
19398
+ return nestedSeries.hcSeries;
19399
+ }))) {
19384
19400
  // this is not an error state, there are cases where a new series is added dynamically in an update
19385
19401
  return;
19386
19402
  }
19387
19403
  if (this.isDirty()) {
19388
- this.hcSeries.update(this.getConfig(), redrawChart);
19404
+ if (this.hcSeries) {
19405
+ this.hcSeries.update(this.getConfig(), redrawChart);
19406
+ } else if (this.nestedSeriesList) {
19407
+ this.nestedSeriesList.forEach(function (nestedSeries) {
19408
+ nestedSeries.hcSeries.update(nestedSeries.getConfig(), redrawChart);
19409
+ });
19410
+ }
19389
19411
  } else if (this.dataIsDirty()) {
19390
- this.hcSeries.setData(this.hasPrettyData ? this.prettyData : this.data, redrawChart);
19412
+ if (this.hcSeries) {
19413
+ this.hcSeries.setData(this.hasPrettyData ? this.prettyData : this.data, redrawChart);
19414
+ } else if (this.nestedSeriesList) {
19415
+ this.nestedSeriesList.forEach(function (nestedSeries) {
19416
+ nestedSeries.hcSeries.setData(nestedSeries.data, redrawChart);
19417
+ });
19418
+ }
19391
19419
  }
19392
19420
  },
19393
19421
  update: function update(properties) {
@@ -21168,7 +21196,7 @@ _jquery2.default.extend(LineSeries.prototype, {
21168
21196
  },
21169
21197
  highlightPoint: function highlightPoint(hcPoint) {
21170
21198
  var seriesColor = this.getColor();
21171
- if (hcPoint.graphic) {
21199
+ if (hcPoint && hcPoint.graphic) {
21172
21200
  if (this.showMarkers && this.hasHollowMarkers) {
21173
21201
  hcPoint.graphic.attr('stroke', seriesColor).attr('fill', this.properties['chart.backgroundColor'] || (0, _theme.getThemeProperty)('DEFAULT_BACKGROUND_COLOR'));
21174
21202
  } else {
@@ -21177,7 +21205,7 @@ _jquery2.default.extend(LineSeries.prototype, {
21177
21205
  }
21178
21206
  },
21179
21207
  unHighlightPoint: function unHighlightPoint(hcPoint) {
21180
- if (hcPoint.graphic) {
21208
+ if (hcPoint && hcPoint.graphic) {
21181
21209
  if (this.showMarkers && this.hasHollowMarkers) {
21182
21210
  hcPoint.graphic.attr('stroke', this.UNHIGHLIGHTED_COLOR).attr('fill', this.properties['chart.backgroundColor'] || (0, _theme.getThemeProperty)('DEFAULT_BACKGROUND_COLOR'));
21183
21211
  } else {
@@ -21481,12 +21509,12 @@ _jquery2.default.extend(AreaSeries.prototype, {
21481
21509
  },
21482
21510
  highlightPoint: function highlightPoint(hcPoint) {
21483
21511
  var seriesColor = this.getColor();
21484
- if (hcPoint.graphic) {
21512
+ if (hcPoint && hcPoint.graphic) {
21485
21513
  hcPoint.graphic.attr('fill', seriesColor);
21486
21514
  }
21487
21515
  },
21488
21516
  unHighlightPoint: function unHighlightPoint(hcPoint) {
21489
- if (hcPoint.graphic) {
21517
+ if (hcPoint && hcPoint.graphic) {
21490
21518
  hcPoint.graphic.attr('fill', this.UNHIGHLIGHTED_COLOR);
21491
21519
  }
21492
21520
  },
@@ -29806,8 +29834,8 @@ if(false) {}
29806
29834
  /***/ (function(module, exports, __webpack_require__) {
29807
29835
 
29808
29836
  /* WEBPACK VAR INJECTION */(function(module) {
29809
- var styles = {"enterprise":".legendItemUnclickable_legend-styles__guid__d5d18b .highcharts-a11y-proxy-button {\n cursor: default !important;\n}\n.legendItemUnclickable_legend-styles__guid__d5d18b .highcharts-a11y-proxy-button:active {\n pointer-events: none;\n}\n.legendOverflowUnclickable_legend-styles__guid__d5d18b .highcharts-a11y-proxy-container {\n pointer-events: none;\n}\n.outlierLegend_legend-styles__guid__d5d18b .highcharts-legend-item rect,\n .outlierLegend_legend-styles__guid__d5d18b .highcharts-legend-item text {\n pointer-events: none;\n}\n.outlierLegend_legend-styles__guid__d5d18b .highcharts-legend-item path + text {\n pointer-events: auto;\n}\n","lite":".legendItemUnclickable_legend-styles__guid__d5d18b .highcharts-a11y-proxy-button {\n cursor: default !important;\n}\n.legendItemUnclickable_legend-styles__guid__d5d18b .highcharts-a11y-proxy-button:active {\n pointer-events: none;\n}\n.legendOverflowUnclickable_legend-styles__guid__d5d18b .highcharts-a11y-proxy-container {\n pointer-events: none;\n}\n.outlierLegend_legend-styles__guid__d5d18b .highcharts-legend-item rect,\n .outlierLegend_legend-styles__guid__d5d18b .highcharts-legend-item text {\n pointer-events: none;\n}\n.outlierLegend_legend-styles__guid__d5d18b .highcharts-legend-item path + text {\n pointer-events: auto;\n}\n"};
29810
- var themeLocals = {"enterprise":{"legendItemUnclickable":"legendItemUnclickable_legend-styles__guid__d5d18b","legendOverflowUnclickable":"legendOverflowUnclickable_legend-styles__guid__d5d18b","outlierLegend":"outlierLegend_legend-styles__guid__d5d18b"},"lite":{"legendItemUnclickable":"legendItemUnclickable_legend-styles__guid__d5d18b","legendOverflowUnclickable":"legendOverflowUnclickable_legend-styles__guid__d5d18b","outlierLegend":"outlierLegend_legend-styles__guid__d5d18b"}};
29837
+ var styles = {"enterprise":".legendItemUnclickable_legend-styles__guid__1feaae .highcharts-a11y-proxy-button {\n cursor: default !important;\n}\n.legendItemUnclickable_legend-styles__guid__1feaae .highcharts-a11y-proxy-button:active {\n pointer-events: none;\n}\n.legendOverflowUnclickable_legend-styles__guid__1feaae .highcharts-a11y-proxy-container {\n pointer-events: none;\n}\n.outlierLegend_legend-styles__guid__1feaae .highcharts-legend-item rect,\n .outlierLegend_legend-styles__guid__1feaae .highcharts-legend-item text {\n pointer-events: none;\n}\n.outlierLegend_legend-styles__guid__1feaae .highcharts-legend-item path + text {\n pointer-events: auto;\n}\n","lite":".legendItemUnclickable_legend-styles__guid__1feaae .highcharts-a11y-proxy-button {\n cursor: default !important;\n}\n.legendItemUnclickable_legend-styles__guid__1feaae .highcharts-a11y-proxy-button:active {\n pointer-events: none;\n}\n.legendOverflowUnclickable_legend-styles__guid__1feaae .highcharts-a11y-proxy-container {\n pointer-events: none;\n}\n.outlierLegend_legend-styles__guid__1feaae .highcharts-legend-item rect,\n .outlierLegend_legend-styles__guid__1feaae .highcharts-legend-item text {\n pointer-events: none;\n}\n.outlierLegend_legend-styles__guid__1feaae .highcharts-legend-item path + text {\n pointer-events: auto;\n}\n"};
29838
+ var themeLocals = {"enterprise":{"legendItemUnclickable":"legendItemUnclickable_legend-styles__guid__1feaae","legendOverflowUnclickable":"legendOverflowUnclickable_legend-styles__guid__1feaae","outlierLegend":"outlierLegend_legend-styles__guid__1feaae"},"lite":{"legendItemUnclickable":"legendItemUnclickable_legend-styles__guid__1feaae","legendOverflowUnclickable":"legendOverflowUnclickable_legend-styles__guid__1feaae","outlierLegend":"outlierLegend_legend-styles__guid__1feaae"}};
29811
29839
 
29812
29840
  var partialsTheme =
29813
29841
  window.__splunkd_partials__ &&
@@ -30414,8 +30442,8 @@ module.exports = exports['default'];
30414
30442
  /***/ (function(module, exports, __webpack_require__) {
30415
30443
 
30416
30444
  /* WEBPACK VAR INJECTION */(function(module) {
30417
- var styles = {"enterprise":".button_button-styles__guid__d5d18b {\n -webkit-animation: none 0s ease 0s 1 normal none running;\n animation: none 0s ease 0s 1 normal none running;\n -webkit-backface-visibility: visible;\n backface-visibility: visible;\n background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;\n border: medium none currentColor;\n border-collapse: separate;\n -webkit-border-image: none;\n border-image: none;\n border-radius: 0;\n border-spacing: 0;\n bottom: auto;\n box-shadow: none;\n box-sizing: content-box;\n caption-side: top;\n clear: none;\n clip: auto;\n color: #000;\n -webkit-columns: auto;\n columns: auto;\n -webkit-column-count: auto;\n column-count: auto;\n -webkit-column-fill: balance;\n column-fill: balance;\n -webkit-column-gap: normal;\n column-gap: normal;\n -webkit-column-rule: medium none currentColor;\n column-rule: medium none currentColor;\n -webkit-column-span: 1;\n column-span: 1;\n -webkit-column-width: auto;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n cursor: auto;\n direction: ltr;\n display: inline;\n empty-cells: show;\n float: none;\n font-family: serif;\n font-size: medium;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n font-stretch: normal;\n line-height: normal;\n height: auto;\n -webkit-hyphens: none;\n -ms-hyphens: none;\n hyphens: none;\n left: auto;\n letter-spacing: normal;\n list-style: disc outside none;\n margin: 0;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n opacity: 1;\n orphans: 2;\n outline: medium none invert;\n overflow: visible;\n overflow-x: visible;\n overflow-y: visible;\n padding: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n -webkit-perspective: none;\n perspective: none;\n -webkit-perspective-origin: 50% 50%;\n perspective-origin: 50% 50%;\n position: static;\n right: auto;\n -moz-tab-size: 8;\n tab-size: 8;\n table-layout: auto;\n text-align: left;\n text-align-last: auto;\n text-decoration: none;\n text-indent: 0;\n text-shadow: none;\n text-transform: none;\n top: auto;\n -webkit-transform: none;\n transform: none;\n -webkit-transform-origin: 50% 50% 0;\n transform-origin: 50% 50% 0;\n -webkit-transform-style: flat;\n transform-style: flat;\n -webkit-transition: none 0s ease 0s;\n transition: none 0s ease 0s;\n unicode-bidi: normal;\n vertical-align: baseline;\n visibility: visible;\n white-space: normal;\n widows: 2;\n width: auto;\n word-spacing: normal;\n z-index: auto;\n font-family: 'Splunk Platform Sans', 'Proxima Nova', Roboto, Droid, 'Helvetica Neue', Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 20px;\n color: #3c444d;\n box-sizing: border-box;\n display: inline-block;\n border-width: 1px;\n visibility: inherit;\n outline: medium none #00a4fd;\n background: rgba(60, 68, 77, 0.4);\n border-radius: 3px;\n color: #ffffff;\n cursor: pointer;\n font-size: 12px;\n line-height: 27px;\n padding: 0 10px;\n z-index: 9999;\n}\n/* Fix for oversized buttons in Firefox */\n.button_button-styles__guid__d5d18b::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n/* states */\n.button_button-styles__guid__d5d18b:hover,\n .button_button-styles__guid__d5d18b:active {\n background: rgba(60, 68, 77, 0.35);\n color: #ffffff;\n}\n.button_button-styles__guid__d5d18b:focus {\n border-color: rgba(0, 164, 253, 0.8);\n color: #00a4fd;\n}\n.button_button-styles__guid__d5d18b[disabled] {\n background: transparent;\n color: #c3cbd4;\n cursor: default;\n}\n.button_button-styles__guid__d5d18b[disabled]:hover {\n background: transparent;\n color: #c3cbd4;\n cursor: default;\n}\n.button-dark-theme_button-styles__guid__d5d18b {\n background: rgb(60, 68, 77);\n}\n.button-dark-theme_button-styles__guid__d5d18b:hover,\n .button-dark-theme_button-styles__guid__d5d18b:active {\n background: rgb(92, 103, 115);\n color: #ffffff;\n}\n.button-dark-theme_button-styles__guid__d5d18b:focus {\n background: #2b3033;\n /* $gray23 */\n color: #006eaa;\n /* $accentColorD10 */\n}\n.panButton_button-styles__guid__d5d18b {\n border-radius: 1px;\n line-height: 10px;\n padding: 4px 5px;\n}\n.panButtonDark_button-styles__guid__d5d18b {\n border-radius: 1px;\n line-height: 10px;\n padding: 4px 5px;\n}\n.resetZoomButton_button-styles__guid__d5d18b {\n margin-top: 5px;\n margin-right: 10px;\n}\n.resetZoomButtonDark_button-styles__guid__d5d18b {\n margin-top: 5px;\n margin-right: 10px;\n}\n.resetZoomIcon_button-styles__guid__d5d18b {\n margin-right: 3px;\n}\n","lite":".button_button-styles__guid__d5d18b {\n -webkit-animation: none 0s ease 0s 1 normal none running;\n animation: none 0s ease 0s 1 normal none running;\n -webkit-backface-visibility: visible;\n backface-visibility: visible;\n background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;\n border: medium none currentColor;\n border-collapse: separate;\n -webkit-border-image: none;\n border-image: none;\n border-radius: 0;\n border-spacing: 0;\n bottom: auto;\n box-shadow: none;\n box-sizing: content-box;\n caption-side: top;\n clear: none;\n clip: auto;\n color: #000;\n -webkit-columns: auto;\n columns: auto;\n -webkit-column-count: auto;\n column-count: auto;\n -webkit-column-fill: balance;\n column-fill: balance;\n -webkit-column-gap: normal;\n column-gap: normal;\n -webkit-column-rule: medium none currentColor;\n column-rule: medium none currentColor;\n -webkit-column-span: 1;\n column-span: 1;\n -webkit-column-width: auto;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n cursor: auto;\n direction: ltr;\n display: inline;\n empty-cells: show;\n float: none;\n font-family: serif;\n font-size: medium;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n font-stretch: normal;\n line-height: normal;\n height: auto;\n -webkit-hyphens: none;\n -ms-hyphens: none;\n hyphens: none;\n left: auto;\n letter-spacing: normal;\n list-style: disc outside none;\n margin: 0;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n opacity: 1;\n orphans: 2;\n outline: medium none invert;\n overflow: visible;\n overflow-x: visible;\n overflow-y: visible;\n padding: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n -webkit-perspective: none;\n perspective: none;\n -webkit-perspective-origin: 50% 50%;\n perspective-origin: 50% 50%;\n position: static;\n right: auto;\n -moz-tab-size: 8;\n tab-size: 8;\n table-layout: auto;\n text-align: left;\n text-align-last: auto;\n text-decoration: none;\n text-indent: 0;\n text-shadow: none;\n text-transform: none;\n top: auto;\n -webkit-transform: none;\n transform: none;\n -webkit-transform-origin: 50% 50% 0;\n transform-origin: 50% 50% 0;\n -webkit-transform-style: flat;\n transform-style: flat;\n -webkit-transition: none 0s ease 0s;\n transition: none 0s ease 0s;\n unicode-bidi: normal;\n vertical-align: baseline;\n visibility: visible;\n white-space: normal;\n widows: 2;\n width: auto;\n word-spacing: normal;\n z-index: auto;\n font-family: 'Splunk Platform Sans', 'Proxima Nova', Roboto, Droid, 'Helvetica Neue', Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 20px;\n color: #3c444d;\n box-sizing: border-box;\n display: inline-block;\n border-width: 1px;\n visibility: inherit;\n outline: medium none #00a4fd;\n background: rgba(60, 68, 77, 0.4);\n border-radius: 3px;\n color: #ffffff;\n cursor: pointer;\n font-size: 12px;\n line-height: 27px;\n padding: 0 10px;\n z-index: 9999;\n}\n/* Fix for oversized buttons in Firefox */\n.button_button-styles__guid__d5d18b::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n/* states */\n.button_button-styles__guid__d5d18b:hover,\n .button_button-styles__guid__d5d18b:active {\n background: rgba(60, 68, 77, 0.35);\n color: #ffffff;\n}\n.button_button-styles__guid__d5d18b:focus {\n border-color: rgba(0, 164, 253, 0.8);\n color: #00a4fd;\n}\n.button_button-styles__guid__d5d18b[disabled] {\n background: transparent;\n color: #c3cbd4;\n cursor: default;\n}\n.button_button-styles__guid__d5d18b[disabled]:hover {\n background: transparent;\n color: #c3cbd4;\n cursor: default;\n}\n.button-dark-theme_button-styles__guid__d5d18b {\n background: rgb(60, 68, 77);\n}\n.button-dark-theme_button-styles__guid__d5d18b:hover,\n .button-dark-theme_button-styles__guid__d5d18b:active {\n background: rgb(92, 103, 115);\n color: #ffffff;\n}\n.button-dark-theme_button-styles__guid__d5d18b:focus {\n background: #2b3033;\n /* $gray23 */\n color: #006eaa;\n /* $accentColorD10 */\n}\n.panButton_button-styles__guid__d5d18b {\n border-radius: 1px;\n line-height: 10px;\n padding: 4px 5px;\n}\n.panButtonDark_button-styles__guid__d5d18b {\n border-radius: 1px;\n line-height: 10px;\n padding: 4px 5px;\n}\n.resetZoomButton_button-styles__guid__d5d18b {\n margin-top: 5px;\n margin-right: 10px;\n}\n.resetZoomButtonDark_button-styles__guid__d5d18b {\n margin-top: 5px;\n margin-right: 10px;\n}\n.resetZoomIcon_button-styles__guid__d5d18b {\n margin-right: 3px;\n}\n"};
30418
- var themeLocals = {"enterprise":{"button":"button_button-styles__guid__d5d18b","button-dark-theme":"button-dark-theme_button-styles__guid__d5d18b button_button-styles__guid__d5d18b","panButton":"panButton_button-styles__guid__d5d18b button_button-styles__guid__d5d18b","panButtonDark":"panButtonDark_button-styles__guid__d5d18b button-dark-theme_button-styles__guid__d5d18b button_button-styles__guid__d5d18b","resetZoomButton":"resetZoomButton_button-styles__guid__d5d18b button_button-styles__guid__d5d18b","resetZoomButtonDark":"resetZoomButtonDark_button-styles__guid__d5d18b button-dark-theme_button-styles__guid__d5d18b button_button-styles__guid__d5d18b","resetZoomIcon":"resetZoomIcon_button-styles__guid__d5d18b"},"lite":{"button":"button_button-styles__guid__d5d18b","button-dark-theme":"button-dark-theme_button-styles__guid__d5d18b button_button-styles__guid__d5d18b","panButton":"panButton_button-styles__guid__d5d18b button_button-styles__guid__d5d18b","panButtonDark":"panButtonDark_button-styles__guid__d5d18b button-dark-theme_button-styles__guid__d5d18b button_button-styles__guid__d5d18b","resetZoomButton":"resetZoomButton_button-styles__guid__d5d18b button_button-styles__guid__d5d18b","resetZoomButtonDark":"resetZoomButtonDark_button-styles__guid__d5d18b button-dark-theme_button-styles__guid__d5d18b button_button-styles__guid__d5d18b","resetZoomIcon":"resetZoomIcon_button-styles__guid__d5d18b"}};
30445
+ var styles = {"enterprise":".button_button-styles__guid__1feaae {\n -webkit-animation: none 0s ease 0s 1 normal none running;\n animation: none 0s ease 0s 1 normal none running;\n -webkit-backface-visibility: visible;\n backface-visibility: visible;\n background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;\n border: medium none currentColor;\n border-collapse: separate;\n -webkit-border-image: none;\n border-image: none;\n border-radius: 0;\n border-spacing: 0;\n bottom: auto;\n box-shadow: none;\n box-sizing: content-box;\n caption-side: top;\n clear: none;\n clip: auto;\n color: #000;\n -webkit-columns: auto;\n columns: auto;\n -webkit-column-count: auto;\n column-count: auto;\n -webkit-column-fill: balance;\n column-fill: balance;\n -webkit-column-gap: normal;\n column-gap: normal;\n -webkit-column-rule: medium none currentColor;\n column-rule: medium none currentColor;\n -webkit-column-span: 1;\n column-span: 1;\n -webkit-column-width: auto;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n cursor: auto;\n direction: ltr;\n display: inline;\n empty-cells: show;\n float: none;\n font-family: serif;\n font-size: medium;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n font-stretch: normal;\n line-height: normal;\n height: auto;\n -webkit-hyphens: none;\n -ms-hyphens: none;\n hyphens: none;\n left: auto;\n letter-spacing: normal;\n list-style: disc outside none;\n margin: 0;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n opacity: 1;\n orphans: 2;\n outline: medium none invert;\n overflow: visible;\n overflow-x: visible;\n overflow-y: visible;\n padding: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n -webkit-perspective: none;\n perspective: none;\n -webkit-perspective-origin: 50% 50%;\n perspective-origin: 50% 50%;\n position: static;\n right: auto;\n -moz-tab-size: 8;\n tab-size: 8;\n table-layout: auto;\n text-align: left;\n text-align-last: auto;\n text-decoration: none;\n text-indent: 0;\n text-shadow: none;\n text-transform: none;\n top: auto;\n -webkit-transform: none;\n transform: none;\n -webkit-transform-origin: 50% 50% 0;\n transform-origin: 50% 50% 0;\n -webkit-transform-style: flat;\n transform-style: flat;\n -webkit-transition: none 0s ease 0s;\n transition: none 0s ease 0s;\n unicode-bidi: normal;\n vertical-align: baseline;\n visibility: visible;\n white-space: normal;\n widows: 2;\n width: auto;\n word-spacing: normal;\n z-index: auto;\n font-family: 'Splunk Platform Sans', 'Proxima Nova', Roboto, Droid, 'Helvetica Neue', Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 20px;\n color: #3c444d;\n box-sizing: border-box;\n display: inline-block;\n border-width: 1px;\n visibility: inherit;\n outline: medium none #00a4fd;\n background: rgba(60, 68, 77, 0.4);\n border-radius: 3px;\n color: #ffffff;\n cursor: pointer;\n font-size: 12px;\n line-height: 27px;\n padding: 0 10px;\n z-index: 9999;\n}\n/* Fix for oversized buttons in Firefox */\n.button_button-styles__guid__1feaae::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n/* states */\n.button_button-styles__guid__1feaae:hover,\n .button_button-styles__guid__1feaae:active {\n background: rgba(60, 68, 77, 0.35);\n color: #ffffff;\n}\n.button_button-styles__guid__1feaae:focus {\n border-color: rgba(0, 164, 253, 0.8);\n color: #00a4fd;\n}\n.button_button-styles__guid__1feaae[disabled] {\n background: transparent;\n color: #c3cbd4;\n cursor: default;\n}\n.button_button-styles__guid__1feaae[disabled]:hover {\n background: transparent;\n color: #c3cbd4;\n cursor: default;\n}\n.button-dark-theme_button-styles__guid__1feaae {\n background: rgb(60, 68, 77);\n}\n.button-dark-theme_button-styles__guid__1feaae:hover,\n .button-dark-theme_button-styles__guid__1feaae:active {\n background: rgb(92, 103, 115);\n color: #ffffff;\n}\n.button-dark-theme_button-styles__guid__1feaae:focus {\n background: #2b3033;\n /* $gray23 */\n color: #006eaa;\n /* $accentColorD10 */\n}\n.panButton_button-styles__guid__1feaae {\n border-radius: 1px;\n line-height: 10px;\n padding: 4px 5px;\n}\n.panButtonDark_button-styles__guid__1feaae {\n border-radius: 1px;\n line-height: 10px;\n padding: 4px 5px;\n}\n.resetZoomButton_button-styles__guid__1feaae {\n margin-top: 5px;\n margin-right: 10px;\n}\n.resetZoomButtonDark_button-styles__guid__1feaae {\n margin-top: 5px;\n margin-right: 10px;\n}\n.resetZoomIcon_button-styles__guid__1feaae {\n margin-right: 3px;\n}\n","lite":".button_button-styles__guid__1feaae {\n -webkit-animation: none 0s ease 0s 1 normal none running;\n animation: none 0s ease 0s 1 normal none running;\n -webkit-backface-visibility: visible;\n backface-visibility: visible;\n background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;\n border: medium none currentColor;\n border-collapse: separate;\n -webkit-border-image: none;\n border-image: none;\n border-radius: 0;\n border-spacing: 0;\n bottom: auto;\n box-shadow: none;\n box-sizing: content-box;\n caption-side: top;\n clear: none;\n clip: auto;\n color: #000;\n -webkit-columns: auto;\n columns: auto;\n -webkit-column-count: auto;\n column-count: auto;\n -webkit-column-fill: balance;\n column-fill: balance;\n -webkit-column-gap: normal;\n column-gap: normal;\n -webkit-column-rule: medium none currentColor;\n column-rule: medium none currentColor;\n -webkit-column-span: 1;\n column-span: 1;\n -webkit-column-width: auto;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n cursor: auto;\n direction: ltr;\n display: inline;\n empty-cells: show;\n float: none;\n font-family: serif;\n font-size: medium;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n font-stretch: normal;\n line-height: normal;\n height: auto;\n -webkit-hyphens: none;\n -ms-hyphens: none;\n hyphens: none;\n left: auto;\n letter-spacing: normal;\n list-style: disc outside none;\n margin: 0;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n opacity: 1;\n orphans: 2;\n outline: medium none invert;\n overflow: visible;\n overflow-x: visible;\n overflow-y: visible;\n padding: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n -webkit-perspective: none;\n perspective: none;\n -webkit-perspective-origin: 50% 50%;\n perspective-origin: 50% 50%;\n position: static;\n right: auto;\n -moz-tab-size: 8;\n tab-size: 8;\n table-layout: auto;\n text-align: left;\n text-align-last: auto;\n text-decoration: none;\n text-indent: 0;\n text-shadow: none;\n text-transform: none;\n top: auto;\n -webkit-transform: none;\n transform: none;\n -webkit-transform-origin: 50% 50% 0;\n transform-origin: 50% 50% 0;\n -webkit-transform-style: flat;\n transform-style: flat;\n -webkit-transition: none 0s ease 0s;\n transition: none 0s ease 0s;\n unicode-bidi: normal;\n vertical-align: baseline;\n visibility: visible;\n white-space: normal;\n widows: 2;\n width: auto;\n word-spacing: normal;\n z-index: auto;\n font-family: 'Splunk Platform Sans', 'Proxima Nova', Roboto, Droid, 'Helvetica Neue', Helvetica, Arial, sans-serif;\n font-size: 14px;\n line-height: 20px;\n color: #3c444d;\n box-sizing: border-box;\n display: inline-block;\n border-width: 1px;\n visibility: inherit;\n outline: medium none #00a4fd;\n background: rgba(60, 68, 77, 0.4);\n border-radius: 3px;\n color: #ffffff;\n cursor: pointer;\n font-size: 12px;\n line-height: 27px;\n padding: 0 10px;\n z-index: 9999;\n}\n/* Fix for oversized buttons in Firefox */\n.button_button-styles__guid__1feaae::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n/* states */\n.button_button-styles__guid__1feaae:hover,\n .button_button-styles__guid__1feaae:active {\n background: rgba(60, 68, 77, 0.35);\n color: #ffffff;\n}\n.button_button-styles__guid__1feaae:focus {\n border-color: rgba(0, 164, 253, 0.8);\n color: #00a4fd;\n}\n.button_button-styles__guid__1feaae[disabled] {\n background: transparent;\n color: #c3cbd4;\n cursor: default;\n}\n.button_button-styles__guid__1feaae[disabled]:hover {\n background: transparent;\n color: #c3cbd4;\n cursor: default;\n}\n.button-dark-theme_button-styles__guid__1feaae {\n background: rgb(60, 68, 77);\n}\n.button-dark-theme_button-styles__guid__1feaae:hover,\n .button-dark-theme_button-styles__guid__1feaae:active {\n background: rgb(92, 103, 115);\n color: #ffffff;\n}\n.button-dark-theme_button-styles__guid__1feaae:focus {\n background: #2b3033;\n /* $gray23 */\n color: #006eaa;\n /* $accentColorD10 */\n}\n.panButton_button-styles__guid__1feaae {\n border-radius: 1px;\n line-height: 10px;\n padding: 4px 5px;\n}\n.panButtonDark_button-styles__guid__1feaae {\n border-radius: 1px;\n line-height: 10px;\n padding: 4px 5px;\n}\n.resetZoomButton_button-styles__guid__1feaae {\n margin-top: 5px;\n margin-right: 10px;\n}\n.resetZoomButtonDark_button-styles__guid__1feaae {\n margin-top: 5px;\n margin-right: 10px;\n}\n.resetZoomIcon_button-styles__guid__1feaae {\n margin-right: 3px;\n}\n"};
30446
+ var themeLocals = {"enterprise":{"button":"button_button-styles__guid__1feaae","button-dark-theme":"button-dark-theme_button-styles__guid__1feaae button_button-styles__guid__1feaae","panButton":"panButton_button-styles__guid__1feaae button_button-styles__guid__1feaae","panButtonDark":"panButtonDark_button-styles__guid__1feaae button-dark-theme_button-styles__guid__1feaae button_button-styles__guid__1feaae","resetZoomButton":"resetZoomButton_button-styles__guid__1feaae button_button-styles__guid__1feaae","resetZoomButtonDark":"resetZoomButtonDark_button-styles__guid__1feaae button-dark-theme_button-styles__guid__1feaae button_button-styles__guid__1feaae","resetZoomIcon":"resetZoomIcon_button-styles__guid__1feaae"},"lite":{"button":"button_button-styles__guid__1feaae","button-dark-theme":"button-dark-theme_button-styles__guid__1feaae button_button-styles__guid__1feaae","panButton":"panButton_button-styles__guid__1feaae button_button-styles__guid__1feaae","panButtonDark":"panButtonDark_button-styles__guid__1feaae button-dark-theme_button-styles__guid__1feaae button_button-styles__guid__1feaae","resetZoomButton":"resetZoomButton_button-styles__guid__1feaae button_button-styles__guid__1feaae","resetZoomButtonDark":"resetZoomButtonDark_button-styles__guid__1feaae button-dark-theme_button-styles__guid__1feaae button_button-styles__guid__1feaae","resetZoomIcon":"resetZoomIcon_button-styles__guid__1feaae"}};
30419
30447
 
30420
30448
  var partialsTheme =
30421
30449
  window.__splunkd_partials__ &&
@@ -32308,6 +32336,8 @@ _jquery2.default.extend(OutlierSeries.prototype, {
32308
32336
  });
32309
32337
  },
32310
32338
  setData: function setData(inputData) {
32339
+ var oldData = this.data;
32340
+ this.data = inputData;
32311
32341
  inputData.actual = (0, _underscore2.default)(inputData.actual).map(function (point, i) {
32312
32342
  if (inputData.isOutlier[i] === 1) {
32313
32343
  return { y: point, isOutlier: true };
@@ -32337,6 +32367,9 @@ _jquery2.default.extend(OutlierSeries.prototype, {
32337
32367
  y: inputData.upper,
32338
32368
  x: inputData.x
32339
32369
  });
32370
+ if (!_underscore2.default.isEqual(this.data, oldData)) {
32371
+ this._dataIsDirty = true;
32372
+ }
32340
32373
  },
32341
32374
  getActualSeriesProperties: function getActualSeriesProperties() {
32342
32375
  return _jquery2.default.extend({}, this.properties, {