Class: Ambling::Line::Settings::Grid::YLeft
- Inherits:
-
Object
- Object
- Ambling::Line::Settings::Grid::YLeft
- Includes:
- Base
- Defined in:
- lib/ambling/line.rb
Overview
horizontal grid, Y left axis. Visible only if there is at least one graph assigned to left axis
Constant Summary collapse
- VALUES =
[:enabled,:color,:alpha,:dashed,:dash_length,:approx_count,:fill_color,:fill_alpha]
Instance Attribute Summary collapse
-
#alpha ⇒ Object
- 15
-
(0 - 100).
-
#approx_count ⇒ Object
- 10
-
(Number) approximate number of gridlines.
-
#color ⇒ Object
- #000000
-
(hex color code).
-
#dash_length ⇒ Object
- 5
-
(Number).
-
#dashed ⇒ Object
- false
-
(true / false).
-
#enabled ⇒ Object
- true
-
(true / false).
-
#fill_alpha ⇒ Object
- 0
-
(0 - 100) opacity of fill.
-
#fill_color ⇒ Object
- #FFFFFF
-
(hex color code) every second area between gridlines will be filled with this color (you will need to set fill_alpha > 0).
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#alpha ⇒ Object
- 15
-
(0 - 100)
439 440 441 |
# File 'lib/ambling/line.rb', line 439 def alpha @alpha end |
#approx_count ⇒ Object
- 10
-
(Number) approximate number of gridlines
454 455 456 |
# File 'lib/ambling/line.rb', line 454 def approx_count @approx_count end |
#color ⇒ Object
- #000000
-
(hex color code)
434 435 436 |
# File 'lib/ambling/line.rb', line 434 def color @color end |
#dash_length ⇒ Object
- 5
-
(Number)
449 450 451 |
# File 'lib/ambling/line.rb', line 449 def dash_length @dash_length end |
#dashed ⇒ Object
- false
-
(true / false)
444 445 446 |
# File 'lib/ambling/line.rb', line 444 def dashed @dashed end |
#enabled ⇒ Object
- true
-
(true / false)
429 430 431 |
# File 'lib/ambling/line.rb', line 429 def enabled @enabled end |
#fill_alpha ⇒ Object
- 0
-
(0 - 100) opacity of fill
464 465 466 |
# File 'lib/ambling/line.rb', line 464 def fill_alpha @fill_alpha end |
#fill_color ⇒ Object
- #FFFFFF
-
(hex color code) every second area between gridlines will be filled with this color (you will need to set fill_alpha > 0)
459 460 461 |
# File 'lib/ambling/line.rb', line 459 def fill_color @fill_color end |