ambling 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,335 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Value between [] brackets, for example [#FFFFFF] shows default value which is used if this parameter is not set -->
3
+ <!-- This means, that if you are happy with this value, you can delete this line at all and reduce file size -->
4
+ <!-- the top left corner has coordinates x = 0, y = 0 -->
5
+ <!-- "!" before x or y position (for example: <x>!20</x>) means that the coordinate will be calculated from the right side or the bottom -->
6
+ <settings>
7
+ <data_type></data_type> <!-- [xml] (xml / csv) -->
8
+ <csv_separator></csv_separator> <!-- [;] (string) csv file data separator (you need it only if you are using csv file for your data) -->
9
+ <skip_rows>1</skip_rows> <!-- [0] (Number) if you are using csv data type, you can set the number of rows which should be skipped here -->
10
+ <font>Tahoma</font> <!-- [Arial] (font name) use device fonts, such as Arial, Times New Roman, Tahoma, Verdana... -->
11
+ <text_size></text_size> <!-- [11] (Number) text size of all texts. Every text size can be set individually in the settings below -->
12
+ <text_color></text_color> <!-- [#000000] (hex color code) main text color. Every text color can be set individually in the settings below-->
13
+ <decimals_separator></decimals_separator> <!-- [,] (string) decimal separator. Note, that this is for displaying data only. Decimals in data xml file must be separated with a dot -->
14
+ <thousands_separator></thousands_separator> <!-- [ ] (string) thousand separator. use "none" if you don't want to separate -->
15
+ <digits_after_decimal></digits_after_decimal> <!-- [] (Number) if your value has less digits after decimal then is set here, zeroes will be added -->
16
+ <redraw></redraw> <!-- [false] (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 -->
17
+ <reload_data_interval></reload_data_interval> <!-- [0] (Number) how often data should be reloaded (time in seconds) -->
18
+ <preloader_on_reload></preloader_on_reload> <!-- [false] (true / false) Whether to show preloaded when data or settings are reloaded -->
19
+ <add_time_stamp></add_time_stamp> <!-- [false] (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 -->
20
+ <depth></depth> <!-- [0] (Number) the depth of chart and columns (for 3D effect) -->
21
+ <angle></angle> <!-- [30] (0 - 90) angle of chart area and columns (for 3D effect) -->
22
+ <link_target></link_target> <!-- [] (_blank, _top ...) -->
23
+ <mask></mask> <!-- [true] if true, bubbles, data labels will be masked within plot area. If the <zoom> is enabled, this setting is always "true" -->
24
+ <colors></colors> <!-- [#FF6600,#FCD202,#B0DE09,#0D8ECF,#2A0CD0,#CD0D74,#CC0000,#00CC00,#0000CC,#DDDDDD,#999999,#333333,#990000] Colors of graphs. if the graph color is not set, color from this array will be used -->
25
+
26
+ <background> <!-- BACKGROUND -->
27
+ <color></color> <!-- [#FFFFFF] (hex color code) Separate color codes with comas for gradient -->
28
+ <alpha></alpha> <!-- [0] (0 - 100) use 0 if you are using custom swf or jpg for background -->
29
+ <border_color></border_color> <!-- [#000000] (hex color code) -->
30
+ <border_alpha></border_alpha> <!-- [0] (0 - 100) -->
31
+ <file></file> <!-- [] (filename) swf or jpg file of a background. Do not use progressive jpg file, it will be not visible with flash player 7 -->
32
+ <!-- The chart will look for this file in "path" folder ("path" is set in HTML) -->
33
+ </background>
34
+
35
+ <plot_area> <!-- PLOT AREA (the area between axes) -->
36
+ <color></color> <!-- [#FFFFFF](hex color code) Separate color codes with comas for gradient -->
37
+ <alpha></alpha> <!-- [0] (0 - 100) if you want it to be different than background color, use bigger than 0 value -->
38
+ <border_color></border_color> <!-- [#000000] (hex color code) -->
39
+ <border_alpha></border_alpha> <!-- [0] (0 - 100) -->
40
+ <margins> <!-- plot area margins -->
41
+ <left></left> <!-- [60](Number) -->
42
+ <top></top> <!-- [60](Number) -->
43
+ <right></right> <!-- [60](Number) -->
44
+ <bottom></bottom> <!-- [80](Number) -->
45
+ </margins>
46
+ </plot_area>
47
+
48
+ <grid> <!-- GRID -->
49
+ <x> <!-- x axis grid -->
50
+ <color></color> <!-- [#000000] (hex color code) -->
51
+ <alpha>5</alpha> <!-- [15] (0 - 100) -->
52
+ <dashed></dashed> <!-- [false] (true / false) -->
53
+ <dash_length></dash_length> <!-- [5] (Number) -->
54
+ <approx_count></approx_count> <!-- [10] (Number) approximate number of gridlines -->
55
+ <fill_color></fill_color> <!-- [#FFFFFF] (hex color code) every second area between gridlines will be filled with this color (you will need to set fill_alpha > 0) -->
56
+ <fill_alpha></fill_alpha> <!-- [0] (0 - 100) opacity of fill -->
57
+ </x>
58
+ <y> <!-- y axis grid -->
59
+ <color></color> <!-- [#000000] (hex color code) -->
60
+ <enabled></enabled> <!-- [true] (true / false) -->
61
+ <alpha>5</alpha> <!-- [15] (0 - 100) -->
62
+ <dashed></dashed> <!-- [false] (true / false) -->
63
+ <dash_length></dash_length> <!-- [5] (Number) -->
64
+ <approx_count></approx_count> <!-- [10] (Number) approximate number of gridlines -->
65
+ <fill_color>000000</fill_color> <!-- [#FFFFFF] (hex color code) every second area between gridlines will be filled with this color (you will need to set fill_alpha > 0) -->
66
+ <fill_alpha>5</fill_alpha> <!-- [0] (0 - 100) opacity of fill -->
67
+ </y>
68
+ </grid>
69
+
70
+ <values> <!-- VALUES -->
71
+ <x> <!-- x axis -->
72
+ <enabled></enabled> <!-- [true] (true / false) -->
73
+ <type></type> <!-- [number] (number / date / duration) type of axis. -->
74
+ <!-- "duration" means that your numbers will be formatted as time, for example 130 seconds can be displayed as 02:10 or as 02 min 10 s (you can setup units in <strings>) -->
75
+ <!-- "date" means that your axis will display dates (you must specify date formats in <date_formats>) -->
76
+ <reverse></reverse> <!-- [false] (true / false) whether to reverse this axis values or not. If set to true, values will start from biggest number and will end with a smallest number -->
77
+ <min></min> <!-- [] (Number) minimum value of this axis. If empty, this value will be calculated automatically. -->
78
+ <max></max> <!-- [] (Number) maximum value of this axis. If empty, this value will be calculated automatically -->
79
+ <strict_min_max></strict_min_max> <!-- [false] (true / false) by default, if your values are bigger then defined max (or smaller then defined min), max and min is changed so that all the chart would fit to chart area. If you don't want this, set this option to true. -->
80
+ <frequency></frequency> <!-- [1] (Number) how often values should be placed, 1 - near every gridline, 2 - near every second gridline... -->
81
+ <rotate></rotate> <!-- [0] (0 - 90) angle of rotation. If you want to rotate by degree from 1 to 89, you must have font.swf file in fonts folder -->
82
+ <skip_first></skip_first> <!-- [true] (true / false) to skip or not first value -->
83
+ <skip_last></skip_last> <!-- [false] (true / false) to skip or not last value -->
84
+ <color></color> <!-- [text_color] (hex color code) -->
85
+ <text_size></text_size> <!-- [text_size] (Number) -->
86
+ <unit></unit> <!-- [] (text) -->
87
+ <unit_position></unit_position> <!-- [right] (right / left) -->
88
+ <integers_only></integers_only> <!-- [false] (true / false) if set to true, values with decimals will be omitted -->
89
+ <inside></inside> <!-- [false] (true / false) if set to true, axis values will be displayed inside plot area. This setting will not work for values rotated by 1-89 degrees (0 and 90 only) -->
90
+ </x>
91
+ <y> <!-- y axis -->
92
+ <enabled></enabled> <!-- [true] (true / false) -->
93
+ <type></type> <!-- [number] (number / date / duration) type of axis. -->
94
+ <!-- "duration" means that your numbers will be formatted as time, for example 130 seconds can be displayed as 02:10 or as 02 min 10 s (you can setup units in <strings>) -->
95
+ <!-- "date" means that your axis will display dates (you must specify date formats in <date_formats>) -->
96
+ <reverse></reverse> <!-- [false] (true / false) whether to reverse this axis values or not. If set to true, values will start from biggest number and will end with a smallest number -->
97
+ <min></min> <!-- [] (Number) minimum value of this axis. If empty, this value will be calculated automatically. -->
98
+ <max></max> <!-- [] (Number) maximum value of this axis. If empty, this value will be calculated automatically -->
99
+ <strict_min_max></strict_min_max> <!-- [false] (true / false) by default, if your values are bigger then defined max (or smaller then defined min), max and min is changed so that all the chart would fit to chart area. If you don't want this, set this option to true. -->
100
+ <frequency></frequency> <!-- [1] (Number) how often values should be placed, 1 - near every gridline, 2 - near every second gridline... -->
101
+ <rotate></rotate> <!-- [0] (0 - 90) angle of rotation. If you want to rotate by degree from 1 to 89, you must have font.swf file in fonts folder -->
102
+ <skip_first></skip_first> <!-- [true] (true / false) to skip or not first value -->
103
+ <skip_last></skip_last> <!-- [false] (true / false) to skip or not last value -->
104
+ <color></color> <!-- [text_color] (hex color code) -->
105
+ <text_size></text_size> <!-- [text_size] (Number) -->
106
+ <unit></unit> <!-- [] (text) -->
107
+ <unit_position></unit_position> <!-- [right] (right / left) -->
108
+ <integers_only></integers_only> <!-- [false] (true / false) if set to true, values with decimals will be omitted -->
109
+ <inside></inside> <!-- [false] (true / false) if set to true, axis values will be displayed inside plot area. This setting will not work for values rotated by 1-89 degrees (0 and 90 only) -->
110
+ </y>
111
+ </values>
112
+
113
+ <axes> <!-- axes -->
114
+ <x> <!-- x axis -->
115
+ <color></color> <!-- [#000000] (hex color code) -->
116
+ <alpha></alpha> <!-- [100] (0 - 100) -->
117
+ <width></width> <!-- [2] (Number) line width, 0 for hairline -->
118
+ <tick_length></tick_length> <!-- [7] (Number) -->
119
+ <logarithmic></logarithmic> <!-- [false] (true / false) If set to true, this axis will use logarithmic scale instead of linear -->
120
+ </x>
121
+ <y> <!-- y axis -->
122
+ <color></color> <!-- [#000000] (hex color code) -->
123
+ <alpha></alpha> <!-- [100] (0 - 100) -->
124
+ <width></width> <!-- [2] (Number) line width, 0 for hairline -->
125
+ <tick_length></tick_length> <!-- [7] (Number) -->
126
+ <logarithmic></logarithmic> <!-- [false] (true / false) If set to true, this axis will use logarithmic scale instead of linear -->
127
+ </y>
128
+ </axes>
129
+
130
+ <date_formats> <!-- these settings are important only if your axis type is date or duration -->
131
+ <date_input></date_input> <!-- [YYYY-MM-DD hh:mm:ss] (YYYY, MM, DD, hh, mm, ss) date format of your data -->
132
+ <duration_input></duration_input> <!-- [ss] (DD, mm, hh, ss) duration unit of your data (this is important only if your axis type is "duration") -->
133
+ <axis_values> <!-- when axis type is "date", you must specify date formats for different intervals. "first" describes date format of the first grid line, "regular" - of all other grid lines -->
134
+ <ss first="month DD, YYYY" regular="hh:mm:ss"/> <!-- [first="month DD, YYYY" regular="hh:mm:ss"] date formats when interval is second -->
135
+ <mm first="month DD, YYYY" regular="hh:mm"/> <!-- [first="month DD, YYYY" regular="hh:mm"] date formats when interval is minute -->
136
+ <hh first="month DD, YYYY" regular="hh:mm"/> <!-- [first="month DD, YYYY" regular="hh:mm"] date formats when interval is hour -->
137
+ <DD first="month DD, YYYY" regular="month DD"/> <!-- [first="month DD, YYYY" regular="month DD"] date formats when interval is day -->
138
+ <MM first="month, YYYY" regular="month"/> <!-- [first="month, YYYY" regular="month"] date formats when interval is month -->
139
+ <YYYY first="YYYY" regular="YYYY"/> <!-- [first="YYYY" regular="YYYY"] date formats when interval is year -->
140
+ </axis_values>
141
+ <balloon>month DD, YYYY</balloon> <!-- [month DD, YYYY] balloon date format -->
142
+ <data_labels>month DD, YYYY</data_labels> <!-- [month DD, YYYY] data labels date format -->
143
+ </date_formats>
144
+
145
+ <balloon> <!-- BALLOON -->
146
+ <enabled></enabled> <!-- [true] (true / false) -->
147
+ <color></color> <!-- [] (hex color code) balloon background color. If empty, slightly darker then current column color will be used -->
148
+ <alpha></alpha> <!-- [100] (0 - 100) -->
149
+ <text_color></text_color> <!-- [#FFFFFF] (hex color code) -->
150
+ <text_size></text_size> <!-- [text_size] (Number) -->
151
+ <max_width></max_width> <!-- [220] (Number) -->
152
+ <corner_radius></corner_radius> <!-- [0] (Number) Corner radius of a balloon. If you set it > 0, the balloon will not display arrow -->
153
+ <border_width></border_width> <!-- [0] (Number) -->
154
+ <border_alpha></border_alpha> <!-- [balloon.alpha] (Number) -->
155
+ <border_color></border_color> <!-- [balloon.color] (hex color code) -->
156
+ </balloon>
157
+
158
+ <bullets>
159
+ <hover_brightness>20</hover_brightness> <!-- [0] (from -255 to 255) the bullet may darken/lighten when the use rolls over it. The intensity may be set here -->
160
+ <grow_time>2</grow_time> <!-- [0] (Number) the time of animation of the bullets, in seconds. Leave 0 to appear instantly -->
161
+ <sequenced_grow>true</sequenced_grow> <!-- [false] (true / false) whether to animate all bullets at the same time or one after another -->
162
+ <grow_effect></grow_effect> <!-- [elastic] (elastic, regular, strong) -->
163
+ </bullets>
164
+
165
+ <scroller>
166
+ <enabled></enabled> <!-- [true] (true / false) whether to show scroller when chart is zoomed or not -->
167
+ <color></color> <!-- [#DADADA] (hex color code) scrollbar color. Separate color codes with comas for gradient -->
168
+ <alpha></alpha> <!-- [100] (Number) scrollbar alpha -->
169
+ <bg_color></bg_color> <!-- [#F0F0F0] (hex color code) scroller background color. Separate color codes with comas for gradient -->
170
+ <bg_alpha></bg_alpha> <!-- [100] (Number) scroller background alpha -->
171
+ <height></height> <!-- [10] (Number) scroller height -->
172
+ </scroller>
173
+
174
+ <zoom>
175
+ <enabled></enabled> <!-- [true] (true / false) whether the user can select the area to zoom-in -->
176
+ <max_factor></max_factor> <!-- [20] (Number) The maximum zoom level -->
177
+ <border_color></border_color> <!-- [#BBBB00] color of a zoom box border -->
178
+ <border_alpha></border_alpha> <!-- [100] (Number) zoom box border opacity -->
179
+ <bg_color></bg_color> <!-- [#BBBB00] zoom box background color -->
180
+ <bg_alpha></bg_alpha> <!-- [25] zoom box background opacity -->
181
+ <target></target> <!-- [true] whether to show target when the mouse is over plot area or not -->
182
+ </zoom>
183
+
184
+ <help> <!-- HELP button and balloon -->
185
+ <button> <!-- help button is only visible if balloon text is defined -->
186
+ <x></x> <!-- [] (Number / Number% / !Number) x position of help button, if not defined, will be aligned to right of chart area -->
187
+ <y></y> <!-- [] (Number / Number% / !Number) y position of help button, if not defined, will be aligned to top of chart area -->
188
+ <color></color> <!-- [#000000] (hex color code) background color -->
189
+ <alpha></alpha> <!-- [100] (0 - 100) background alpha -->
190
+ <text_color></text_color> <!-- [#FFFFFF] (hex color code) button text color -->
191
+ <text_color_hover></text_color_hover> <!-- [#BBBB00](hex color code) button text roll over color -->
192
+ <text_size></text_size> <!-- [] (Number) button text size -->
193
+ <text></text> <!-- [?] (text) -->
194
+ </button>
195
+ <balloon> <!-- help balloon -->
196
+ <color></color> <!-- [#000000] (hex color code) background color -->
197
+ <alpha></alpha> <!-- [100] (0 - 100) background alpha -->
198
+ <width></width> <!-- [300] (Number) -->
199
+ <text_color></text_color> <!-- [#FFFFFF] (hex color code) button text color -->
200
+ <text_size></text_size> <!-- [] (Number) button text size -->
201
+ <text><![CDATA[Select the area to enlarge]]></text> <!-- [] (text) some html tags may be used (supports <b>, <i>, <u>, <font>, <br/>. Enter text between []: <![CDATA[your <b>bold</b> and <i>italic</i> text]]>-->
202
+ </balloon>
203
+ </help>
204
+
205
+ <legend> <!-- LEGEND -->
206
+ <enabled>false</enabled> <!-- [true] (true / false) -->
207
+ <x></x> <!-- [] (Number / Number% / !Number) if empty, will be equal to left margin -->
208
+ <y></y> <!-- [] (Number / Number% / !Number) if empty, will be below plot area -->
209
+ <width></width> <!-- [] (Number / Number%) if empty, will be equal to plot area width -->
210
+ <max_columns></max_columns> <!-- [] (Number) the maximum number of columns in the legend -->
211
+ <color></color> <!-- [#FFFFFF] (hex color code) background color. Separate color codes with comas for gradient -->
212
+ <alpha></alpha> <!-- [0] (0 - 100) background alpha -->
213
+ <border_color></border_color> <!-- [#000000] (hex color code) border color -->
214
+ <border_alpha></border_alpha> <!-- [0] (0 - 100) border alpha -->
215
+ <text_color></text_color> <!-- [text_color] (hex color code) -->
216
+ <text_size></text_size> <!-- [text_size] (Number) -->
217
+ <spacing></spacing> <!-- [10] (Number) vertical and horizontal gap between legend entries -->
218
+ <margins></margins> <!-- [0] (Number) legend margins (space between legend border and legend entries, recommended to use only if legend border is visible or background color is different from chart area background color) -->
219
+ <reverse_order></reverse_order> <!-- [false] (true / false) whether to sort legend entries in a reverse order -->
220
+ <align></align> <!-- [left] (left / center / right) alignment of legend entries -->
221
+ <key> <!-- KEY (the color box near every legend entry) -->
222
+ <size></size> <!-- [16] (Number) key size-->
223
+ <border_color></border_color> <!-- [] (hex color code) leave empty if you don't want to have border -->
224
+ </key>
225
+ </legend>
226
+
227
+ <export_as_image> <!-- export_as_image feature works only on a web server -->
228
+ <file></file> <!-- [] (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) -->
229
+ <target></target> <!-- [] (_blank, _top ...) target of a window in which export file must be called -->
230
+ <x></x> <!-- [0] (Number / Number% / !Number) x position of "Collecting data" text -->
231
+ <y></y> <!-- [] (Number / Number% / !Number) y position of "Collecting data" text. If not set, will be aligned to the bottom of flash movie -->
232
+ <color></color> <!-- [#BBBB00] (hex color code) background color of "Collecting data" text -->
233
+ <alpha></alpha> <!-- [0] (0 - 100) background alpha -->
234
+ <text_color></text_color> <!-- [text_color] (hex color code) -->
235
+ <text_size></text_size> <!-- [text_size] (Number) -->
236
+ </export_as_image>
237
+
238
+ <error_messages> <!-- "error_messages" settings will be applied for all error messages except the one which is showed if settings file wasn't found -->
239
+ <enabled></enabled> <!-- [true] (true / false) -->
240
+ <x></x> <!-- [] (Number / Number% / !Number) x position of error message. If not set, will be aligned to the center -->
241
+ <y></y> <!-- [] (Number / Number% / !Number) y position of error message. If not set, will be aligned to the center -->
242
+ <color></color> <!-- [#BBBB00] (hex color code) background color of error message. Separate color codes with comas for gradient -->
243
+ <alpha></alpha> <!-- [100] (0 - 100) background alpha -->
244
+ <text_color></text_color> <!-- [#FFFFFF] (hex color code) -->
245
+ <text_size></text_size> <!-- [text_size] (Number) -->
246
+ </error_messages>
247
+
248
+ <strings>
249
+ <no_data></no_data> <!-- [No data for selected period] (text) if data is missing, this message will be displayed -->
250
+ <export_as_image></export_as_image> <!-- [Export as image] (text) text for right click menu -->
251
+ <collecting_data></collecting_data> <!-- [Collecting data] (text) this text is displayed while exporting chart to an image -->
252
+ <ss></ss> <!-- [] unit of seconds -->
253
+ <mm>:</mm> <!-- [:] unit of minutes -->
254
+ <hh>:</hh> <!-- [:] unit of hours -->
255
+ <DD>d </DD> <!-- [d ] unit of days -->
256
+ <months>
257
+ <month1>Jan</month1>
258
+ <month2>Feb</month2>
259
+ <month3>Mar</month3>
260
+ <month4>Apr</month4>
261
+ <month5>May</month5>
262
+ <month6>Jun</month6>
263
+ <month7>Jul</month7>
264
+ <month8>Aug</month8>
265
+ <month9>Sep</month9>
266
+ <month10>Oct</month10>
267
+ <month11>Nov</month11>
268
+ <month12>Dec</month12>
269
+ </months>
270
+ </strings>
271
+
272
+ <context_menu> <!-- context menu allows you to controll right-click menu items. You can add custom menu items to create custom controls -->
273
+ <!-- "function_name" specifies JavaScript function which will be called when user clicks on this menu. You can pass variables, for example: function_name="alert('something')" -->
274
+ <!-- "title" sets menu item text. Do not use for title: Show all, Zoom in, Zoom out, Print, Settings... -->
275
+ <!-- you can have any number of custom menus. Uncomment the line below to enable this menu and add apropriate JS function to your html file. -->
276
+
277
+ <!-- <menu function_name="printChart" title="Print chart"></menu> -->
278
+
279
+ <default_items>
280
+ <zoom>false</zoom> <!-- [true] (true / false) to show or not flash players zoom menu -->
281
+ <print>false</print> <!-- [true] (true / false) to show or not flash players print menu -->
282
+ </default_items>
283
+ </context_menu>
284
+
285
+
286
+ <labels> <!-- LABELS -->
287
+ <!-- you can add as many labels as you want -->
288
+ <!-- labels can also be added in data xml file, using exactly the same structure like it is here -->
289
+ <label lid="0">
290
+ <x>10</x> <!-- [0] (Number / Number% / !Number) -->
291
+ <y>20</y> <!-- [0] (Number / Number% / !Number) -->
292
+ <rotate>false</rotate> <!-- [false] (true, false) -->
293
+ <width></width> <!-- [] (Number / Number%) if empty, will stretch from left to right untill label fits -->
294
+ <align>center</align> <!-- [left] (left / center / right) -->
295
+ <text_color></text_color> <!-- [text_color] (hex color code) button text color -->
296
+ <text_size></text_size> <!-- [text_size](Number) button text size -->
297
+ <text> <!-- [] (text) html tags may be used (supports <b>, <i>, <u>, <font>, <a href="">, <br/>. Enter text between []: <![CDATA[your <b>bold</b> and <i>italic</i> text]]>-->
298
+ <![CDATA[<b>Bubble chart example</b>]]>
299
+ </text>
300
+ </label>
301
+ </labels>
302
+
303
+
304
+ <graphs> <!-- GRAPHS SETTINGS. These settings can also be specified in data file, as attributes of <graph>, in this case you can delete everything from <graphs> to </graphs> (including) -->
305
+ <!-- It is recommended to have graph settings here if you don't want to mix data with other params -->
306
+ <!-- copy <graph>...</graph> (including) as many times as many graphs you have and edit settings individually -->
307
+ <!-- if graph settings are defined both here and in data file, the ones from data file are used -->
308
+ <graph gid="0"> <!-- if you are using XML data file, graph "gid" must match graph "gid" in data file -->
309
+ <title></title> <!-- [] (graph title) -->
310
+ <color>B92F2F</color> <!-- [] (hex color code) -->
311
+ <alpha>0</alpha> <!-- [100] (0 - 100) line alpha. WIll not affect bullets. Set to 0 if you want the line to be invisible -->
312
+ <width></width> <!-- [0] (Number) line width -->
313
+ <data_labels>
314
+ <![CDATA[]]> <!-- [] ({title} {value} {description} {x} {y} {percents}) You can format any data label: {title} will be replaced with real title, {value} - with value and so on. You can add your own text or html code too. -->
315
+ </data_labels>
316
+ <balloon_text>
317
+ <![CDATA[{description}]]> <!-- [] ({title} {value} {description} {x} {y} {percents}) You can format any data label: {title} will be replaced with real title, {value} - with value and so on. You can add your own text or html code too. You can also use {title}, {value} and other tags in description. -->
318
+ </balloon_text>
319
+
320
+ <bullet_max_size></bullet_max_size> <!-- [50] maximum size of a bullet (balloon) The bullet with the highest value will be equal to this size -->
321
+ <bullet_min_size></bullet_min_size> <!-- [0] minimum size of a bullet (balloon) -->
322
+ <bullet>bubble</bullet> <!-- [] (square, round, square_outlined, round_outlined, bubble, square_outline, round_outline, x. triangle_up, triangle_down, romb filename.swf) can be used predefined bullets or loaded custom bullets. Leave empty if you don't want to have bullets at all. Outlined bullets use plot area color for outline color -->
323
+ <bullet_size></bullet_size> <!-- [] (Number) bullet size. This param is only used if your values are not set in data file -->
324
+ <bullet_color></bullet_color> <!-- [] (hex color code) bullet color. If not defined, graph color is used -->
325
+ <bullet_alpha></bullet_alpha> <!-- [100] (Number) -->
326
+ <visible_in_legend></visible_in_legend> <!-- [true] (true / false) whether to show legend entry for this graph or not -->
327
+ </graph>
328
+ </graphs>
329
+
330
+ <!-- DATA can also be set in settings file. Just place data in CSV or XML format between <data></data> -->
331
+
332
+ <!--<data>
333
+ </data> -->
334
+
335
+ </settings>
@@ -0,0 +1,17 @@
1
+ <!-- global comment -->
2
+ <settings>
3
+ <one>1</one> <!-- comment one -->
4
+ <blank></blank> <!-- blank comment -->
5
+ <subsettings> <!-- subsettings comment blah -->
6
+ <type></type> <!-- [clustered] (stacked, 100% stacked) -->
7
+ <width>85</width> <!-- [80] (0 - 100) width of column (in percents) -->
8
+ </subsettings>
9
+ <graphs>
10
+ <graph gid="1">
11
+ <type>foo</type>
12
+ </graph>
13
+ <graph gid="2">
14
+ <title>foo</title>
15
+ </graph>
16
+ </graphs>
17
+ </settings>
@@ -0,0 +1,15 @@
1
+ <chart>
2
+ <message><![CDATA[Test Broadcast]]></message>
3
+ <series>
4
+ <value xid="1">10</value>
5
+ <value xid="2">20</value>
6
+ <value xid="3">30</value>
7
+ </series>
8
+ <graphs>
9
+ <graph gid="1">
10
+ <value xid="1">100</value>
11
+ <value xid="2">200</value>
12
+ <value xid="3">300</value>
13
+ </graph>
14
+ </graphs>
15
+ </chart>
@@ -0,0 +1,5 @@
1
+ <pie>
2
+ <message><![CDATA[Pie Broadcast]]></message>
3
+ <slice title="One Slice">50</slice>
4
+ <slice title="Two Slice" url="http://two.foo">25</slice>
5
+ </pie>
@@ -0,0 +1,8 @@
1
+ <chart>
2
+ <graphs>
3
+ <graph gid="0">
4
+ <point x="1" y="10" value="100"></value>
5
+ <point x="2" y="20" value="200"></value>
6
+ </graph>
7
+ </graphs>
8
+ </chart>
metadata ADDED
@@ -0,0 +1,79 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ambling
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Daniel Vandersluis
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-01-06 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Ambling is a rails plugin makes it easy to generate XML needed by the
15
+ wonderfully slick Amcharts (http://www.amcharts.com/).
16
+ email:
17
+ - daniel@codexed.com
18
+ executables: []
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - .gitignore
23
+ - Gemfile
24
+ - MIT-LICENSE
25
+ - README
26
+ - Rakefile
27
+ - ambling.gemspec
28
+ - init.rb
29
+ - lib/ambling.rb
30
+ - lib/ambling/base.rb
31
+ - lib/ambling/column.rb
32
+ - lib/ambling/data.rb
33
+ - lib/ambling/line.rb
34
+ - lib/ambling/pie.rb
35
+ - lib/ambling/railtie.rb
36
+ - lib/ambling/stock.rb
37
+ - lib/ambling/utils.rb
38
+ - lib/ambling/version.rb
39
+ - lib/ambling/xy.rb
40
+ - lib/ambling_helper.rb
41
+ - test/base_test.rb
42
+ - test/data_test.rb
43
+ - test/generator_test.rb
44
+ - test/test_helper.rb
45
+ - test/xmls/advanced_chart_data.xml
46
+ - test/xmls/advanced_settings.xml
47
+ - test/xmls/amcolumn_settings.xml
48
+ - test/xmls/amline_settings.xml
49
+ - test/xmls/ampie_settings.xml
50
+ - test/xmls/amxy_settings.xml
51
+ - test/xmls/simple.xml
52
+ - test/xmls/simple_chart_data.xml
53
+ - test/xmls/simple_pie_data.xml
54
+ - test/xmls/simple_xy_data.xml
55
+ homepage: https://github.com/dvandersluis/ambling
56
+ licenses: []
57
+ post_install_message:
58
+ rdoc_options: []
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ! '>='
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ requirements: []
74
+ rubyforge_project: ambling
75
+ rubygems_version: 1.8.12
76
+ signing_key:
77
+ specification_version: 3
78
+ summary: Makes generating XML for amcharts through Rails easy.
79
+ test_files: []