English 中文(简体)
How to create Google Chart with lines (series) of different lengths?
原标题:

How do I create a Google Line Chart that displays two or more lines, with a different number of data points in each series?

For instance, I want to create a chart with 2 lines, one showing the expected values over time and another showing the actual values over time. The date range and expected values are known in advance so I can fully graph them, but the actual values may not be fully known yet (e.g. the date range covers some dates in the future).

最佳回答

I found the answer in this SO question. The solution is to use "_" (or "__", depending on the encoding of the data values) to indicate "no value".

For instance, one data series might be 10,7,3,1 and the other might be 10,6,_,_.

问题回答

暂无回答




相关问题
Google Charts: chxl and bhg

http://chart.apis.google.com/chart?cht=bhg&chd=t:3771.5,3220|5508.25,5366.75& chs=400x200&chds=0,9000&chxt=x&chxr=0,0,9000& chm=N*cUSD2s*,000000,0,-1,11|N*cUSD2s*,000000,1,-1,...

出口谷歌视觉图像是没有任何途径?

出口谷歌视觉组织图作为形象是否有任何途径? 我想,这是我网站的一个特点,因此人们可以点击一个 but子或一个链接,......

Google Visualization API - Org Chart Layout

Using the Org Chart in the Google Visualization API, is there a way to flip the chart to a vertical layout instead of horizontal.

How to disable Google Visualizations Tool Tips?

Does anyone know how to disable the tool-tip boxes that popup when a Google Visualizations chart is clicked (Selected)? Following the sample code at Getting Started with Visualizations, the "...

热门标签