GOffice.GraphChartMap¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class GOffice.GraphChartMap¶
- classmethod new(chart, area, axis0, axis1, axis2, fill_area)¶
- Parameters:
chart (
GOffice.GraphChart) – aGOffice.GraphChartarea (
GOffice.GraphViewAllocation) – area allocated to chartaxis0 (
GOffice.GraphAxis) – 1st dimension axisaxis1 (
GOffice.GraphAxis) – 2nd dimension axisaxis2 (
GOffice.GraphAxis) – 3rd dimension axisfill_area (
bool) – does chartGOffice.fillallocated area
- Returns:
a new
GOffice.GraphChartMapobject.- Return type:
Creates a new
GOffice.GraphChartMap, used for conversion from data space to canvas space.
- free()¶
Frees self object.
- get_axis_map(index)¶
- Parameters:
index (
int) – axis index- Returns:
- Return type:
Convenience function which returns one of the associated axis_map.
Valid values are in range [0..2].
- get_polar_parms()¶
- Returns:
a
GOffice.GraphChartMapPolarDatastruct.- Return type:
Convenience function for retrieving data related to polar plot layout.
- is_valid()¶
-
Tests if self was correctly initializied, i.e. if all associated axis_map are valid (see
GOffice.GraphAxisMap.is_valid() ).given to
GOffice.GraphChartMap.new.
- make_close_path(x, y, n_points, fill_type)¶
- Parameters:
x (
float) – x datay (
float) – y datan_points (
int) – number of pointsfill_type (
GOffice.GraphSeriesFillType) –GOffice.filltype
- Returns:
a new
GOffice.Pathusing x and y data, with respect to fill_type.- Return type:
- make_path(x, y, n_points, interpolation, skip_invalid, data)¶
- Parameters:
- Returns:
a new
GOffice.Pathusing x and y data, each valid point being connected with respect to interpolation.- Return type: