jettro / c3-angular-directive

Contains angularjs directives that use c3js to create good looking graphs
http://jettro.github.io/c3-angular-directive/
MIT License
203 stars 98 forks source link

axis.min and axis.max don't accept decimal numbers #157

Open jeromecyang opened 7 years ago

jeromecyang commented 7 years ago

https://github.com/jettro/c3-angular-directive/blob/master/src/axis-y-directive.js#L103 https://github.com/jettro/c3-angular-directive/blob/master/src/axis-y-directive.js#L106

Since parseInt is used, any decimal place is removed when parsed.