7.2.8 TimeAxisChart
This is a mixin class that adds a time axis to every subclass.
The timeaxis displays the scale at the top of a chart and the
horizontal grid. All subclasses can specify the following attributes:
- time_axis_properties
-
Specifies a dictionary of display properties for the time axis.
The axis uses the following style groups:
- grid
- The style for the horizontal grid.
- free
- The style for free time areas. Only the style attribute facecolor is used.
- now
- The style for the line at now
- 0
- The style of the lowest scale row.
- 1
- The style of the middle scale row.
- 2
- The style of the top scale row.
- tickers
- Is a special tuple attribute specifying how many scale rows will be displayed.
A tuple value of (1, 2) means there will be two additional
scales.
- show_grid
-
A boolean value that specifies wether to display a horizontal grid.
- show_scale
-
A boolean value that specifies wether to display the time scale.
- show_free_time
-
A boolean value that specifies wether to distinguish between free times and working times.
- show_now
-
A boolean value that specifies wether to display a line at now.
Release 0.11.4, documentation updated on April 25, 2007.