~openerp-groupes/openobject-server/6.0-fix-setup-windows

« back to all changes in this revision

Viewing changes to bin/pychart/axis_doc.py

  • Committer: pinky
  • Date: 2006-12-07 13:41:40 UTC
  • Revision ID: pinky-3f10ee12cea3c4c75cef44ab04ad33ef47432907
New trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# automatically generated by generate_docs.py.
 
2
doc_x="""Attributes supported by this class are:
 
3
draw_tics_above(type:int) default="If true, tick lines and labels are drawn above the axis line.".
 
4
minor_tic_len(type:length in points (\\xref{unit})) default="The length of minor tick marks.  The value can be negative, in which case the tick lines are drawn right of (or above) the axis.".
 
5
tic_label_offset(type:(x,y)) default="The location for drawing tick labels, 
 
6
                            relative to the tip of the tick line.".
 
7
format(type:printf format string) default="The format string for tick labels.
 
8
                  It can be a `printf' style format string, or 
 
9
                  a single-parameter function that takes an X (or Y) value
 
10
                  and returns a string. The appearance of the string produced here can be
 
11
controlled using escape sequences. <<font>>".
 
12
label_offset(type:(x,y) or None) default="The location for drawing the axis label, 
 
13
                        relative to the middle point of the axis.
 
14
                        If the value is None, the label is displayed
 
15
                        below (or to the left of) of axis at the middle.".
 
16
label(type:str) default="The descriptive string displayed below (or to the left of) the axis. <<font>>.".
 
17
offset(type:length in points (\\xref{unit})) default="The location of the axis. 
 
18
                  The value of 0 draws the
 
19
                  axis at the left (for the Y axis) or bottom (for the X axis)
 
20
                  edge of the drawing area.
 
21
                  ".
 
22
tic_interval(type:Number or function) default="When the value is a number, it specifies the interval at which tick marks are drawn. Otherwise, the value must be a function that takes no argument and returns the list of numbers. The return value specifies the X or Y points at which tick marks are drawn.".
 
23
line_style(type:line_style.T) default="Specifies the style of axis and tick lines.".
 
24
tic_len(type:length in points (\\xref{unit})) default="The length of tick lines. The value can be negative, in which case the tick lines are drawn right of (or above) the axis.".
 
25
minor_tic_interval(type:Number or function) default="When the value is a number, it specifies the interval at which minor tick marks are drawn. Otherwise, the value must be a function that takes no argument and returns the list of numbers. The return value specifies the X or Y points at which minor tick marks are drawn.".
 
26
"""
 
27
 
 
28
doc_y="""Attributes supported by this class are:
 
29
draw_tics_right(type:int) default="If true, tick lines and labels are drawn right of the axis line.".
 
30
minor_tic_len(type:length in points (\\xref{unit})) default="The length of minor tick marks.  The value can be negative, in which case the tick lines are drawn right of (or above) the axis.".
 
31
tic_label_offset(type:(x,y)) default="The location for drawing tick labels, 
 
32
                            relative to the tip of the tick line.".
 
33
format(type:printf format string) default="The format string for tick labels.
 
34
                  It can be a `printf' style format string, or 
 
35
                  a single-parameter function that takes an X (or Y) value
 
36
                  and returns a string. The appearance of the string produced here can be
 
37
controlled using escape sequences. <<font>>".
 
38
label_offset(type:(x,y) or None) default="The location for drawing the axis label, 
 
39
                        relative to the middle point of the axis.
 
40
                        If the value is None, the label is displayed
 
41
                        below (or to the left of) of axis at the middle.".
 
42
label(type:str) default="The descriptive string displayed below (or to the left of) the axis. <<font>>.".
 
43
offset(type:length in points (\\xref{unit})) default="The location of the axis. 
 
44
                  The value of 0 draws the
 
45
                  axis at the left (for the Y axis) or bottom (for the X axis)
 
46
                  edge of the drawing area.
 
47
                  ".
 
48
tic_interval(type:Number or function) default="When the value is a number, it specifies the interval at which tick marks are drawn. Otherwise, the value must be a function that takes no argument and returns the list of numbers. The return value specifies the X or Y points at which tick marks are drawn.".
 
49
line_style(type:line_style.T) default="Specifies the style of axis and tick lines.".
 
50
tic_len(type:length in points (\\xref{unit})) default="The length of tick lines. The value can be negative, in which case the tick lines are drawn right of (or above) the axis.".
 
51
minor_tic_interval(type:Number or function) default="When the value is a number, it specifies the interval at which minor tick marks are drawn. Otherwise, the value must be a function that takes no argument and returns the list of numbers. The return value specifies the X or Y points at which minor tick marks are drawn.".
 
52
"""
 
53