Values

data class Values(val text: String, @FloatRange(from = 0.0, to = 1.0) val percent: Float)

Represents a set of values of a single bar in chart

Parameters

text

text to be shown in the popup when the item is selected

percent

the value of the bar itself, should be a range between 0.0f and 1.0f. If it exceeds, it'll be clamped

Constructors

Link copied to clipboard
constructor(text: String, @FloatRange(from = 0.0, to = 1.0) percent: Float)

Properties

Link copied to clipboard
Link copied to clipboard