Skip to content

Commit 1d7995a

Browse files
committed
fix initial rendering
1 parent 3060454 commit 1d7995a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/angular-fusioncharts.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,8 @@
752752
false
753753
);
754754
createWatchersForAttrs(scope.datasourceDt);
755+
// set the data anyway, initially.
756+
chart.setJSONData(scope.datasourceDt);
755757
} else if (scope.datasourceDt) {
756758
attrs.datasourceDt = scope.datasourceDt;
757759
chartConfigObject.dataSource = scope.datasourceDt;

0 commit comments

Comments
 (0)