FUIKPIFractionItem
open class FUIKPIFractionItem : FUIKPIViewItem
The FUIKPIFractionItem
is an UILabel
subclass, which conforms to FUIKPIViewItem
protocol for representing the value being displayed in FUIKPIView
. For example, in: “56/100”, the fraction is “56” or “100”.
-
Stylized string to be displayed as the KPIFraction
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 }