Google Charts:带有柱形图和折线图的复合图表

发布于 2024-12-22 14:21:57 字数 459 浏览 4 评论 0原文

我想绘制一个带有柱形图和折线图的复合 Google 图表。

我已阅读有关复合图表的文档,但是这些示例都是在 URL 中使用 GET 选项的条形图。

我的图表是柱形图,使用完整的 Google Visualization API 构建< /a> - 不是使用 GET 选项的条形图。

有谁知道是否可以将复合图表添加到柱形图中?

如果是这样,您能举一个使用可视化 API 执行此操作的示例吗?

谢谢。

I'd like to draw a compound Google Chart with a column chart and line chart.

I've read the docs on compound charts, but the examples are all for bar charts using GET options in URLs.

My chart is a column chart, built using the full Google Visualization API - not a bar chart using GET options.

Does anyone know if it's possible to add compound charts to a column chart?

If so, please could you give an example of doing it with the Visualization API?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

≈。彩虹 2024-12-29 14:21:57

查看组合图表:https://developers.google.com/chart/interactive /docs/gallery/combochart

它使用 API 并允许在同一图表上组合折线、面积、条形/柱形、阶梯面积和烛台系列。

Check out the Combo Chart: https://developers.google.com/chart/interactive/docs/gallery/combochart

It uses the API and allows a combination of line, area, bars/columns, stepped area, and candlestick series on the same chart.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文