Issue between axis.rotated and axis.x.tick.format
Open
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.4k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
Version: 0.4.11 / current dev
Browser: Tested only on Chrome 52
I may be wrong since this is not really obvious from the [documentation](http://c3js.org/reference.html#axis-x-tick-format) but from what I understand the `axis.x.tick.format` callback receive the index of the tick to format.
From what I saw, it works well, I receive 0, 1, 2, 3, ...
Except when I set the `axis.rotated` to `true`.
For a chart with a single `x` tick I get:

To reproduce: https://jsfiddle.net/mcd6ucge/136/
Contributor guide
Assessment
This issue has not been assessed yet.