It looks like the axes labeling has changed, which makes Guide-
Granularity-20 from the examples [1] no longer work as expected? Or
maybe I'm just doing something wrong?
>>> import GChartWrapper
>>> g = GChartWrapper.Line('fohmnytenefohmnytene', encoding='simple')
>>> g.size(200,100)
<GChartWrapper.Line
http://chart.apis.google.com/chart?chs=200x100&cht=lc&chd=s:fohmnytenefohmnytene>
>>> g.axes.type('xy')
<GChartWrapper.Line
http://chart.apis.google.com/chart?chxt=x,y&chd=s:fohmnytenefohmnytene&chs=200x100&cht=lc>
>>> g.axes.label('April', 'May', 'June')
<GChartWrapper.Line
http://chart.apis.google.com/chart?chxt=x,y&chd=s:fohmnytenefohmnytene&chs=200x100&cht=lc&chxl=April:|May|June>
>>> g.axes.label(None, '50+kb')
>>> g.url
'http://chart.apis.google.com/chart?
chxt=x,y&chd=s:fohmnytenefohmnytene&chs=200x100&cht=lc&chxl=April:|May|
June|:|50+kb'
Instead of:
http://chart.apis.google.com/chart?chxt=x,y&chd=s:fohmnytenefohmnytene&chs=200x100&cht=lc&chxl=0:|April|May|June|1:||50+Kb
Or perhaps this example never worked?
//Ed
[1] http://code.google.com/p/google-chartwrapper/wiki/ChartExamples
--
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.