Class: Ambling::Stock::Settings::Charts::Chart::Grid
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::Charts::Chart::Grid
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Defined Under Namespace
Constant Summary collapse
- VALUES =
[:x,:y_left,:y_right]
Instance Attribute Summary collapse
-
#x ⇒ Object
- true
-
(true / false) whether to show vertical grid or not #.
-
#y_left ⇒ Object
- true
-
(true / false) whether to show grid on this axis or not.
-
#y_right ⇒ Object
Returns the value of attribute y_right.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#x ⇒ Object
- true
-
(true / false) whether to show vertical grid or not #
458 459 460 |
# File 'lib/ambling/stock.rb', line 458 def x @x end |
#y_left ⇒ Object
- 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 #
463 464 465 |
# File 'lib/ambling/stock.rb', line 463 def y_left @y_left end |
#y_right ⇒ Object
Returns the value of attribute y_right.
467 468 469 |
# File 'lib/ambling/stock.rb', line 467 def y_right @y_right end |