class

Opal::UI::PieChartBuilder

Inherits Reference < Object

Builder for pie charts

Constructors

new(chart : PieChart)
Source

Instance methods

<<(item : NamedTuple(label: String, value: Float64 | Int32)) : Nil
Source
slice(label : String, value : Float64 | Int32, color : Color | Symbol | String = :cyan, formatted : String | Nil = nil) : Nil
Source