Class: Ambling::Xy::Settings::PlotArea
- Inherits:
-
Object
- Object
- Ambling::Xy::Settings::PlotArea
- Includes:
- Base
- Defined in:
- lib/ambling/xy.rb
Overview
PLOT AREA (the area between axes)
Defined Under Namespace
Classes: Margins
Constant Summary collapse
- VALUES =
[:color,:alpha,:border_color,:border_alpha,:margins]
Instance Attribute Summary collapse
-
#alpha ⇒ Object
- 0
-
(0 - 100) if you want it to be different than background color, use bigger than 0 value.
-
#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.
-
#margins ⇒ Object
plot area margins.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#alpha ⇒ Object
- 0
-
(0 - 100) if you want it to be different than background color, use bigger than 0 value
241 242 243 |
# File 'lib/ambling/xy.rb', line 241 def alpha @alpha end |
#border_alpha ⇒ Object
- 0
-
(0 - 100)
251 252 253 |
# File 'lib/ambling/xy.rb', line 251 def border_alpha @border_alpha end |
#border_color ⇒ Object
- #000000
-
(hex color code)
246 247 248 |
# File 'lib/ambling/xy.rb', line 246 def border_color @border_color end |
#color ⇒ Object
[#FFFFFF](hex color code) Separate color codes with comas for gradient
236 237 238 |
# File 'lib/ambling/xy.rb', line 236 def color @color end |
#margins ⇒ Object
plot area margins
256 257 258 |
# File 'lib/ambling/xy.rb', line 256 def margins @margins end |