Class: Ambling::Stock::Settings::Charts::Chart::Events

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#border_alphaObject

#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_colorObject

100

(0 - 100) bullet border opacity #



904
905
906
# File 'lib/ambling/stock.rb', line 904

def border_color
  @border_color
end

#bulletObject

#FFFFFF

(hex code) bullet color #



892
893
894
# File 'lib/ambling/stock.rb', line 892

def bullet
  @bullet
end

#colorObject

#CC0000

(hex code) bullet color #



896
897
898
# File 'lib/ambling/stock.rb', line 896

def color
  @color
end

#color_hoverObject

#ABABAB

(hex code) bullet border color #



900
901
902
# File 'lib/ambling/stock.rb', line 900

def color_hover
  @color_hover
end

#hide_periodObject

Returns the value of attribute hide_period.



922
923
924
# File 'lib/ambling/stock.rb', line 922

def hide_period
  @hide_period
end

#show_balloonObject

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

#sizeObject

(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_colorObject

15

(Number) size of a bullet #



913
914
915
# File 'lib/ambling/stock.rb', line 913

def text_color
  @text_color
end

#url_targetObject

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_cursorObject

(_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