Class: Ambling::Line::Settings::PlotArea
- Inherits:
-
Object
- Object
- Ambling::Line::Settings::PlotArea
- Includes:
- Base
- Defined in:
- lib/ambling/line.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
271 272 273 |
# File 'lib/ambling/line.rb', line 271 def alpha @alpha end |
#border_alpha ⇒ Object
- 0
-
(0 - 100)
281 282 283 |
# File 'lib/ambling/line.rb', line 281 def border_alpha @border_alpha end |
#border_color ⇒ Object
- #000000
-
(hex color code)
276 277 278 |
# File 'lib/ambling/line.rb', line 276 def border_color @border_color end |
#color ⇒ Object
[#FFFFFF](hex color code) Separate color codes with comas for gradient
266 267 268 |
# File 'lib/ambling/line.rb', line 266 def color @color end |
#margins ⇒ Object
plot area margins
286 287 288 |
# File 'lib/ambling/line.rb', line 286 def margins @margins end |