Hey guys,

I am using Google APIs to produce cool graphs and charts for my
research work.

In some of my graphs, the x-axis labels tend to be a bit large as they
are timestamps. This causes the graph to produce garbled and
unreadable labels on the x-axis:

See this graph as an example:

http://chart.apis.google.com/chart?chxt=y,x,x&chd=t:-1.0|0.0,0.0,0.0,-1.0,-1.0,-1.0,-1.0,-1.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,-1.0,-1.0,-1.0,-1.0|-1.0|-1.0,-1.0,-1.0,-1.0,10.0,10.0,10.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0|-1.0|-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,20.0,20.0,20.0&chxp=2,50&chs=960x300&cht=lxy&chtt=User+Interaction+Graph&chxl=1:|2010-11-30+17:40:35|-|2010-11-30+17:41:07|-|2010-11-30+17:41:09|-|2010-11-30+17:41:32|-|2010-11-30+17:41:33|-|2010-11-30+17:41:39|-|2010-11-30+17:42:23|-|2010-11-30+17:42:31|-|2010-11-30+17:42:32|-|2010-11-30+17:42:47|2:|TimeLine&chdl=Sustainability|Biodiversity|Permaculture&chdlp=b

This is the version when data points are lesser:

http://chart.apis.google.com/chart?chxt=y,x,x&chd=t:-1.0|0.0,0.0,0.0&chxp=2,50&chs=960x300&cht=lxy&chtt=User+Interaction+Graph&chxl=1:|2010-11-30+17:43:45|-|2010-11-30+17:43:53|2:|TimeLine&chdl=African-American.htm&chdlp=b

Can I somehow breakdown the label:
2010-12-05 13:53:44

as

2010-12-05
 13:53:44

so that it comes up into 2 lines instead?

This I guess will solve the problem.

Thanks,

-- 
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