2
# Copyright (C) 2000-2005 by Yasushi Saito (yasushi.saito@gmail.com)
4
# Jockey is free software; you can redistribute it and/or modify it
5
# under the terms of the GNU General Public License as published by the
6
# Free Software Foundation; either version 2, or (at your option) any
9
# Jockey is distributed in the hope that it will be useful, but WITHOUT
10
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
doc="""Attributes supported by this class are:
15
minor_tic_len(type:number):
16
The length of minor tick marks.
18
tic_label_offset(type:(x,y)):
19
The location where the tick labels is drawn. Relative to the
22
format(type:printf format string):
23
The format string for tick labels. It can be a `printf' style
24
format string, or a single-parameter function that returns a
25
string. See also font.
27
label_offset(type:(x,y) or None):
28
The location where the axis label is drawn. Relative to the
29
left-bottom corner of the axis.
30
default value=(None, None).
31
grid_interval(type:Number or function):
32
When the value is a number, it specifies the interval with which
33
grid lines are drawn. Otherwise, the value must be a function.
34
It must take no argument and return the list of numbers, which
35
specifies the X or Y points where grid lines are drawn.
38
The length of tick lines
40
grid_style(type:line_style.T):
42
default value=gray70dash3.
43
tic_interval(type:Number or function):
44
When the value is a number, it specifies the interval with which
45
tick marks are drawn. Otherwise, the value must be a function.
46
It must take no argument and return the list of numbers, which
47
specifies the X or Y points where tick marks are drawn.
49
line_style(type:line_style.T):
50
The style of tick lines.
51
default value=default.
53
The description of the axis. See also font.
54
default value=axis label.
55
minor_tic_interval(type:Number or function):
56
When the value is a number, it specifies the interval with which
57
minor tick marks are drawn. Otherwise, the value must be a function.
58
It must take no argument and return the list of numbers, which
59
specifies the X or Y points where minor tick marks are drawn.
61
first_tic_value(type:number):
62
The location of the first tick mark. Defaults to the x_range[0]
63
(or y_range[0]) of the area.