如何在 google 图表 api 中将线条和条形与两个 y 轴结合起来?
使用谷歌文档,一位同事创建了一个类似于以下内容的图:
我正在尝试使用 Google 图表 api 来复制这个图表,但我遇到了问题,因为图表 api 似乎不允许有两个不同的 y 轴。这可能吗?
Using google docs, a colleague has created a plot similar to:
I'm trying to use Google charts api to replicate this chart, but I'm having issues as the Chart api does not seem to allow having two different y axes. Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这很简单,我只是没有正确阅读文档。您只需在配置中指定 axis 参数,它就应该可以工作。
This is pretty easy and I just didn't read the documentation correctly. You just specify the axes parameter in the configuration and it should just work.