DragMode

public enum DragMode : Encodable

Determines the mode of drag interactions.

select and lasso apply only to scatter traces with markers or text. orbit and turntable apply only to 3D scenes.

  • Undocumented

    Declaration

    Swift

    case zoom
  • pan

    Undocumented

    Declaration

    Swift

    case pan
  • Undocumented

    Declaration

    Swift

    case select
  • Undocumented

    Declaration

    Swift

    case lasso
  • Undocumented

    Declaration

    Swift

    case drawClosedPath
  • Undocumented

    Declaration

    Swift

    case drawOpenPath
  • Undocumented

    Declaration

    Swift

    case drawline
  • Undocumented

    Declaration

    Swift

    case drawRect
  • Undocumented

    Declaration

    Swift

    case drawCircle
  • Undocumented

    Declaration

    Swift

    case orbit
  • Undocumented

    Declaration

    Swift

    case turntable
  • off

    Undocumented

    Declaration

    Swift

    case off
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws