Package GChartWrapper :: Module GChart' :: Class Axes
[hide private]
[frames] | no frames]

type Axes

source code

object --+    
         |    
      Dict --+
             |
            Axes

Axes attribute dictionary storage

Use this class via GChart(...).axes Methods are taken one at a time, like so:

>>> G.axes.type('xy')
>>> G.axes.label('Label1') # X Axis
>>> G.axes.label('Label2') # Y Axis
Instance Methods [hide private]
 
__init__(self, parent) source code
 
label(self, *args)
Label each axes one at a time args are of the form <label 1>,...,<label n> APIPARAM: chxl
source code
 
position(self, *args)
Set the label position of each axis, one at a time args are of the form <label position 1>,...,<label position n> APIPARAM: chxp
source code
 
range(self, *args)
Set the range of each axis, one at a time args are of the form <start of range>,<end of range> APIPARAM: chxr
source code
 
render(self)
Render the axes data into the dict data
source code
 
style(self, *args)
Add style to your axis, one at a time args are of the form <axis color>,<font size>,<alignment>,<drawing control>,<tick mark color> APIPARAM: chxs
source code
 
type(self, atype)
Define the type of axes you wish to use atype must be one of x,t,y,r call the rest of the axes functions in the corresponding order that you declare the type APIPARAM: chxt
source code

Inherited from Dict: __cmp__, __contains__, __delitem__, __getitem__, __iter__, __len__, __repr__, __setitem__, has_key, items, keys, pop, popitem, update, values

Method Details [hide private]

__init__(self, parent)
(Constructor)

source code 
Overrides: Dict.__init__