c3js / c3

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

x-axis categories labels get cut off #2716

Open tjohannto opened 4 years ago

tjohannto commented 4 years ago

C3 version: 0.7.11 D3 version: d3v5 current Browser: current Chrome & current FireFox OS: Windows 10

I use a chart with custom caterories as x-axis ("Day 1",..."Day x") but other that timeseries the space for those labels is not calculated right.

image

padding.bottom did not help.

fiddle showing the problem: https://jsfiddle.net/gothmogg/xgLzhnde/

maybe related to #446, #231, #1155, #1697 ?