Home | Trees | Indices | Help |
|
---|
|
Contains the LineChart widget.
Author: Sven Festersen (sven@sven-festersen.de)
|
|||
RangeCalculator This helper class calculates ranges. |
|||
LineChart A widget that shows a line chart. |
|||
Axis | |||
XAxis This class represents the xaxis. |
|||
YAxis This class represents the yaxis. |
|||
Grid A class representing the grid of the chart. |
|||
Graph This class represents a graph or the data you want to plot on your LineChart widget. |
|
|||
|
|||
|
|||
|
|
|||
RANGE_AUTO = 0
|
|||
GRAPH_PADDING = 0.0666666666667
|
|||
GRAPH_POINTS = 1
|
|||
GRAPH_LINES = 2
|
|||
GRAPH_BOTH = 3
|
|||
COLOR_AUTO = 4
|
|||
POSITION_AUTO = 5
|
|||
POSITION_LEFT = 6
|
|||
POSITION_RIGHT = 7
|
|||
POSITION_BOTTOM = 6
|
|||
POSITION_TOP = 7
|
|||
COLORS =
|
|
Returns a line_chart.Graph with data created from the function y = func(x) with x in [xmin, xmax]. The id of the new graph is graph_name. The parameter samples gives the number of points that should be evaluated in [xmin, xmax] (default: 100). If do_optimize_sampling is True (default) additional points will be evaluated to smoothen the curve.
|
Returns a line_chart.Graph with point taken from data file filename. The id of the new graph is graph_name. Data file format: The columns in the file have to be separated by tabs or one or more spaces. Everything after '#' is ignored (comment). Use the parameters x_col and y_col to control which columns to use for plotting. By default, the first column (x_col=0) is used for x values, the second (y_col=1) is used for y values.
|
|
COLORS
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jul 11 13:28:29 2009 | http://epydoc.sourceforge.net |