Class: Ambling::Stock::Settings::Charts::Chart::Grid

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 show vertical grid or not #



458
459
460
# File 'lib/ambling/stock.rb', line 458

def x
  @x
end

#y_leftObject

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_rightObject

Returns the value of attribute y_right.



467
468
469
# File 'lib/ambling/stock.rb', line 467

def y_right
  @y_right
end