FUIKPIUnitItem
open class FUIKPIUnitItem : FUIKPIViewItem
The FUIKPIUnitItem
conforms to FUIKPIViewItem
protocol for representing the metric’s unit information being displayed in FUIKPIView
. For example, in “$256k”, the units are “$” and “k”.
-
Stylized string to be displayed as the KPI metric unit
Declaration
Swift
public var attributedString: NSAttributedString { get }
-
Declaration
Swift
public var attributes: [NSAttributedStringKey : Any]
-
Returns the
FUIKPIViewItemStyle
enum value forFUIKPIMetricItem
Declaration
Swift
open var style: FUIKPIViewItemStyle { get }