Help - Search - Members - Calendar
Full Version: Google Chats Scaling issues
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
bobx2001
Hello

I am having trouble rescaling a y - axis on a chart wit multiple lines.

CODE

http://chart.apis.google.com/chart?chtt= Cumulative Failure Chart&chts=000000,12&chs=700x400&chds=1,140,0,140&chxt=x,y&chxr=0,1,140|1,0,140&cht=lxy&chd=t:0,2,2,3,3,4,4,9,9,137|0,0,1,1,2,2,3,3,4,4|0,137|3.01,12.85|0,137|1.21,11.05|15.67,137|0,8.78|40.64,137|0,6.97&chdl=CUMFAILURE|Definitely Unacceptable|Probably Unacceptable|Probably Acceptable|Definitely Acceptable&chco=0000ff,ff0000,ffa800,baff00,00ff00


as you can see i have equal scales on both axis, but ideally i would like to scale down the y-axis to something smaller. I think i am making a mistake somewhere though because the lines are not maintaining their correct positions afterwards.
CODE

http://chart.apis.google.com/chart?chtt= Cumulative Failure Chart&chts=000000,12&chs=700x400&chds=1,140,0,50&chxt=x,y&chxr=0,1,140|1,0,50&cht=lxy&chd=t:0,2,2,3,3,4,4,9,9,137|0,0,1,1,2,2,3,3,4,4|0,137|3.01,12.85|0,137|1.21,11.05|15.67,137|0,8.78|40.64,137|0,6.97&chdl=CUMFAILURE|Definitely Unacceptable|Probably Unacceptable|Probably Acceptable|Definitely Acceptable&chco=0000ff,ff0000,ffa800,baff00,00ff00

Thanks in Advance

Bobak
bobx2001
nevermind, solved the issue
Brian Chandler
QUOTE(bobx2001 @ Oct 25 2009, 12:47 PM) *

nevermind, solved the issue


I've used the google charts API, but to be fair it's a "write-only language". Debugging, or just changing something after you've written the original version is a real pain -- so it's hard to offer to help with this stuff. Glad to see you got it done...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.