-
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 | ||
spec | ||
.gitignore | ||
.jshintrc | ||
.travis.yml | ||
Gruntfile.coffee | ||
LICENSE | ||
README.md | ||
bower.json | ||
c3.css | ||
c3.js | ||
c3.min.js | ||
component.json | ||
package.json |