DisplayValue

public enum DisplayValue

Option to display the markers’ value inline with the marker..

case none // No label.
case yAxis(specifier: String, formatter: NumberFormatter? = nil) // Places the label in the yAxis labels.
case center(specifier: String, formatter: NumberFormatter? = nil) // Places the label in the center of chart.
case position(location: CGFloat, specifier: String, formatter: NumberFormatter? = nil) // Places the label at a relative position from leading edge.
  • No label.

    Declaration

    Swift

    case none
  • Places the label in the yAxis labels.

    Declaration

    Swift

    case yAxis(specifier: String, formatter: NumberFormatter? = nil)
  • Places the label in the center of chart.

    Declaration

    Swift

    case center(specifier: String, formatter: NumberFormatter? = nil)
  • Places the label in between the graph at a certain distance from the axis, i.e. 0 places it on the leading edge and 1 places it on the trailing edge. Defaults to 0.5 if location >1 or <0

    Declaration

    Swift

    case position(location: CGFloat, specifier: String, formatter: NumberFormatter? = nil)