Class: Ambling::Stock::Settings::Charts::Chart::Values

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/stock.rb

Defined Under Namespace

Classes: X, YLeft, YRight

Constant Summary collapse

VALUES =
[:x,:y_left,:y_right]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#xObject

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_leftObject

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_rightObject

Returns the value of attribute y_right.



592
593
594
# File 'lib/ambling/stock.rb', line 592

def y_right
  @y_right
end