谷歌图表问题让我抓狂
我尝试通过以下网址生成图表:
除周三和周三外,所有值均为 0周四,他们分别达到 300 和 500。然而,图表中周三和周四的条形长度相同,尽管周三代表 300,周四代表 500。
我已经多次检查了 url 格式,没有发现任何问题。我做错了什么还是这是谷歌图表的错误?
I'm trying to generate a chart via the following url:
The values are 0 for everything except for Wed and Thu when they are 300 and 500 each. However, the bars in the chart are identically long for wed and thur although wed is representing 300 and thu is representing 500.
I've checked the url format many times and can't find any problem with it. Am I doing something wrong or is this a bug with google charts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想通了。
chds
参数必须包含与所有其他值进行比较的数据集的最高值,我已复制 &粘贴我的网址并将“95”作为chds
,这就是为什么 300 和 500 显示相同的原因,更改它解决了问题。I figured it out.
The
chds
argument must contain the highest value of the dataset against which all other values are compared, I had copied & pasted my url and had '95' as thechds
which is why both 300 and 500 showed equally, changing it fixed the problem.可能是规模问题;您可以在垂直条上打印值,例如每 10 个吗?
It might be a scale problem ; can you print values on the vertical bar, every 10 for example ?