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?
  • Creates Edits object 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

    annotationPosition

    Determines if the main anchor of the annotation is editable.

    annotationTail

    Has only an effect for annotations with arrows.

    annotationText

    Enables editing annotation text.

    axisTitleText

    Enables editing axis title text.

    colorBarPosition

    Enables moving colorbars.

    colorBarTitleText

    Enables editing colorbar title text.

    legendPosition

    Enables moving the legend.

    legendText

    Enables editing the trace name fields from the legend

    shapePosition

    Enables moving shapes.

    titleText

    Enables editing the global layout title.