dash_mp_components.GraphComponent

class dash_mp_components.GraphComponent(id: str | dict | None = None, graph: Any | None = None, options: Any | None = None, **kwargs)[source]

Bases: Component

A GraphComponent component.

Keyword arguments:

  • id (optional):

    The ID used to identify this component in Dash callbacks.

  • graph (optional):

    A graph that will be displayed when this component is rendered.

  • options (optional):

    Display options for the graph.

  • setProps (optional):

    Dash-assigned callback that should be called whenever any of the properties change.

__init__(id: str | dict | None = None, graph: Any | None = None, options: Any | None = None, **kwargs)

Methods

__init__([id, graph, options])

to_plotly_json()

Attributes

REQUIRED

UNDEFINED

available_wildcard_properties