开发者

Google chart API labels

I have created a barchart with the API, but the names on the x-axis are too long and being cut off. Is there any way to fix this, like rotating them or moving them 开发者_如何转开发further down?

I have not been able to find anything in the documentation


Set the chartArea.height to a smaller size.

... { width: 400, chartArea: { height: 200 }, ...

You can do the same with width, depending on which axis you are having a problem with.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜