Class: Ambling::Line::Settings::Legend::Values
- Inherits:
-
Object
- Object
- Ambling::Line::Settings::Legend::Values
- Includes:
- Base
- Defined in:
- lib/ambling/line.rb
Overview
VALUES
Constant Summary collapse
- VALUES =
[:enabled,:width,:align,:text]
Instance Attribute Summary collapse
-
#align ⇒ Object
- right
-
(right / left).
-
#enabled ⇒ Object
- false
-
(true / false) whether to show values near legend entries or not.
-
#text ⇒ Object
- value
-
(title value series description percents) You can format any text: value will be replaced with value, description - with description and so on.
-
#width ⇒ Object
- 80
-
(Number) width of text field for value.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#align ⇒ Object
- right
-
(right / left)
1143 1144 1145 |
# File 'lib/ambling/line.rb', line 1143 def align @align end |
#enabled ⇒ Object
- false
-
(true / false) whether to show values near legend entries or not
1133 1134 1135 |
# File 'lib/ambling/line.rb', line 1133 def enabled @enabled end |
#text ⇒ Object
- value
-
(title value series description percents) You can format any text: value will be replaced with value, description - with description and so on. You can add your own text or html code too.
1148 1149 1150 |
# File 'lib/ambling/line.rb', line 1148 def text @text end |
#width ⇒ Object
- 80
-
(Number) width of text field for value
1138 1139 1140 |
# File 'lib/ambling/line.rb', line 1138 def width @width end |