Baseline

public enum Baseline : Hashable

Where to start drawing the line chart from.

case minimumValue // Lowest value in the data set(s)
case minimumWithMaximum(of: Double) // Set a custom baseline
case zero // Set 0 as the lowest value
  • Lowest value in the data set(s)

    Declaration

    Swift

    case minimumValue
  • Set a custom baseline

    Declaration

    Swift

    case minimumWithMaximum(of: Double)
  • Set 0 as the lowest value

    Declaration

    Swift

    case zero