struct

Opal::UI::PieSlice

Inherits Struct < Value < Object

Represents a single slice of data in a PieChart.

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