mirror of https://github.com/masayuki0812/c3.git
Browse Source
Good catch. <code>init()</code> is now only defining the <code>text</code> tag in the main chart. I've moved the setting of the <code>x</code> and <code>y</code> into <code>redraw()</code> along with the label text. <code>x</code> and <code>y</code> are using <code>width</code> and <code>height</code> instead of calculating <code>(getCurrentWidth() - margin.left - margin.right)</code> as before. Indentation corrected as well, so Travis CI shouldn't error out on that either.pull/275/head
Brandon Bernal
11 years ago
1 changed files with 10 additions and 7 deletions
Loading…
Reference in new issue