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 } -
A dictionary containing the attributes to set from developers
Declaration
Swift
public var attributes: [NSAttributedStringKey : Any] { get set } -
Returns the
FUIKPIViewItemStyleenum value forFUIKPIMetricItemDeclaration
Swift
open var style: FUIKPIViewItemStyle { get }