Class: Ambling::Xy::Settings::Zoom
- Inherits:
-
Object
- Object
- Ambling::Xy::Settings::Zoom
- Includes:
- Base
- Defined in:
- lib/ambling/xy.rb
Constant Summary collapse
- VALUES =
[:enabled,:max_factor,:border_color,:border_alpha,:bg_color,:bg_alpha,:target]
Instance Attribute Summary collapse
-
#bg_alpha ⇒ Object
- 25
-
zoom box background opacity.
-
#bg_color ⇒ Object
- #BBBB00
-
zoom box background color.
-
#border_alpha ⇒ Object
- 100
-
(Number) zoom box border opacity.
-
#border_color ⇒ Object
- #BBBB00
-
color of a zoom box border.
-
#enabled ⇒ Object
- true
-
(true / false) whether the user can select the area to zoom-in.
-
#max_factor ⇒ Object
- 20
-
(Number) The maximum zoom level.
-
#target ⇒ Object
- true
-
whether to show target when the mouse is over plot area or not.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#bg_alpha ⇒ Object
- 25
-
zoom box background opacity
898 899 900 |
# File 'lib/ambling/xy.rb', line 898 def bg_alpha @bg_alpha end |
#bg_color ⇒ Object
- #BBBB00
-
zoom box background color
893 894 895 |
# File 'lib/ambling/xy.rb', line 893 def bg_color @bg_color end |
#border_alpha ⇒ Object
- 100
-
(Number) zoom box border opacity
888 889 890 |
# File 'lib/ambling/xy.rb', line 888 def border_alpha @border_alpha end |
#border_color ⇒ Object
- #BBBB00
-
color of a zoom box border
883 884 885 |
# File 'lib/ambling/xy.rb', line 883 def border_color @border_color end |
#enabled ⇒ Object
- true
-
(true / false) whether the user can select the area to zoom-in
873 874 875 |
# File 'lib/ambling/xy.rb', line 873 def enabled @enabled end |
#max_factor ⇒ Object
- 20
-
(Number) The maximum zoom level
878 879 880 |
# File 'lib/ambling/xy.rb', line 878 def max_factor @max_factor end |
#target ⇒ Object
- true
-
whether to show target when the mouse is over plot area or not
903 904 905 |
# File 'lib/ambling/xy.rb', line 903 def target @target end |