带有谷歌图表 API 的垂直标签? [英] Vertical labels with google charts API?

查看:17
本文介绍了带有谷歌图表 API 的垂直标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何使用谷歌图表 API 使 x 轴标签垂直?

Anyone know how to get x-axis labels to be vertical with google charts API?

我需要在一个小图表中放入很多标签.

I need to fit a lot of labels in a small chart.

谢谢

推荐答案

无论如何,API 不提供获取垂直 x 轴标签的功能(除非我错过了它,因为我也需要它)我们所做的是数据点的组合标签和常规 x 轴标签 - 不完美但有效

The API does not provide anyway to get verticle x-axis labels (unless i missed it cause i need it too) what we did was a combination of datapoint point labels and regular x-axis labels - not perfect but works

如果您需要更多控制,可以尝试使用 Dundas 图表之类的东西

Might try something like Dundas charts if you need more control

这篇关于带有谷歌图表 API 的垂直标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆