Class: Ambling::Xy::Settings::Background
- Inherits:
-
Object
- Object
- Ambling::Xy::Settings::Background
- Includes:
- Base
- Defined in:
- lib/ambling/xy.rb
Overview
BACKGROUND
Constant Summary collapse
- VALUES =
[:color,:alpha,:border_color,:border_alpha,:file]
Instance Attribute Summary collapse
-
#alpha ⇒ Object
- 0
-
(0 - 100) use 0 if you are using custom swf or jpg for background.
-
#border_alpha ⇒ Object
- 0
-
(0 - 100).
-
#border_color ⇒ Object
- #000000
-
(hex color code).
-
#color ⇒ Object
- #FFFFFF
-
(hex color code) Separate color codes with comas for gradient.
-
#file ⇒ Object
The chart will look for this file in “path” folder (“path” is set in HTML).
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#alpha ⇒ Object
- 0
-
(0 - 100) use 0 if you are using custom swf or jpg for background
209 210 211 |
# File 'lib/ambling/xy.rb', line 209 def alpha @alpha end |
#border_alpha ⇒ Object
- 0
-
(0 - 100)
219 220 221 |
# File 'lib/ambling/xy.rb', line 219 def border_alpha @border_alpha end |
#border_color ⇒ Object
- #000000
-
(hex color code)
214 215 216 |
# File 'lib/ambling/xy.rb', line 214 def border_color @border_color end |
#color ⇒ Object
- #FFFFFF
-
(hex color code) Separate color codes with comas for gradient
204 205 206 |
# File 'lib/ambling/xy.rb', line 204 def color @color end |
#file ⇒ Object
The chart will look for this file in “path” folder (“path” is set in HTML)
224 225 226 |
# File 'lib/ambling/xy.rb', line 224 def file @file end |