simplyvikram / google-chartwrapper

Automatically exported from code.google.com/p/google-chartwrapper
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

encoding spelled ecoding #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use encoding='extended'
2. draw chart

http://code.google.com/p/google-chartwrapper/source/browse/trunk/GChartWrapper/e
ncoding.py?r=71#34

s/ecoding/encoding/

Original issue reported on code.google.com by bpederse on 9 Jun 2008 at 9:28

GoogleCodeExporter commented 9 years ago
uh. ignore that. 
how can i correctly set the extents with extended encoding?
{{{
from GChartWrapper import LineXY

g = LineXY([
     [0, 10, 20, 30]
    ,[0, 20, 30, 40]]
    , encoding='extended')

g.color('ff0000', '00ff00')
g.marker('s', '0000ff', 0, -1, 5)
g.marker('s', '000000', 0, -1, 5)
g.axes.range(0, 40)
g.axes.range(0, 40)
}}}

Original comment by bpederse on 9 Jun 2008 at 10:18

GoogleCodeExporter commented 9 years ago
from GChartWrapper import LineXY

g = LineXY([
     [0, 10, 20, 30]
    ,[0, 20, 30, 40]])
g.scale(0,40)
g.color('ff0000', '00ff00')
g.marker('s', '0000ff', 0, -1, 5)
g.marker('s', '000000', 0, -1, 5)
g.axes.range(0, 40)
g.axes.range(0, 40)
g.show()

Original comment by justquick on 14 Jun 2008 at 9:07