@splunk/visualizations 26.4.0 → 26.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Area.js CHANGED
@@ -781,7 +781,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
781
781
 
782
782
  return React.createElement(FixSizeItem, {
783
783
  "data-test": "fix-size-item",
784
- "data-splunk-visualization-version": "26.4.0 - 04078274d",
784
+ "data-splunk-visualization-version": "26.4.2 - 93f66a2b8",
785
785
  width: width,
786
786
  height: height,
787
787
  backgroundColor: backgroundColor
@@ -2320,7 +2320,7 @@ var Cover = styled_components_1.default.div.withConfig({
2320
2320
  componentId: "sc-1gsbnxb-0"
2321
2321
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
2322
2322
  var Blocker = styled_components_1.default.div.attrs({
2323
- 'data-splunk-visualization-version': "26.4.0 - 04078274d"
2323
+ 'data-splunk-visualization-version': "26.4.2 - 93f66a2b8"
2324
2324
  }).withConfig({
2325
2325
  displayName: "withEditModeCover__Blocker",
2326
2326
  componentId: "sc-1gsbnxb-1"
@@ -3325,7 +3325,16 @@ var Charting = function Charting(props) {
3325
3325
  charting_bundle_1.default.setColorPalette(colorPalette);
3326
3326
  }
3327
3327
 
3328
- chart.current.prepareAndDraw(chartData, updatedOptions, function () {});
3328
+ chart.current.prepareAndDraw(chartData, updatedOptions, function () {
3329
+ onEventTrigger({
3330
+ type: 'viz.renderedWithData',
3331
+ payload: {
3332
+ width: width,
3333
+ height: height,
3334
+ currentTime: new Date().getTime()
3335
+ }
3336
+ });
3337
+ });
3329
3338
  }
3330
3339
 
3331
3340
  if (chart.current) {
@@ -4681,7 +4690,8 @@ var computeVizProps = function computeVizProps(_a) {
4681
4690
 
4682
4691
 
4683
4692
  var computedProps = {
4684
- visualizationApiRef: visualizationApiRef
4693
+ visualizationApiRef: visualizationApiRef,
4694
+ onEventTrigger: onEventTrigger
4685
4695
  };
4686
4696
  var y2 = otherOptions.y2,
4687
4697
  y2Fields = otherOptions.y2Fields,