Skip to content

Commit ce7a37a

Browse files
committed
Fixed event example rendering in the documentation
1 parent 3ddb55a commit ce7a37a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/tutorial/events.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ Promise.all([dataLoaded, mdChartLoaded]).then((results) => {
144144
},
145145
(chart) => {
146146
chart.on("background-draw", backgroundImageHandler);
147+
chart.render.updateFrame(true);
147148
chart = chart.animate(
148149
{
149150
style: {

0 commit comments

Comments
 (0)