@progress/kendo-charts 2.13.0-develop.3 → 2.13.0-develop.5

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.
@@ -895,7 +895,7 @@ class Chart {
895
895
  this.surface.resumeTracking();
896
896
  }
897
897
  this._zooming = false;
898
- this.trigger(ZOOM_END, {});
898
+ this.trigger(ZOOM_END, { axisRanges: axisRanges(this._plotArea.axes), originalEvent: e });
899
899
  }
900
900
  }
901
901
 
@@ -41,11 +41,11 @@ class Sparkline extends Chart {
41
41
 
42
42
  _resize() {
43
43
  const element = this.element;
44
- const state = hide(element.childNodes);
44
+ const state = hide(element.children);
45
45
 
46
46
  this._initialWidth = Math.floor(elementSize(element).width);
47
47
 
48
- show(element.childNodes, state);
48
+ show(element.children, state);
49
49
 
50
50
  super._resize();
51
51
  }
@@ -53,7 +53,7 @@ class Sparkline extends Chart {
53
53
  _modelOptions() {
54
54
  const chartOptions = this.options;
55
55
  const stage = this._surfaceWrap();
56
- const displayState = hide(stage.childNodes);
56
+ const displayState = hide(stage.children);
57
57
 
58
58
  const space = document.createElement('span');
59
59
  space.innerHTML = ' ';
@@ -76,7 +76,7 @@ class Sparkline extends Chart {
76
76
 
77
77
  stage.removeChild(space);
78
78
 
79
- show(stage.childNodes, displayState);
79
+ show(stage.children, displayState);
80
80
 
81
81
  if (this.surface) {
82
82
  this.surface.resize();
@@ -895,7 +895,7 @@ class Chart {
895
895
  this.surface.resumeTracking();
896
896
  }
897
897
  this._zooming = false;
898
- this.trigger(ZOOM_END, {});
898
+ this.trigger(ZOOM_END, { axisRanges: axisRanges(this._plotArea.axes), originalEvent: e });
899
899
  }
900
900
  }
901
901
 
@@ -41,11 +41,11 @@ class Sparkline extends Chart {
41
41
 
42
42
  _resize() {
43
43
  const element = this.element;
44
- const state = hide(element.childNodes);
44
+ const state = hide(element.children);
45
45
 
46
46
  this._initialWidth = Math.floor(elementSize(element).width);
47
47
 
48
- show(element.childNodes, state);
48
+ show(element.children, state);
49
49
 
50
50
  super._resize();
51
51
  }
@@ -53,7 +53,7 @@ class Sparkline extends Chart {
53
53
  _modelOptions() {
54
54
  const chartOptions = this.options;
55
55
  const stage = this._surfaceWrap();
56
- const displayState = hide(stage.childNodes);
56
+ const displayState = hide(stage.children);
57
57
 
58
58
  const space = document.createElement('span');
59
59
  space.innerHTML = ' ';
@@ -76,7 +76,7 @@ class Sparkline extends Chart {
76
76
 
77
77
  stage.removeChild(space);
78
78
 
79
- show(stage.childNodes, displayState);
79
+ show(stage.children, displayState);
80
80
 
81
81
  if (this.surface) {
82
82
  this.surface.resize();