Graph.Attr Type

A list of children or a property for this dash component

Union cases

Union case Description

Children DashComponent list

Full Usage: Children DashComponent list

Parameters:
Item : DashComponent list

Prop Prop

Full Usage: Prop Prop

Parameters:
Item : Prop

Static members

Static member Description

Attr.animate p

Full Usage: Attr.animate p

Parameters:
    p : bool

Returns: Attr

Beta: If true, animate between updates using plotly.js's `animate` function

p : bool
Returns: Attr

Attr.animationOptions p

Full Usage: Attr.animationOptions p

Parameters:
    p : obj

Returns: Attr

Beta: Object containing animation settings. Only applies if `animate` is `true`

p : obj
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : seq<DashComponent>
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : DashComponent list
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : DashComponent
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : Guid
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
    value : float

Returns: Attr

The child or children of this dash component

value : float
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
    value : string

Returns: Attr

The child or children of this dash component

value : string
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
    value : int

Returns: Attr

The child or children of this dash component

value : int
Returns: Attr

Attr.className p

Full Usage: Attr.className p

Parameters:
    p : string

Returns: Attr

className of the parent div

p : string
Returns: Attr

Attr.clearOnUnhover p

Full Usage: Attr.clearOnUnhover p

Parameters:
    p : bool

Returns: Attr

If True, `clear_on_unhover` will clear the `hoverData` property when the user "unhovers" from a point. If False, then the `hoverData` property will be equal to the data from the last point that was hovered over.

p : bool
Returns: Attr

Attr.clickAnnotationData p

Full Usage: Attr.clickAnnotationData p

Parameters:
    p : obj

Returns: Attr

Data from latest click annotation event. Read-only.

p : obj
Returns: Attr

Attr.clickData p

Full Usage: Attr.clickData p

Parameters:
    p : obj

Returns: Attr

Data from latest click event. Read-only.

p : obj
Returns: Attr

Attr.config p

Full Usage: Attr.config p

Parameters:
Returns: Attr

Plotly.js config options. See https://plotly.com/javascript/configuration-options/ for more info.

p : Config
Returns: Attr

Attr.extendData p

Full Usage: Attr.extendData p

Parameters:
    p : obj

Returns: Attr

Data that should be appended to existing traces. Has the form `[updateData, traceIndices, maxPoints]`, where `updateData` is an object containing the data to extend, `traceIndices` (optional) is an array of trace indices that should be extended, and `maxPoints` (optional) is either an integer defining the maximum number of points allowed or an object with key:value pairs matching `updateData` Reference the Plotly.extendTraces API for full usage: https://plotly.com/javascript/plotlyjs-function-reference/#plotlyextendtraces

p : obj
Returns: Attr

Attr.figure p

Full Usage: Attr.figure p

Parameters:
Returns: Attr

Plotly `figure` object. See schema: https://plotly.com/javascript/reference `config` is set separately by the `config` property

p : Figure
Returns: Attr

Attr.hoverData p

Full Usage: Attr.hoverData p

Parameters:
    p : obj

Returns: Attr

Data from latest hover event. Read-only.

p : obj
Returns: Attr

Attr.loadingState p

Full Usage: Attr.loadingState p

Parameters:
Returns: Attr

Object that holds the loading state object coming from dash-renderer

p : LoadingState
Returns: Attr

Attr.prependData p

Full Usage: Attr.prependData p

Parameters:
    p : obj

Returns: Attr

Data that should be prepended to existing traces. Has the form `[updateData, traceIndices, maxPoints]`, where `updateData` is an object containing the data to prepend, `traceIndices` (optional) is an array of trace indices that should be prepended, and `maxPoints` (optional) is either an integer defining the maximum number of points allowed or an object with key:value pairs matching `updateData` Reference the Plotly.prependTraces API for full usage: https://plotly.com/javascript/plotlyjs-function-reference/#plotlyprependtraces

p : obj
Returns: Attr

Attr.relayoutData p

Full Usage: Attr.relayoutData p

Parameters:
    p : obj

Returns: Attr

Data from latest relayout event which occurs when the user zooms or pans on the plot or other layout-level edits. Has the form `{: }` describing the changes made. Read-only.

p : obj
Returns: Attr

Attr.restyleData p

Full Usage: Attr.restyleData p

Parameters:
    p : obj list

Returns: Attr

Data from latest restyle event which occurs when the user toggles a legend item, changes parcoords selections, or other trace-level edits. Has the form `[edits, indices]`, where `edits` is an object `{: }` describing the changes made, and `indices` is an array of trace indices that were edited. Read-only.

p : obj list
Returns: Attr

Attr.selectedData p

Full Usage: Attr.selectedData p

Parameters:
    p : obj

Returns: Attr

Data from latest select event. Read-only.

p : obj
Returns: Attr

Attr.style p

Full Usage: Attr.style p

Parameters:
Returns: Attr

Generic style overrides on the plot div

p : seq<Style>
Returns: Attr