We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74707b2 commit 0051ab2Copy full SHA for 0051ab2
src/angular-fusioncharts.js
@@ -55,13 +55,19 @@
55
'width': {
56
ifExist: false,
57
observer: function (newVal) {
58
- chart.resizeTo(scope.width, scope.height);
+ if (newVal) {
59
+ chartConfigObject.width = newVal;
60
+ chart.resizeTo(scope.width, scope.height);
61
+ }
62
}
63
},
64
'height': {
65
66
67
+ if (newVal){
68
+ chartConfigObject.height = newVal;
69
70
71
72
73
'chart': {
0 commit comments