Browse Source

Fix element setting for async loading

pull/246/head
Masayuki Tanaka 11 years ago
parent
commit
49124ebb45
  1. 5
      c3.js
  2. 4
      c3.min.js

5
c3.js

@ -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 @@
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;
}; };

4
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save