Class Ambling::Xy::Settings::ExportAsImage
In: lib/ambling/xy.rb
Parent: Object

export_as_image feature works only on a web server

Included Modules

Base

Constants

VALUES = [:file,:target,:x,:y,:color,:alpha,:text_color,:text_size]

Attributes

alpha  [RW] 
0
(0 - 100) background alpha
color  [RW] 
BBBB00
(hex color code) background color of "Collecting data" text
file  [RW] 
(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 amxy/export.php or amxy/export.aspx)
target  [RW] 
(_blank, _top …) target of a window in which export file must be called
text_color  [RW] 
text_color
(hex color code)
text_size  [RW] 
text_size
(Number)
x  [RW] 
0
(Number) x position of "Collecting data" text
y  [RW] 
(Number) y position of "Collecting data" text. If not set, will be aligned to the bottom of flash movie

[Validate]