Class: Ruflet::UI::Controls::RufletComponents::PieChartControl

Inherits:
ChartExtensionControl show all
Defined in:
lib/ruflet_ui/ruflet/ui/controls/materials/chart_controls.rb

Constant Summary collapse

WIRE =
"PieChart".freeze

Constants inherited from ChartExtensionControl

ChartExtensionControl::KEYWORDS

Constants inherited from Control

Control::HOST_EXPANDED_TYPES, Control::SCHEMA_METADATA_CACHE

Instance Attribute Summary

Attributes inherited from Control

#children, #id, #props, #runtime_page, #type, #wire_id

Instance Method Summary collapse

Methods inherited from Control

#attach_handler, #emit, generate_id, #has_handler?, #merge_props, #on, #to_patch

Constructor Details

#initialize(id: nil, **props) ⇒ PieChartControl

Returns a new instance of PieChartControl.



67
# File 'lib/ruflet_ui/ruflet/ui/controls/materials/chart_controls.rb', line 67

def initialize(id: nil, **props) = super(type: "piechart", id: id, **props)