Class: Ambling::Stock::Settings::Charts::Chart::Events
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::Charts::Chart::Events
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Overview
- true
-
(true / false) Whether to show balloon with description on roll-over the flag or not. #
Constant Summary collapse
- VALUES =
[:show_balloon,:use_hand_cursor,:url_target,:bullet,:color,:color_hover,:border_color,:border_alpha,:text_color,:size,:hide_period]
Instance Attribute Summary collapse
-
#border_alpha ⇒ Object
- #000000
-
(hex code) flag and sign bullets can have letter inside.
-
#border_color ⇒ Object
- 100
-
(0 - 100) bullet border opacity #.
-
#bullet ⇒ Object
- #FFFFFF
-
(hex code) bullet color #.
-
#color ⇒ Object
- #CC0000
-
(hex code) bullet color #.
-
#color_hover ⇒ Object
- #ABABAB
-
(hex code) bullet border color #.
-
#hide_period ⇒ Object
Returns the value of attribute hide_period.
-
#show_balloon ⇒ Object
- false
-
(true / false) Whether to change mouse cursor to hand on roll-over or not.
-
#size ⇒ Object
-
(mm / hh / DD / WW / MM / YYYY) You might want to hide the bullets if your data is grouped into longer periods #.
-
#text_color ⇒ Object
- 15
-
(Number) size of a bullet #.
-
#url_target ⇒ Object
- sign
-
(sign/flag/pin/round/square/round_outlined/square_outlined/round_outline/square_outline/ /horizontal_line/vertical_line/horizontal_line_dashed/vertical_line_dashed) Only sign, flag and pin bullets can display letters inside.
-
#use_hand_cursor ⇒ Object
-
(_blank, _top…) If you set url for this flag, you can define target of the window in which this url will be opened.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#border_alpha ⇒ Object
- #000000
-
(hex code) flag and sign bullets can have letter inside. This setting defines text
color of the letter #
909 910 911 |
# File 'lib/ambling/stock.rb', line 909 def border_alpha @border_alpha end |
#border_color ⇒ Object
- 100
-
(0 - 100) bullet border opacity #
904 905 906 |
# File 'lib/ambling/stock.rb', line 904 def border_color @border_color end |
#bullet ⇒ Object
- #FFFFFF
-
(hex code) bullet color #
892 893 894 |
# File 'lib/ambling/stock.rb', line 892 def bullet @bullet end |
#color ⇒ Object
- #CC0000
-
(hex code) bullet color #
896 897 898 |
# File 'lib/ambling/stock.rb', line 896 def color @color end |
#color_hover ⇒ Object
- #ABABAB
-
(hex code) bullet border color #
900 901 902 |
# File 'lib/ambling/stock.rb', line 900 def color_hover @color_hover end |
#hide_period ⇒ Object
Returns the value of attribute hide_period.
922 923 924 |
# File 'lib/ambling/stock.rb', line 922 def hide_period @hide_period end |
#show_balloon ⇒ Object
- false
-
(true / false) Whether to change mouse cursor to hand on roll-over or not. #
876 877 878 |
# File 'lib/ambling/stock.rb', line 876 def show_balloon @show_balloon end |
#size ⇒ Object
-
(mm / hh / DD / WW / MM / YYYY) You might want to hide the bullets if your data
is grouped into longer periods #
918 919 920 |
# File 'lib/ambling/stock.rb', line 918 def size @size end |
#text_color ⇒ Object
- 15
-
(Number) size of a bullet #
913 914 915 |
# File 'lib/ambling/stock.rb', line 913 def text_color @text_color end |
#url_target ⇒ Object
- sign
-
(sign/flag/pin/round/square/round_outlined/square_outlined/round_outline/square_outline/
/horizontal_line/vertical_line/horizontal_line_dashed/vertical_line_dashed) Only sign, flag and pin bullets can display letters inside. horizontal_line and horizontal_line_dashed will display the letter (it can be some longer text) above the line #
888 889 890 |
# File 'lib/ambling/stock.rb', line 888 def url_target @url_target end |
#use_hand_cursor ⇒ Object
-
(_blank, _top…) If you set url for this flag, you can define target of the window in which
this url will be opened. #
881 882 883 |
# File 'lib/ambling/stock.rb', line 881 def use_hand_cursor @use_hand_cursor end |