c3js / c3

:bar_chart: A D3-based reusable chart library
http://c3js.org
MIT License
9.35k stars 1.39k forks source link

Api for changing axes values #1381

Open nidu opened 9 years ago

nidu commented 9 years ago

Hello, is there any way to change axes value parameter with API? I'd like to set values myself because i don't really like existing formatting options, so something like d3.scale.linear().domain([0, 1.51]).ticks() could generate better tick values (with neat roundings). But if my series changes - i can't change axes values without chart reconstructing.

Could you please tell me if there's better way to format ticks or how can I change axes values after chart was created? Thanks.

mgimeno commented 8 years ago

+1 Need to change axis tick values using the API after chart was created.