Class: Ambling::Xy::Settings::Scroller
- Inherits:
-
Object
- Object
- Ambling::Xy::Settings::Scroller
- Includes:
- Base
- Defined in:
- lib/ambling/xy.rb
Constant Summary collapse
- VALUES =
[:enabled,:color,:alpha,:bg_color,:bg_alpha,:height]
Instance Attribute Summary collapse
-
#alpha ⇒ Object
- 100
-
(Number) scrollbar alpha.
-
#bg_alpha ⇒ Object
- 100
-
(Number) scroller background alpha.
-
#bg_color ⇒ Object
- #F0F0F0
-
(hex color code) scroller background color.
-
#color ⇒ Object
- #DADADA
-
(hex color code) scrollbar color.
-
#enabled ⇒ Object
- true
-
(true / false) whether to show scroller when chart is zoomed or not.
-
#height ⇒ Object
- 10
-
(Number) scroller height.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#alpha ⇒ Object
- 100
-
(Number) scrollbar alpha
846 847 848 |
# File 'lib/ambling/xy.rb', line 846 def alpha @alpha end |
#bg_alpha ⇒ Object
- 100
-
(Number) scroller background alpha
856 857 858 |
# File 'lib/ambling/xy.rb', line 856 def bg_alpha @bg_alpha end |
#bg_color ⇒ Object
- #F0F0F0
-
(hex color code) scroller background color. Separate color codes with comas for gradient
851 852 853 |
# File 'lib/ambling/xy.rb', line 851 def bg_color @bg_color end |
#color ⇒ Object
- #DADADA
-
(hex color code) scrollbar color. Separate color codes with comas for gradient
841 842 843 |
# File 'lib/ambling/xy.rb', line 841 def color @color end |
#enabled ⇒ Object
- true
-
(true / false) whether to show scroller when chart is zoomed or not
836 837 838 |
# File 'lib/ambling/xy.rb', line 836 def enabled @enabled end |
#height ⇒ Object
- 10
-
(Number) scroller height
861 862 863 |
# File 'lib/ambling/xy.rb', line 861 def height @height end |