GOffice.GraphChartMap¶
Fields¶
None
Methods¶
| class | new(chart, area, axis0, axis1, axis2, fill_area) | 
| free() | |
| get_axis_map(index) | |
| get_polar_parms() | |
| is_valid() | |
| make_close_path(x, y, n_points, fill_type) | |
| make_path(x, y, n_points, interpolation, skip_invalid, data) | |
| view_to_2D(x, y, u, v) | 
Details¶
- 
class GOffice.GraphChartMap¶
- 
classmethod new(chart, area, axis0, axis1, axis2, fill_area)¶
- Parameters: - chart (GOffice.GraphChart) – aGOffice.GraphChart
- area (GOffice.GraphViewAllocation) – area allocated to chart
- axis0 (GOffice.GraphAxis) – 1st dimension axis
- axis1 (GOffice.GraphAxis) – 2nd dimension axis
- axis2 (GOffice.GraphAxis) – 3rd dimension axis
- fill_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.
- chart (
 - 
free()¶
- Frees self object. 
 - 
get_axis_map(index)¶
- Parameters: - index ( - int) – axis index- Returns: - a - GOffice.GraphAxisMap.- Return type: - GOffice.GraphAxisMap- 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: - GOffice.GraphChartMapPolarData- Convenience function for retrieving data related to polar plot layout. 
 - 
is_valid()¶
- Returns: - Trueif self is valid.- Return type: - bool- 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 data
- y (float) – y data
- n_points (int) – number of points
- fill_type (GOffice.GraphSeriesFillType) –GOffice.filltype
 - Returns: - a new - GOffice.Pathusing x and y data, with respect to fill_type.- Return type: 
- x (
 - 
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: 
 
- 
classmethod