Commit 49124ebb authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix element setting for async loading

parent 18bca4b0
...@@ -2768,6 +2768,9 @@ ...@@ -2768,6 +2768,9 @@
}); });
window.onresize.add(__onresized); window.onresize.add(__onresized);
} }
// export element of the chart
c3.element = selectChart.node();
} }
function generateEventRectsForSingleX(eventRectEnter) { function generateEventRectsForSingleX(eventRectEnter) {
...@@ -4602,8 +4605,6 @@ ...@@ -4602,8 +4605,6 @@
throw Error('url or rows or columns is required.'); throw Error('url or rows or columns is required.');
} }
c3.element = selectChart.node();
return c3; return c3;
}; };
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment