Class: Ambling::Stock::Settings::Charts::Chart::Values
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::Charts::Chart::Values
- 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 display x axis values.
-
#y_left ⇒ Object
- true
-
(true / false) whether to show values 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 display x axis values. If you have more then one
chart, it would be wise to enable x axis values for one chart only #
583 584 585 |
# File 'lib/ambling/stock.rb', line 583 def x @x end |
#y_left ⇒ Object
- true
-
(true / false) whether to show values on this axis or not. Values will be
shown only if at least one graph is assigned to this axis #
588 589 590 |
# File 'lib/ambling/stock.rb', line 588 def y_left @y_left end |
#y_right ⇒ Object
Returns the value of attribute y_right.
592 593 594 |
# File 'lib/ambling/stock.rb', line 592 def y_right @y_right end |