Class: Ambling::Column::Settings::Axes::Value
- Inherits:
-
Object
- Object
- Ambling::Column::Settings::Axes::Value
- Includes:
- Base
- Defined in:
- lib/ambling/column.rb
Overview
value axis
Constant Summary collapse
- VALUES =
[:color,:alpha,:width,:tick_length,:logarithmic]
Instance Attribute Summary collapse
-
#alpha ⇒ Object
- 100
-
(0 - 100).
-
#color ⇒ Object
- #000000
-
(hex color code).
-
#logarithmic ⇒ Object
- false
-
(true / false) If set to true, this axis will use logarithmic scale instead of linear.
-
#tick_length ⇒ Object
- 7
-
(Number).
-
#width ⇒ Object
- 2
-
(Number) line width, 0 for hairline.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#alpha ⇒ Object
- 100
-
(0 - 100)
727 728 729 |
# File 'lib/ambling/column.rb', line 727 def alpha @alpha end |
#color ⇒ Object
- #000000
-
(hex color code)
722 723 724 |
# File 'lib/ambling/column.rb', line 722 def color @color end |
#logarithmic ⇒ Object
- false
-
(true / false) If set to true, this axis will use logarithmic scale instead of linear
742 743 744 |
# File 'lib/ambling/column.rb', line 742 def logarithmic @logarithmic end |
#tick_length ⇒ Object
- 7
-
(Number)
737 738 739 |
# File 'lib/ambling/column.rb', line 737 def tick_length @tick_length end |
#width ⇒ Object
- 2
-
(Number) line width, 0 for hairline
732 733 734 |
# File 'lib/ambling/column.rb', line 732 def width @width end |