KPIItemData

public enum KPIItemData

Data types for KPIItemView.

  • Combinations of available KPI components

    Declaration

    Swift

    case components([KPIItemData.Component])
  • Measurement type that takes in unit value and MeasurementFormatter

    Declaration

    Swift

    case measure(Measurement<Unit>, MeasurementFormatter)
  • Time duration type that takes in time interval value and DateComponentsFormatter

    Declaration

    Swift

    case duration(TimeInterval, DateComponentsFormatter?)
  • Percentage type

    Declaration

    Swift

    case percent(Double)
  • Fraction type

    Declaration

    Swift

    case fraction(Int, Int, NumberFormatter)
  • Component types for KPIItemData

    See more

    Declaration

    Swift

    public enum Component