Browse Source

Fix region, text and grid when updated - #922

pull/929/head
Masayuki Tanaka 10 years ago
parent
commit
1635f41a35
  1. 3
      c3.js
  2. 10
      c3.min.js
  3. 3
      src/core.js

3
c3.js

@ -656,6 +656,9 @@
$$.redrawLine(drawLine); $$.redrawLine(drawLine);
$$.redrawArea(drawArea); $$.redrawArea(drawArea);
$$.redrawCircle(cx, cy); $$.redrawCircle(cx, cy);
$$.redrawText(xForText, yForText, options.flow);
$$.redrawRegion();
$$.redrawGrid();
if (config.onrendered) { if (config.onrendered) {
config.onrendered.call($$); config.onrendered.call($$);
} }

10
c3.min.js vendored

File diff suppressed because one or more lines are too long

3
src/core.js

@ -651,6 +651,9 @@ c3_chart_internal_fn.redraw = function (options, transitions) {
$$.redrawLine(drawLine); $$.redrawLine(drawLine);
$$.redrawArea(drawArea); $$.redrawArea(drawArea);
$$.redrawCircle(cx, cy); $$.redrawCircle(cx, cy);
$$.redrawText(xForText, yForText, options.flow);
$$.redrawRegion();
$$.redrawGrid();
if (config.onrendered) { if (config.onrendered) {
config.onrendered.call($$); config.onrendered.call($$);
} }

Loading…
Cancel
Save