Browse Source

Fix clip when resize with legend update - #64

pull/80/head
Masayuki Tanaka 11 years ago
parent
commit
e5165c0a61
  1. 7
      c3.js
  2. 2
      c3.min.js

7
c3.js

@ -2295,7 +2295,7 @@
// update legend
if (withLegend && __legend_show) {
updateLegend(c3.data.targets, options);
return; // call in updateLegend again with same options
return; // updateAndRedraw() will be called again in updateLegend()
}
if (withUpdateOrgXDomain) {
@ -3045,11 +3045,8 @@
updateLegendItemWidth(maxWidth);
updateLegendItemHeight(maxHeight);
updateLegndStep(step);
updateSizes();
updateScales();
transformAll(false);
options.withLegend = false;
redraw(options);
updateAndRedraw(options);
}
/*-- Event Handling --*/

2
c3.min.js vendored

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