YAxis

public struct YAxis : Encodable

Undocumented

  • Determines whether or not the range of this axis in the rangeslider use the same value than in the main plot when zooming in/out.

    If auto, the autorange will be used. If fixed, the range is used. If match, the current range of the corresponding y-axis on the main subplot is used.

    See more

    Declaration

    Swift

    public enum RangeMode : String, Encodable
  • Determines whether or not the range of this axis in the rangeslider use the same value than in the main plot when zooming in/out.

    If auto, the autorange will be used. If fixed, the range is used. If match, the current range of the corresponding y-axis on the main subplot is used.

    Declaration

    Swift

    public var rangeMode: RangeMode?
  • Sets the range of this axis for the rangeslider.

    Declaration

    Swift

    public var range: InfoArray?
  • Creates YAxis object with specified properties.

    Declaration

    Swift

    public init(rangeMode: RangeMode? = nil, range: InfoArray? = nil)

    Parameters

    rangeMode

    Determines whether or not the range of this axis in the rangeslider use the same value than in the main plot when zooming in/out.

    range

    Sets the range of this axis for the rangeslider.