chart_dicts

Classes

BaseChart

ColorLegend

dict() -> new empty dictionary

ColorProperties

dict() -> new empty dictionary

AxisProperties

dict() -> new empty dictionary

Axes

dict() -> new empty dictionary

ScatterChart

Functions

StackedRowChart(**kwargs)

Module Contents

class chart_dicts.BaseChart[source]

Bases: TypedDict

title: str[source]
legend: str[source]
param: str | list[str][source]
size: tuple[int, int][source]

When using absolute positioning, this will be the top-left corner of the chart in pixels. Ignored when gridstack positioning is used.

position: tuple[int, int][source]
id: str | None[source]
class chart_dicts.ColorLegend[source]

Bases: TypedDict

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)

display: bool[source]
pos: tuple[int, int][source]
class chart_dicts.ColorProperties[source]

Bases: TypedDict

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)

color_by: str[source]
color_legend: ColorLegend[source]
class chart_dicts.AxisProperties[source]

Bases: TypedDict

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)

label: str[source]
size: int[source]
textSize: int[source]
tickfont: int[source]
class chart_dicts.Axes[source]

Bases: TypedDict

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)

x: AxisProperties[source]
y: AxisProperties[source]
class chart_dicts.ScatterChart[source]

Bases: BaseChart, ColorProperties

type: Literal['wgl_scatter_plot'][source]
axis: Axes[source]
chart_dicts.StackedRowChart(**kwargs: BaseChart | ColorProperties)[source]