Ternary

public final class Ternary : Encodable, SubplotAxis

Undocumented

  • uid

    Unique identifier of the axis.

    Declaration

    Swift

    public var uid: UInt
  • Undocumented

    Declaration

    Swift

    public var domain: Domain?
  • Set the background color of the subplot

    Declaration

    Swift

    public var backgroundColor: Color?
  • sum

    The number each triplet should sum to, and the maximum range of each axis

    Declaration

    Swift

    public var sum: Double?
  • Undocumented

    See more

    Declaration

    Swift

    public struct AAxis : Encodable
  • Undocumented

    Declaration

    Swift

    public var aAxis: AAxis?
  • Undocumented

    See more

    Declaration

    Swift

    public struct BAxis : Encodable
  • Undocumented

    Declaration

    Swift

    public var bAxis: BAxis?
  • Undocumented

    See more

    Declaration

    Swift

    public struct CAxis : Encodable
  • Undocumented

    Declaration

    Swift

    public var cAxis: CAxis?
  • Controls persistence of user-driven changes in axis min and title, if not overridden in the individual axes.

    Defaults to layout.uirevision.

    Declaration

    Swift

    public var uiRevision: Anything?
  • Shared and preset default axis reference used to initialize layout and all traces.

    Declaration

    Swift

    public static let preset: Ternary
  • Creates Ternary object with specified properties.

    Declaration

    Swift

    public init(uid: UInt = UInt.random(in: 2...UInt.max), domain: Domain? = nil, backgroundColor:
            Color? = nil, sum: Double? = nil, aAxis: AAxis? = nil, bAxis: BAxis? = nil, cAxis: CAxis? = nil,
            uiRevision: Anything? = nil)

    Parameters

    uid

    Unique identifier of the axis.

    domain

    backgroundColor

    Set the background color of the subplot

    sum

    The number each triplet should sum to, and the maximum range of each axis

    aAxis

    bAxis

    cAxis

    uiRevision

    Controls persistence of user-driven changes in axis min and title, if not overridden in the individual axes.