Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
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