struct

Opal::UI::BarItem

Inherits Struct < Value < Object

Represents a single bar item in a BarChart

Constructors

new(label : String, value : Float64, color : Color | Symbol | String = :cyan, formatted_value : String | Nil = nil)
Source

Instance methods

color
Source
formatted_value
Source
label
Source
value
Source