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

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

Overview

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 #

Constant Summary collapse

VALUES =
[:enabled,:text_color,:text_size,:bg_color,:bg_alpha]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#bg_alphaObject

Returns the value of attribute bg_alpha.



620
621
622
# File 'lib/ambling/stock.rb', line 620

def bg_alpha
  @bg_alpha
end

#bg_colorObject

100

(0 - 100) x axis values background opacity #



616
617
618
# File 'lib/ambling/stock.rb', line 616

def bg_color
  @bg_color
end

#enabledObject

text_color

(hex code) #



604
605
606
# File 'lib/ambling/stock.rb', line 604

def enabled
  @enabled
end

#text_colorObject

text_size

(hex code) #



608
609
610
# File 'lib/ambling/stock.rb', line 608

def text_color
  @text_color
end

#text_sizeObject

#FFFFFF

(hex code) x axis values background color #



612
613
614
# File 'lib/ambling/stock.rb', line 612

def text_size
  @text_size
end