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

value or explanation between () brackets shows the range or type of values you should use for this parameter

Included Modules


Classes and Modules

Class Ambling::Xy::Settings::Axes
Class Ambling::Xy::Settings::Background
Class Ambling::Xy::Settings::Balloon
Class Ambling::Xy::Settings::DateFormats
Class Ambling::Xy::Settings::ErrorMessages
Class Ambling::Xy::Settings::ExportAsImage
Class Ambling::Xy::Settings::Graphs
Class Ambling::Xy::Settings::Grid
Class Ambling::Xy::Settings::Labels
Class Ambling::Xy::Settings::Legend
Class Ambling::Xy::Settings::PlotArea
Class Ambling::Xy::Settings::Strings
Class Ambling::Xy::Settings::Values


VALUES = [:data_type,:csv_separator,:skip_rows,:font,:text_size,:text_color,:decimals_separator,:thousands_separator,:digits_after_decimal,:redraw,:reload_data_interval,:preloader_on_reload,:add_time_stamp,:depth,:angle,:link_target,:mask,:background,:plot_area,:grid,:values,:axes,:date_formats,:balloon,:legend,:export_as_image,:error_messages,:strings,:labels,:graphs]


add_time_stamp  [RW] 
(true / false) if true, a unique number will be added every time flash loads data. Mainly this feature is useful if you set reload _data_interval
angle  [RW] 
(0 - 90) angle of chart area and columns (for 3D effect)
axes  [RW]  axes
background  [RW]  BACKGROUND
balloon  [RW]  BALLOON
csv_separator  [RW] 
(string) csv file data separator (you need it only if you are using csv file for your data)
data_type  [RW] 
(xml / csv)
date_formats  [RW]  these settings are important only if your axis type is date or duration
decimals_separator  [RW] 
(string) decimal separator. Note, that this is for displaying data only. Decimals in data xml file must be separated with a dot
depth  [RW] 
(Number) the depth of chart and columns (for 3D effect)
digits_after_decimal  [RW] 
(Number) if your value has less digits after decimal then is set here, zeroes will be added
error_messages  [RW]  "error_messages" settings will be applied for all error messages except the one which is showed if settings file wasn‘t found
export_as_image  [RW]  export_as_image feature works only on a web server
font  [RW] 
(font name) use device fonts, such as Arial, Times New Roman, Tahoma, Verdana…
graphs  [RW]  if graph settings are defined both here and in data file, the ones from data file are used
grid  [RW]  GRID
labels  [RW]  labels can also be added in data xml file, using exactly the same structure like it is here
legend  [RW]  LEGEND
link_target  [RW] 
(_blank, _top …)
mask  [RW] 
if true, bubbles, data labels will be masked withing plot area
plot_area  [RW]  PLOT AREA (the area between axes)
preloader_on_reload  [RW] 
(true / false) Whether to show preloaded when data or settings are reloaded
redraw  [RW] 
(true / false) if your chart‘s width or height is set in percents, and redraw is set to true, the chart will be redrawn then screen size changes
reload_data_interval  [RW] 
(Number) how often data should be reloaded (time in seconds)
skip_rows  [RW] 
(Number) if you are using csv data type, you can set the number of rows which should be skipped here
strings  [RW] 
text_color  [RW] 
(hex color code) main text color. Every text color can be set individually in the settings below
text_size  [RW] 
(Number) text size of all texts. Every text size can be set individually in the settings below
thousands_separator  [RW] 
(string) thousand separator
values  [RW]  VALUES