@progress/kendo-charts 2.13.0-develop.3 → 2.13.0-develop.4
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.
|
@@ -41,11 +41,11 @@ class Sparkline extends Chart {
|
|
|
41
41
|
|
|
42
42
|
_resize() {
|
|
43
43
|
const element = this.element;
|
|
44
|
-
const state = hide(element.
|
|
44
|
+
const state = hide(element.children);
|
|
45
45
|
|
|
46
46
|
this._initialWidth = Math.floor(elementSize(element).width);
|
|
47
47
|
|
|
48
|
-
show(element.
|
|
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.
|
|
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.
|
|
79
|
+
show(stage.children, displayState);
|
|
80
80
|
|
|
81
81
|
if (this.surface) {
|
|
82
82
|
this.surface.resize();
|
|
@@ -41,11 +41,11 @@ class Sparkline extends Chart {
|
|
|
41
41
|
|
|
42
42
|
_resize() {
|
|
43
43
|
const element = this.element;
|
|
44
|
-
const state = hide(element.
|
|
44
|
+
const state = hide(element.children);
|
|
45
45
|
|
|
46
46
|
this._initialWidth = Math.floor(elementSize(element).width);
|
|
47
47
|
|
|
48
|
-
show(element.
|
|
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.
|
|
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.
|
|
79
|
+
show(stage.children, displayState);
|
|
80
80
|
|
|
81
81
|
if (this.surface) {
|
|
82
82
|
this.surface.resize();
|