Class: Ambling::Stock::Settings::Charts::Chart::Grid::YLeft
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::Charts::Chart::Grid::YLeft
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Overview
- true
-
(true / false) whether to show grid on this axis or not. Grid will be shown
only if at least one graph is assigned to this axis #
Constant Summary collapse
- VALUES =
[:enabled,:color,:alpha,:dashed,:dash_length,:approx_count,:fill_color,:fill_alpha]
Instance Attribute Summary collapse
-
#alpha ⇒ Object
- false
-
(true / false) note, dashed lines affects performance #.
-
#approx_count ⇒ Object
- #FFFFFF
-
(hex code) Every second area between grid lines will be filled with this color (remember to set fill_alpha > 0) #.
-
#color ⇒ Object
- 15
-
(0 - 100) grid opacity #.
-
#dash_length ⇒ Object
- 5
-
(Number) Approximate number of grid lines #.
-
#dashed ⇒ Object
- 5
-
(Number) #.
-
#enabled ⇒ Object
- #000000
-
(hex code) grid color #.
-
#fill_alpha ⇒ Object
Returns the value of attribute fill_alpha.
-
#fill_color ⇒ Object
- 0
-
(0 - 100) opacity of fill #.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#alpha ⇒ Object
- false
-
(true / false) note, dashed lines affects performance #
513 514 515 |
# File 'lib/ambling/stock.rb', line 513 def alpha @alpha end |
#approx_count ⇒ Object
- #FFFFFF
-
(hex code) Every second area between grid lines will be filled with this color (remember to set fill_alpha > 0) #
525 526 527 |
# File 'lib/ambling/stock.rb', line 525 def approx_count @approx_count end |
#color ⇒ Object
- 15
-
(0 - 100) grid opacity #
509 510 511 |
# File 'lib/ambling/stock.rb', line 509 def color @color end |
#dash_length ⇒ Object
- 5
-
(Number) Approximate number of grid lines #
521 522 523 |
# File 'lib/ambling/stock.rb', line 521 def dash_length @dash_length end |
#dashed ⇒ Object
- 5
-
(Number) #
517 518 519 |
# File 'lib/ambling/stock.rb', line 517 def dashed @dashed end |
#enabled ⇒ Object
- #000000
-
(hex code) grid color #
505 506 507 |
# File 'lib/ambling/stock.rb', line 505 def enabled @enabled end |
#fill_alpha ⇒ Object
Returns the value of attribute fill_alpha.
533 534 535 |
# File 'lib/ambling/stock.rb', line 533 def fill_alpha @fill_alpha end |
#fill_color ⇒ Object
- 0
-
(0 - 100) opacity of fill #
529 530 531 |
# File 'lib/ambling/stock.rb', line 529 def fill_color @fill_color end |