Javascript Google Chart API - Google 财经图表

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4997823/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-23 15:09:09  来源:igfitidea点击:

Google Chart API - Google Finance Charts

javascriptchartsgoogle-visualization

提问by user387049

I've been trying to create a chart that looks similar to Google's Finance Charts. I've gotten almost everything I want with the Annotated Time Line Chart, except I can't seem to figure out how to incorporate the volume information they have at the bottom of the charts. I was wondering if anybody knew how to do this or where to look, I've been all around their API but can't seem to find it.

我一直在尝试创建一个看起来类似于Google 的 Finance Charts 的图表。我已经通过Annotated Time Line Chart获得了几乎所有我想要的东西,除了我似乎无法弄清楚如何合并它们在图表底部的交易量信息。我想知道是否有人知道如何执行此操作或在哪里查看,我一直在他们的 API 周围,但似乎无法找到它。

回答by user387049

Someone, a real live person - not on Stack, suggested this: http://www.humblesoftware.com/finance/index

有人,一个真正的人 - 不在 Stack 上,提出了这个建议:http: //www.humblesoftware.com/finance/index

Going with that as the answer.

以此作为答案。

回答by cbz

Try using this clone instead?

尝试改用这个克隆?

http://code.google.com/p/time-series-graph/

http://code.google.com/p/time-series-graph/

The Annotated Time Line Chart doesn't include the bar graphing facility along the bottom which Google Finance has - I imagine they have an internal API set that isn't exposed to the external world.

带注释的时间线图不包括 Google Finance 底部的条形图工具 - 我想他们有一个不暴露给外部世界的内部 API 集。

回答by Yervand Aghababyan

IMO this chart looks nearly identical to the original Google Finance chart and is also maintained by Google. It's also a part of the Google charts library wich is pretty awesome by itself.

IMO 该图表看起来与原始的 Google Finance 图表几乎相同,并且也由 Google 维护。它也是谷歌图表库的一部分,它本身就非常棒。

https://developers.google.com/chart/interactive/docs/gallery/annotatedtimeline

https://developers.google.com/chart/interactive/docs/gallery/annotatedtimeline