简体   繁体   English

Google Visualization API - 在一个图表上划线和分散

[英]Google Visualization API - Line and Scatter on one Chart

Does any one know if it is possible to use the Default Google Scatter Chart in the Google Visualizations Gallery to draw a scatter chart that has both a series with points only, a series with a line of best fit and on top of this a set of lines across the chart indicating limits. 是否有人知道是否可以使用Google可视化图库中的默认Google散点图来绘制散点图,该散点图同时包含仅包含点的系列,具有最佳拟合线的系列,并且在此基础上创建一组图表中的线条表示限制。 ie at +/- 20% etc. 即+/- 20%等

The chart we need is actually a Control Chart with multiple series and individual formatting of each series displayed on the chart. 我们需要的图表实际上是一个控制图表,其中包含多个系列和图表上显示的每个系列的单独格式。 ie some series with only points other series with a line of best fit. 即一些系列只有点其他系列与最佳拟合线。

Does any one know of a Control Chart that has already been done using the Google Visualization API? 有没有人知道使用Google Visualization API完成的控制图?

After working with the google visualization api for a while and searching the web I would have to say that the answer here is no. 在使用google visual api一段时间并在网上搜索后,我不得不说这里的答案是否定的。

You would have to build your own custom chart and from working with the api for a while I would rather do this with another charting library like jqPlot. 您将不得不构建自己的自定义图表,并使用api一段时间,我宁愿使用另一个图表库,如jqPlot。

You can make separate line sets in the google scatterchart. 您可以在Google散点图中创建单独的行集。 The examples are on the scatterchart page. 示例位于散点图页面上。

http://code.google.com/apis/chart/docs/gallery/scatter_charts.html http://code.google.com/apis/chart/docs/gallery/scatter_charts.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM