Class: Ambling::Line::Settings::Axes::YRight
- Inherits:
-
Object
- Object
- Ambling::Line::Settings::Axes::YRight
- Includes:
- Base
- Defined in:
- lib/ambling/line.rb
Overview
Y right axis, visible only if at least one graph is assigned to this axis
Constant Summary collapse
- VALUES =
[:type,: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).
-
#type ⇒ Object
- line
-
(line, stacked, 100% stacked).
-
#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)
866 867 868 |
# File 'lib/ambling/line.rb', line 866 def alpha @alpha end |
#color ⇒ Object
- #000000
-
(hex color code)
861 862 863 |
# File 'lib/ambling/line.rb', line 861 def color @color end |
#logarithmic ⇒ Object
- false
-
(true / false) If set to true, this axis will use logarithmic scale instead of linear
881 882 883 |
# File 'lib/ambling/line.rb', line 881 def logarithmic @logarithmic end |
#tick_length ⇒ Object
- 7
-
(Number)
876 877 878 |
# File 'lib/ambling/line.rb', line 876 def tick_length @tick_length end |
#type ⇒ Object
- line
-
(line, stacked, 100% stacked)
856 857 858 |
# File 'lib/ambling/line.rb', line 856 def type @type end |
#width ⇒ Object
- 2
-
(Number) line width, 0 for hairline
871 872 873 |
# File 'lib/ambling/line.rb', line 871 def width @width end |