English 中文(简体)
谷歌图表——当Y米范围发生变化时,图表正确无误的直观
原标题:Google charts - when Y range is changed, graph doesn t scale correctly

I m using a simple Google chart to picture a benchmark: alt text

Since most data is located between 50 and 100 I tried to make the range a bit smaller but this results in an incorrect graph. alt text

www.un.org/Depts/DGACM/index_spanish.htm 红色线的第一值从第一张图表上的72条开始,而第2版则从87条开始。 超文本代码如下:

<img src="http://chart.apis.google.com/chart?chxr=0,50,100|1,0,50&chxt=y,x&chs=900x300&cht=ls&chco=DA3B15,3072F3&chd=s:stt3rp3ts7rp2ut7uz7tt5rr5rw5rs2qr2qr2tq5rr3qp3rr2q,uqq2sp0nqnzoop3qq2tt4tr2sr2rw1rq2rr2qs3pozpoo4rp2p&chdl=With+lock|Without+lock&chg=50,20&chls=2|2&chtt=FluorineFx+-+FactoryInstance+with%2Fwithout+lock&chts=676767,13" width="1000" height="300" alt="FluorineFx - FactoryInstance with/without lock" />

Has anyone a solution that helps scaling the graph correctly?

最佳回答

为了使其发挥作用,我不得不将输入数据改为简单数据格式,以便:

chd=t:72,73,... // char data

界定轴距所需范围:

chxr=0,60,100,10|1,0,50,5

• 具体列明果园习俗的扩展价值:

chds=60,100

其结果如下:

<img src="https://chart.googleapis.com/chart?chs=900x300&amp;cht=ls&amp;chd=t:72,73,73,90,71,68,90,73,72,97,71,68,88,76,74,97,76,84,96,74,74,94,70,70,94,71,78,93,71,72,89,69,70,89,69,70,88,74,69,94,71,71,90,69,68,90,71,70,89,69|75,69,69,89,72,67,85,64,69,64,84,65,65,67,90,69,69,89,73,73,92,74,70,88,72,70,88,71,78,87,70,69,88,70,71,88,69,72,90,68,65,84,67,66,66,91,71,68,89,68&amp;chxt=y,x&chds=60,100&amp;chxr=0,60,100,10|1,0,50,5&amp;chbh=35&chg=10,10&chco=DA3B15,3072F3&chdl=With+lock|Without+lock&chtt=FluorineFx+-+FactoryInstance+with%2Fwithout+lock"/>

“alt

问题回答

暂无回答




相关问题
How are mobile service provider databases so fast?

i was wondering on how these databases which have over millions of records and millions of lookups per second soo fast. how are they optimised? are there any special servers hosting these databases? ...

C# Resized images have black borders

I have a problem with image scaling in .NET. I use the standard Graphics type to resize images like in this example: public static Image Scale(Image sourceImage, int destWidth, int destHeight) { ...

Performance tuning CakePHP application

I just got this quite large CakePHP app (about 20k lines of code), which isn t very clean and there is no documentation at all. The app is running in production, but it has really major problems with ...

AS3 按比例提升外部形象

目前,我正在利用一种 lo机,以动态方式载录XML图像,并将其放入一个grid网。 我有安排,所有数据都在顺利地装上,但现在我需要做......。

Using EC2 Load Balancing with Existing Wordpress Blog

I currently have a virtual dedicated server through Media Temple that I use to run several high traffic Wordpress blogs. Both tend to receive sudden StumbleUpon traffic surges that (I m assuming) ...

High-traffic, Highly-secure web API, what language? [closed]

If you were planning on building a high-traffic, very secure site what language would you use? For example, if you were planning on say building an authorize.net-scale site, that had to handle tons ...

热门标签