Class: Ambling::Xy::Settings::Axes::X
- Inherits:
-
Object
- Object
- Ambling::Xy::Settings::Axes::X
- Includes:
- Base
- Defined in:
- lib/ambling/xy.rb
Overview
x 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)
621 622 623 |
# File 'lib/ambling/xy.rb', line 621 def alpha @alpha end |
#color ⇒ Object
- #000000
-
(hex color code)
616 617 618 |
# File 'lib/ambling/xy.rb', line 616 def color @color end |
#logarithmic ⇒ Object
- false
-
(true / false) If set to true, this axis will use logarithmic scale instead of linear
636 637 638 |
# File 'lib/ambling/xy.rb', line 636 def logarithmic @logarithmic end |
#tick_length ⇒ Object
- 7
-
(Number)
631 632 633 |
# File 'lib/ambling/xy.rb', line 631 def tick_length @tick_length end |
#width ⇒ Object
- 2
-
(Number) line width, 0 for hairline
626 627 628 |
# File 'lib/ambling/xy.rb', line 626 def width @width end |