• Brandon Bernal's avatar
    Suggested changes made · b8a466db
    Brandon Bernal authored
    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.
    b8a466db
Name
Last commit
Last update
htdocs Loading commit data...
spec Loading commit data...
.gitignore Loading commit data...
.jshintrc Loading commit data...
.travis.yml Loading commit data...
Gruntfile.coffee Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
bower.json Loading commit data...
c3.css Loading commit data...
c3.js Loading commit data...
c3.min.js Loading commit data...
component.json Loading commit data...
package.json Loading commit data...