Class ChartDiagramKind

class ooodev.utils.kind.chart_diagram_kind.ChartDiagramKind(value)[source]

An enumeration.

static from_str(s)[source]

Gets an ChartDiagramKind 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 DrawingHatchingKind instance.

Returns:

Enum instance.

Return type:

ChartDiagramKind

AREA = 'AreaDiagram'
BAR = 'BarDiagram'
BUBBLE = 'BubbleDiagram'
DONUT = 'DonutDiagram'
FILLED_NET = 'FilledNetDiagram'
LINE = 'LineDiagram'
NET = 'NetDiagram'
PIE = 'PieDiagram'
STOCK = 'StockDiagram'
XY = 'XYDiagram'