Class DataRoleKind

class ooodev.utils.kind.chart2_data_role_kind.DataRoleKind(value)[source]

Represents DataSequenceRole

static from_str(s)[source]

Gets an DataRoleKind instance from string.

Parameters:

s (str) – String that represents the name of an enum Name. s is case insensitive and can be CamelCase, pascal_case , snake_case, hyphen-case, normal case.

Raises:
  • ValueError – If input string is empty.

  • AttributeError – If unable to get DataRoleKind instance.

Returns:

Enum instance.

Return type:

DataRoleKind

CATEGORIES = 'categories'

Values are used for categories in the diagram

ERROR_BARS_X_NEGATIVE = 'error-bars-x-negative'

Values are used as error-information in negative x-direction for displaying error-bars

ERROR_BARS_X_POSITIVE = 'error-bars-x-positive'

Values are used as error-information in positive x-direction for displaying error-bars

ERROR_BARS_Y_NEGATIVE = 'error-bars-y-negative'

Values are used as error-information in negative y-direction for displaying error-bars

ERROR_BARS_Y_POSITIVE = 'error-bars-y-positive'

Values are used as error-information in positive y-direction for displaying error-bars

LABEL = 'label'

Values are used as a label for a series. Usually, you will have just one cell containing a string.

SIZES = 'sizes'

values are used as radius of the bubbles in a Bubble-Diagram.

VALUES_FIRST = 'values-first'

Candle-stick chart - the first value of a series of values. In a stock-chart this would be the opening course.

VALUES_LAST = 'values-last'

Candle-stick chart - the last value of a series of values. In a stock-chart this would be the closing course.

VALUES_MAX = 'values-max'

Candle-stick chart - the maximum value of a series of values. In a stock-chart this would be the highest course that occurred during trading.

VALUES_MIN = 'values-min'

Candle-stick chart - the minimum value of a series of values. In a stock-chart this would be the lowest course that occurred during trading.

VALUES_X = 'values-x'

Values are used as x-values in an XY - or bubble diagram.

VALUES_Y = 'values-y'

Values are used as y-values in an XY-Diagram or as values in a bar, line, etc. chart.

VALUES_Z = 'values-z'

Values may be used as z-values in a three-dimensional XYZ-Diagram or a surface-chart.