Class: Ambling::Pie::Settings::Legend::Key
- Inherits:
-
Object
- Object
- Ambling::Pie::Settings::Legend::Key
- Includes:
- Base
- Defined in:
- lib/ambling/pie.rb
Overview
KEY (the color box near every legend entry)
Constant Summary collapse
- VALUES =
[:size,:border_color]
Instance Attribute Summary collapse
-
#border_color ⇒ Object
-
(hex color code) leave empty if you don’t want to have border.
-
#size ⇒ Object
- 16
-
(Number) key size.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#border_color ⇒ Object
-
(hex color code) leave empty if you don’t want to have border
594 595 596 |
# File 'lib/ambling/pie.rb', line 594 def border_color @border_color end |
#size ⇒ Object
- 16
-
(Number) key size
589 590 591 |
# File 'lib/ambling/pie.rb', line 589 def size @size end |