I am new to c3 and finding it very helpful. Thanks!
I have a bar chart rotated to make a horizontal bar chart. Possible data values are between 0 and 10. I wish to set the bottom axis to display ticks at 0, 1, 2, .. 10
My chart displays ticks from 0 to one more than the max data value.
eg
if the max data is 8, I get ticks from 0 .. 8 plus an unlabelled one at the 9th position (the last one)
if the max data is 10, I get ticks from 0 .. 11 (11 is the last displayed)
What I would like is ticks from 0 .. 10 with 10 being the last tick on the axis.
I have searched the docs and tried lots of options but cant find the config for this.
Thanks!
Murray
- C3 version 0.4.18:
- D3 version 3:
I am new to c3 and finding it very helpful. Thanks!
I have a bar chart rotated to make a horizontal bar chart. Possible data values are between 0 and 10. I wish to set the bottom axis to display ticks at 0, 1, 2, .. 10
My chart displays ticks from 0 to one more than the max data value.
eg
if the max data is 8, I get ticks from 0 .. 8 plus an unlabelled one at the 9th position (the last one)
if the max data is 10, I get ticks from 0 .. 11 (11 is the last displayed)
What I would like is ticks from 0 .. 10 with 10 being the last tick on the axis.
I have searched the docs and tried lots of options but cant find the config for this.
Thanks!
Murray