I’m trying to show a horizontal bar chart that has a couple of very
long outliers. Obviously, I do not want the graph to show the entire
range of the data (including the outliers) because the bars for the
“normal” data would become very small. Instead, for bars that are too
wide to fit on the chart, I want to show a number instead at the right
side of each very long bar.

I tried enabling numbers on all data series:

chm=N*f*,F00000,0,-1,11|N*f*,00F000,1,-1,11|N*f*,0000F0,2,-1,11

But the label for the outlier doesn’t show the data value, instead it
shows the data range limit from chds! How can I show the actual data
value instead? I have a program for generating the URL, so I can
implement any necessary workaround hacks.

Here’s the chart (notice that the bar is labeled 6.2 which is the
maximum given to chds, not the actual data value):

http://chart.apis.google.com/chart?cht=bhg&chtt=Effect%20of%20different%20array%20representations%20on%20matrix%20multiplication%20speed%20in%20C%23&chm=N*f*,F00000,0,-1,11|N*f*,00F000,1,-1,11|N*f*,0000F0,2,-1,11&chs=640x350&chbh=a,0,10&chd=t:2.8,3.15,2.49,2.47|5.79,3.26,1.62,1.66|8.33,11.76,3.58,3.5&chds=0,6.2&chxr=0,0,6.2&chg=1240,0,4,1,0,0&chdl=C%23%20.NET3%20x64|C%23%20.NET3%20x86|C%23%20Mono&chxt=x,y,x&chxl=2:|fast|Time%20in%20Seconds|slow|-1:|double[n,n]|Array2D%3Cdouble%3E|double[n][n]|double[n*n]&chco=98E5E8,44CED4,7E999A

(The outliers on the above chart aren’t that terrible, but in other
charts, they are.)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en.

Reply via email to