Class: Ambling::Stock::Settings::Charts::Chart::Values::X
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::Charts::Chart::Values::X
- 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
-
#bg_alpha ⇒ Object
Returns the value of attribute bg_alpha.
-
#bg_color ⇒ Object
- 100
-
(0 - 100) x axis values background opacity #.
-
#enabled ⇒ Object
- text_color
-
(hex code) #.
-
#text_color ⇒ Object
- text_size
-
(hex code) #.
-
#text_size ⇒ Object
- #FFFFFF
-
(hex code) x axis values background color #.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#bg_alpha ⇒ Object
Returns the value of attribute bg_alpha.
620 621 622 |
# File 'lib/ambling/stock.rb', line 620 def bg_alpha @bg_alpha end |
#bg_color ⇒ Object
- 100
-
(0 - 100) x axis values background opacity #
616 617 618 |
# File 'lib/ambling/stock.rb', line 616 def bg_color @bg_color end |
#enabled ⇒ Object
- text_color
-
(hex code) #
604 605 606 |
# File 'lib/ambling/stock.rb', line 604 def enabled @enabled end |
#text_color ⇒ Object
- text_size
-
(hex code) #
608 609 610 |
# File 'lib/ambling/stock.rb', line 608 def text_color @text_color end |
#text_size ⇒ Object
- #FFFFFF
-
(hex code) x axis values background color #
612 613 614 |
# File 'lib/ambling/stock.rb', line 612 def text_size @text_size end |