Google Charts API - X-axis Labels Overlay

I have a chart created in Google Charts which can be found here: Chart is generated by Google Charts API . As you can see the x-axis labels are overlapping.

Does anyone know how to solve this?


source to share

1 answer

See docs under Width and spacing (chbh) . Here's this snippet:


- space_between_bars and space_between_groups are in absolute units (or absolute defaults if not specified). the bars will be modified so that all diagrams fit the diagram.

So just add chbh=a

to the parameters. Here's an example with an added option.



All Articles