GOffice.GraphChartMap3D

Fields

None

Methods

class

new (view, area, axis0, axis1, axis2)

free ()

get_axis_map (index)

is_valid ()

to_view (x, y, z, u, v, w)

Details

class GOffice.GraphChartMap3D
classmethod new(view, area, axis0, axis1, axis2)
Parameters:
Returns:

a new GOffice.GraphChartMap3D object.

Return type:

GOffice.GraphChartMap3D

Creates a new GOffice.GraphChartMap3D, used for conversion from data space to canvas space.

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].

is_valid()
Returns:

True if self is valid.

Return type:

bool

Tests if self was correctly initialized.

to_view(x, y, z, u, v, w)
Parameters:
  • x (float) – data x GOffice.value

  • y (float) – data y GOffice.value

  • z (float) – data y GOffice.value

  • u (float) – placeholder for x converted GOffice.value

  • v (float) – placeholder for y converted GOffice.value

  • w (float) – placeholder for z converted GOffice.value

Converts a 3D coordinate from data space to canvas space.