Class: Ambling::Xy::Settings::Axes::Y
- Inherits:
-
Object
- Object
- Ambling::Xy::Settings::Axes::Y
- Includes:
- Base
- Defined in:
- lib/ambling/xy.rb
Overview
y 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)
653 654 655 |
# File 'lib/ambling/xy.rb', line 653 def alpha @alpha end |
#color ⇒ Object
- #000000
-
(hex color code)
648 649 650 |
# File 'lib/ambling/xy.rb', line 648 def color @color end |
#logarithmic ⇒ Object
- false
-
(true / false) If set to true, this axis will use logarithmic scale instead of linear
668 669 670 |
# File 'lib/ambling/xy.rb', line 668 def logarithmic @logarithmic end |
#tick_length ⇒ Object
- 7
-
(Number)
663 664 665 |
# File 'lib/ambling/xy.rb', line 663 def tick_length @tick_length end |
#width ⇒ Object
- 2
-
(Number) line width, 0 for hairline
658 659 660 |
# File 'lib/ambling/xy.rb', line 658 def width @width end |