Class: Ambling::Stock::Settings::ExportAsImage
- Inherits:
-
Object
- Object
- Ambling::Stock::Settings::ExportAsImage
- Includes:
- Base
- Defined in:
- lib/ambling/stock.rb
Overview
-
(filename) if you set filename here, context menu (then user right clicks on flash movie)
"Export as image" will appear. This will allow user to export chart as an image. Collected image data will be posted to this file name (use amstock/export.php or amstock/export.aspx) #
Constant Summary collapse
- VALUES =
[:file,:target,:color,:alpha,:text_color,:text_size]
Instance Attribute Summary collapse
-
#alpha ⇒ Object
- text_color
-
(hex color code) #.
-
#color ⇒ Object
- 0
-
(0 - 100) background alpha #.
-
#file ⇒ Object
-
(_blank, _top …) target of a window in which export file must be called #.
-
#target ⇒ Object
- #54b40a
-
(hex code) background color of “Collecting data” text #.
-
#text_color ⇒ Object
- text_size
-
(Number) #.
-
#text_size ⇒ Object
Returns the value of attribute text_size.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#alpha ⇒ Object
- text_color
-
(hex color code) #
1866 1867 1868 |
# File 'lib/ambling/stock.rb', line 1866 def alpha @alpha end |
#color ⇒ Object
- 0
-
(0 - 100) background alpha #
1862 1863 1864 |
# File 'lib/ambling/stock.rb', line 1862 def color @color end |
#file ⇒ Object
-
(_blank, _top …) target of a window in which export file must be called #
1854 1855 1856 |
# File 'lib/ambling/stock.rb', line 1854 def file @file end |
#target ⇒ Object
- #54b40a
-
(hex code) background color of “Collecting data” text #
1858 1859 1860 |
# File 'lib/ambling/stock.rb', line 1858 def target @target end |
#text_color ⇒ Object
- text_size
-
(Number) #
1870 1871 1872 |
# File 'lib/ambling/stock.rb', line 1870 def text_color @text_color end |
#text_size ⇒ Object
Returns the value of attribute text_size.
1874 1875 1876 |
# File 'lib/ambling/stock.rb', line 1874 def text_size @text_size end |