Edits
public struct Edits : Encodable
Undocumented
-
Determines if the main anchor of the annotation is editable.
The main anchor corresponds to the text (if no arrow) or the arrow (which drags the whole thing leaving the arrow length & direction unchanged).
Declaration
Swift
public var annotationPosition: Bool? -
Has only an effect for annotations with arrows.
Enables changing the length and direction of the arrow.
Declaration
Swift
public var annotationTail: Bool? -
Enables editing annotation text.
Declaration
Swift
public var annotationText: Bool? -
Enables editing axis title text.
Declaration
Swift
public var axisTitleText: Bool? -
Enables moving colorbars.
Declaration
Swift
public var colorBarPosition: Bool? -
Enables editing colorbar title text.
Declaration
Swift
public var colorBarTitleText: Bool? -
Enables moving the legend.
Declaration
Swift
public var legendPosition: Bool? -
Enables editing the trace name fields from the legend
Declaration
Swift
public var legendText: Bool? -
Enables moving shapes.
Declaration
Swift
public var shapePosition: Bool? -
Enables editing the global layout title.
Declaration
Swift
public var titleText: Bool? -
init(annotationPosition:annotationTail: annotationText: axisTitleText: colorBarPosition: colorBarTitleText: legendPosition: legendText: shapePosition: titleText: ) Creates
Editsobject with specified properties.Declaration
Swift
public init(annotationPosition: Bool? = nil, annotationTail: Bool? = nil, annotationText: Bool? = nil, axisTitleText: Bool? = nil, colorBarPosition: Bool? = nil, colorBarTitleText: Bool? = nil, legendPosition: Bool? = nil, legendText: Bool? = nil, shapePosition: Bool? = nil, titleText: Bool? = nil)Parameters
annotationPositionDetermines if the main anchor of the annotation is editable.
annotationTailHas only an effect for annotations with arrows.
annotationTextEnables editing annotation text.
axisTitleTextEnables editing axis title text.
colorBarPositionEnables moving colorbars.
colorBarTitleTextEnables editing colorbar title text.
legendPositionEnables moving the legend.
legendTextEnables editing the trace name fields from the legend
shapePositionEnables moving shapes.
titleTextEnables editing the global layout title.
View on GitHub
Install in Dash
Edits Structure Reference