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

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

Overview

true

(true / false) whether to show vertical grid or not #

Constant Summary collapse

VALUES =
[:enabled,:color,:alpha,:dashed,:dash_length]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

false

(true / false) note, dashed lines affects performance #



486
487
488
# File 'lib/ambling/stock.rb', line 486

def alpha
  @alpha
end

#colorObject

15

(0 - 100) vertical grid opacity #



482
483
484
# File 'lib/ambling/stock.rb', line 482

def color
  @color
end

#dash_lengthObject

Returns the value of attribute dash_length.



494
495
496
# File 'lib/ambling/stock.rb', line 494

def dash_length
  @dash_length
end

#dashedObject

5

(Number) #



490
491
492
# File 'lib/ambling/stock.rb', line 490

def dashed
  @dashed
end

#enabledObject

#000000

(hex code) vertical grid color #



478
479
480
# File 'lib/ambling/stock.rb', line 478

def enabled
  @enabled
end