Nevermind...I was missing.G.scale(0,1000)

On Fri, Sep 2, 2011 at 12:13 PM, tktucker <[email protected]> wrote:

>
> Hello.  I just started tinkering with GoogleChart Wrapper and I'm
> having problems with my X range values.  When this chart is rendered
> the three lines are at the top of the chart.  The values in my dataset
> are obviously higher than the default X value range.  What am I
> missing?  Thank you in advance for your help.
>
> Tom
>
> from GChartWrapper import *
> dataset = [(300,400,250),(90,333,195),(500,211,522)]
> G=Line(dataset, encoding="text")
> G.color('blue','green','red')
> G.size(320, 225)
> G.line(2)
> G.axes('xy')
> G.axes.label(0,'August','September')
> G.legend('Environment1','Environment2','Environment3')
> G.axes.label(1, 'Clients', 250, 500, 750, 1000)
> G.axes.range(1, 0, 1000)
> G.legend_pos('l')
> G.save('tmp.png')

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