ModeBar
public struct ModeBar : Encodable
Undocumented
-
Sets the orientation of the modebar.
Declaration
Swift
public var orientation: Orientation? -
Sets the background color of the modebar.
Declaration
Swift
public var backgroundColor: Color? -
Sets the color of the icons in the modebar.
Declaration
Swift
public var color: Color? -
Sets the color of the active or hovered on icons in the modebar.
Declaration
Swift
public var activeColor: Color? -
Controls persistence of user-driven changes related to the modebar, including
hovermode,dragmode, andshowspikesat both the root level and inside subplots.Defaults to
layout.uirevision.Declaration
Swift
public var uiRevision: Anything? -
Creates
ModeBarobject with specified properties.Declaration
Swift
public init(orientation: Orientation? = nil, backgroundColor: Color? = nil, color: Color? = nil, activeColor: Color? = nil, uiRevision: Anything? = nil)Parameters
orientationSets the orientation of the modebar.
backgroundColorSets the background color of the modebar.
colorSets the color of the icons in the modebar.
activeColorSets the color of the active or hovered on icons in the modebar.
uiRevisionControls persistence of user-driven changes related to the modebar, including
hovermode,dragmode, andshowspikesat both the root level and inside subplots.
View on GitHub
Install in Dash
ModeBar Structure Reference