derailed-ziya 2.0.6 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/Manifest.txt +59 -2
  2. data/README.txt +63 -54
  3. data/Rakefile +2 -2
  4. data/charts/charts.swf +0 -0
  5. data/charts/charts_library/ar3d.swf +0 -0
  6. data/charts/charts_library/arno.swf +0 -0
  7. data/charts/charts_library/ars3.swf +0 -0
  8. data/charts/charts_library/arst.swf +0 -0
  9. data/charts/charts_library/brfl.swf +0 -0
  10. data/charts/charts_library/brno.swf +0 -0
  11. data/charts/charts_library/brst.swf +0 -0
  12. data/charts/charts_library/buno.swf +0 -0
  13. data/charts/charts_library/cl3d.swf +0 -0
  14. data/charts/charts_library/clfl.swf +0 -0
  15. data/charts/charts_library/clim.swf +0 -0
  16. data/charts/charts_library/clno.swf +0 -0
  17. data/charts/charts_library/clp3.swf +0 -0
  18. data/charts/charts_library/cls3.swf +0 -0
  19. data/charts/charts_library/clst.swf +0 -0
  20. data/charts/charts_library/cnno.swf +0 -0
  21. data/charts/charts_library/dono.swf +0 -0
  22. data/charts/charts_library/lnno.swf +0 -0
  23. data/charts/charts_library/mxno.swf +0 -0
  24. data/charts/charts_library/pi3d.swf +0 -0
  25. data/charts/charts_library/piim.swf +0 -0
  26. data/charts/charts_library/pino.swf +0 -0
  27. data/charts/charts_library/pono.swf +0 -0
  28. data/charts/charts_library/scno.swf +0 -0
  29. data/charts/themes/readme.txt +13 -0
  30. data/lib/ziya/charts/base.rb +124 -182
  31. data/lib/ziya/charts/custom.rb +18 -0
  32. data/lib/ziya/charts/image_column.rb +18 -0
  33. data/lib/ziya/charts/image_pie.rb +18 -0
  34. data/lib/ziya/components/area.rb +2 -3
  35. data/lib/ziya/components/button.rb +18 -0
  36. data/lib/ziya/components/chart_guide.rb +4 -2
  37. data/lib/ziya/components/chart_note.rb +18 -0
  38. data/lib/ziya/components/draw.rb +4 -6
  39. data/lib/ziya/components/flash_to_javascript.rb +25 -0
  40. data/lib/ziya/components/tooltip.rb +20 -0
  41. data/lib/ziya/helpers/base_helper.rb +4 -4
  42. data/lib/ziya/version.rb +1 -1
  43. data/lib/ziya/ziya_helper.rb +32 -19
  44. data/release_notes.txt +10 -0
  45. data/spec/charts/base_spec.rb +7 -6
  46. data/spec/charts/chart_type_spec.rb +8 -0
  47. data/spec/components/draw_spec.rb +9 -4
  48. data/spec/ziya_helper_spec.rb +1 -1
  49. data/tasks/doc.rake +12 -7
  50. metadata +132 -3
data/Manifest.txt CHANGED
@@ -19,12 +19,17 @@
19
19
  .git/objects/00/5dafe13c5c2aa03dba72889caa5f5327ebdbcd
20
20
  .git/objects/00/f3bd0a5b954c54cac69aeb58fcc21911f075e1
21
21
  .git/objects/02/e2e24292dcedc460e6a9bc265fd7d3cbe12774
22
+ .git/objects/04/b3c84f2fe63dc85c082b77721dc85b29cfc325
22
23
  .git/objects/05/0624754a454325bc9ea4519fee6c661041d54e
23
24
  .git/objects/05/4c110fac17a5e862931efa94b7f392391acde2
24
25
  .git/objects/06/1262ae993b5a644171bf9d34e855e88d094cb1
25
26
  .git/objects/06/2d16716e821a0783466d4a5e96861ba481f750
27
+ .git/objects/06/a9148f4eda7f6f73bd955fa192742eba2260c0
26
28
  .git/objects/07/3eb399a66006eb14dbe633b8ccb74fecd04d6a
29
+ .git/objects/07/44cfbea20d1cb3f62e0e6e376e07d1129af82d
27
30
  .git/objects/07/ccd2a352fd82d31d91c71430197625fb817d34
31
+ .git/objects/09/7f3f0d2ea1c1769572ab87dc25000504a3db97
32
+ .git/objects/09/eca7a7d304554115d7b0ded84a732e3a026f1f
28
33
  .git/objects/0a/7a8eb6db13ce365cc776c6ee9c27137dfc58a1
29
34
  .git/objects/0c/1d380daf38170150b29df1b82a044ba9d1a6f0
30
35
  .git/objects/0c/5eb47ff3808212fc0d67933ac5c2bffa1d9e92
@@ -42,9 +47,11 @@
42
47
  .git/objects/16/c180bc711cf67686bacaafe96a4c49fd25d27a
43
48
  .git/objects/17/10881b4a1460ced951bd5b768ebc0c5d32260b
44
49
  .git/objects/18/3f5416cf1b619a3c982049036888d42a15314e
50
+ .git/objects/18/ea622d17c52dd0267d891e2a827a39e8cf06be
45
51
  .git/objects/19/84d29634104afb86aab38acff76629b3052c6f
46
52
  .git/objects/1a/05e6f9f7dcea4e427528df477cc4ab64cef4f4
47
53
  .git/objects/1a/710ae86f3f4bd81bf1f9aa50bbc08e9328fd19
54
+ .git/objects/1a/81e29cf38780a895f41ef60235ae7ca64174e8
48
55
  .git/objects/1a/e9f93f80f6890334e865da64e72e91b40af185
49
56
  .git/objects/1b/5c5134a077026d4a5c19e6ed51ae9d8a84b894
50
57
  .git/objects/1b/f36aa549a1635845428cae269951a9e44871ee
@@ -55,13 +62,17 @@
55
62
  .git/objects/20/9892ec0fd94f7f9ddafcd404b687a1b29daeba
56
63
  .git/objects/21/2a8a8d425a3cdf40873ae664536c944783fafc
57
64
  .git/objects/22/a836d2e01309a72de70d90b8cadaa8fb29c5a4
65
+ .git/objects/23/35a2603a4518d00951204c6ea636db7f537816
66
+ .git/objects/24/26c2fb92069b5faa933ad39de45a7c3e64ccc1
58
67
  .git/objects/24/325e0615f9689d94a296f37ea21a303ce92150
59
68
  .git/objects/27/2e94c25ef7702510a0b3536f4006441aa219e8
60
69
  .git/objects/27/bf5840c98b934a46312583c49b3c1ca2c6820b
61
70
  .git/objects/29/164195268dce70265f34191cf93ac33187d931
62
71
  .git/objects/2a/cde3d862632947e5c5c811cfcb0f9bef5165d9
63
72
  .git/objects/2b/a7d14485b326d1041428a5c06033b955bfdcb1
73
+ .git/objects/2c/6fbc11766b711061c52dc8ac1b9442edb2ec8a
64
74
  .git/objects/2e/bc44aa7cdc5dc14e5cbc93a195e0cc424bb666
75
+ .git/objects/2f/dd5da51dbaa614ce1452a36db24cd47ca66546
65
76
  .git/objects/30/5d9ee5c80cfdf63de692069474e887affa2ba2
66
77
  .git/objects/31/669ee8c91ef0739fb31679603e793df94b6492
67
78
  .git/objects/31/bbcb7ee218e7f195132b901ecfbae869a05ae2
@@ -74,13 +85,17 @@
74
85
  .git/objects/33/7c9c80e807a27c9af155e766f06c07eaa388e8
75
86
  .git/objects/34/8c2626cead317b74dcb9b7348dc860fa3a4345
76
87
  .git/objects/34/fffbbdcc380b15069f789571c143b52420088b
88
+ .git/objects/36/03e8c6bb8d1885eb7635486a8713962d881af5
77
89
  .git/objects/36/27ab0fccccbaf28a67d3b3049a2f0a9799b265
78
90
  .git/objects/39/00d6c746764b521eb3f1f0ae2409505f682e99
79
91
  .git/objects/39/76aa6c84c6d6dff719d7306b621530efa31d11
80
92
  .git/objects/39/c294bbd8178af08cefe190531f6fee3b5c22dc
81
93
  .git/objects/3b/455deefbabd4498c542c006aeacd7b1930ed46
94
+ .git/objects/3b/b705a8721904788f14c1c56516abb9d52dafe3
82
95
  .git/objects/3b/e1fac81a02772ec8a41baa3872c3f4282e5106
96
+ .git/objects/3d/a4069759f207e825249f0d2091085d161b05b2
83
97
  .git/objects/3e/b0b7d9fb3c58bd91338f33d689065d011f6184
98
+ .git/objects/3f/0ee3115d0e71dc890dbb35fda43730bd057b39
84
99
  .git/objects/41/ed6a6903441655a9258021cdbc7e62963d67bb
85
100
  .git/objects/41/f8afbfb5dbe3abc46fd1893dcf8d8bb9e15faa
86
101
  .git/objects/42/241eba242f67f7d7231803023bb1cdb1d447ba
@@ -108,20 +123,26 @@
108
123
  .git/objects/4d/3e8957b25a5e35eec64e8be07491e3981adefb
109
124
  .git/objects/4d/a4ded55776a5a163c6b6fadc5219dac4e9b462
110
125
  .git/objects/4d/ec076944bbff6e0b8a51199a8e7e6de56897b1
126
+ .git/objects/4d/f705d29468b88bcd43dee0d3d9809cf4debb19
111
127
  .git/objects/50/08ddfcf53c02e82d7eee2e57c38e5672ef89f6
112
128
  .git/objects/51/704774e58fc4800707c81d319eef8475ff3010
113
129
  .git/objects/52/87ea3a4d85cb4494fed42df079f61ff91ca672
114
130
  .git/objects/53/47cc429c3682c421285c8c31460b988560910a
115
131
  .git/objects/53/ef722701dcca10bdcde2f657aa563393edf383
116
132
  .git/objects/54/4b5c80a232db5d194a8fe58dd5d905cf4b9821
133
+ .git/objects/54/8b1fb72fd55e25c7c9a6a07af15f492f3e9a0a
117
134
  .git/objects/54/c919ffef4cacbce5d60ba585560dec8c467659
118
135
  .git/objects/55/2abaf327019eaae07e694b97d459d81aca0c6a
119
136
  .git/objects/55/db8d413bf00aabc7999adb00afd196a01a6e51
137
+ .git/objects/56/5f0c7ccab348ea2c9e1242372db318eeed5ed0
120
138
  .git/objects/57/2ff9a160755a9e8a496f16393b8a23689c4b95
121
139
  .git/objects/57/457cd7398fde0285a55c2c07fa96a1a01371f4
122
140
  .git/objects/57/edf48136e2087780b7664206aec2fd47630ae0
141
+ .git/objects/58/4be3a090696716bc7c9c556fceb5d107ac8223
123
142
  .git/objects/58/bc9104547ad86d8ab9c78237567e507da593d1
143
+ .git/objects/59/a64652cf888f8bd3efb4bf3db85602cfd15c8f
124
144
  .git/objects/59/e7957197204368f417a13eaee74ac3ab3b0980
145
+ .git/objects/5a/4bb87fd0b87b610b6130cf75240bab7754b430
125
146
  .git/objects/5a/7569fb2457afd9b8113f0ab1d05ded78d38241
126
147
  .git/objects/5b/31c63d6807e5f161d1231e5346e109238fdd64
127
148
  .git/objects/5c/335c5ec654745b93834cec5b31f6bcf96a504d
@@ -130,6 +151,7 @@
130
151
  .git/objects/5d/458b505c6c2364a0ab96046d02445788effbd8
131
152
  .git/objects/5d/e06b82ee0c8bc39a148dbeb15526dd938d9711
132
153
  .git/objects/5e/12dd2342bb1d162bbfd3e02bd893301a251458
154
+ .git/objects/5e/8f0cf5940f1d303bb5dddb5f4fb40af08b818a
133
155
  .git/objects/5f/d8fa1774b2b59270056a385ca94e67d390978d
134
156
  .git/objects/60/2eac9dc1fddb046fcf44c5d68faedd82ef9d57
135
157
  .git/objects/60/e4de083d4745f5712ea146883cb6419e7638c4
@@ -144,6 +166,7 @@
144
166
  .git/objects/66/02069058631cc22e0a5e3b0486ac598dff4df6
145
167
  .git/objects/67/01f3e70063bc8aa91d61f28bc1bdac690a23ab
146
168
  .git/objects/68/827a8c02e3b215f3dffcb033c47fd1d6b2c702
169
+ .git/objects/68/9159f497e5787e3a48a6c7231a35fcb525cc81
147
170
  .git/objects/69/6b391963a2ee9ff3d99f52b995782acea2a76a
148
171
  .git/objects/69/876da8070113651a04a5deb941bce7648d83b0
149
172
  .git/objects/6b/366153e1938fac82d824cc3c101bc48d06b4ac
@@ -153,8 +176,12 @@
153
176
  .git/objects/6d/48d7a2b9d1489c7e8adc7634028567dd38bb1f
154
177
  .git/objects/6e/0cb5ae2d801f0af8be97f3c54b6bd4aeceda2c
155
178
  .git/objects/6f/22fded86bc0370e96e762429cae4baed1dd30c
179
+ .git/objects/6f/ba6f54d4e9b8232b15ae4b95c364fe9364cb63
180
+ .git/objects/6f/c71e9a2d1839ce70d43af44300bbade5cdefe4
156
181
  .git/objects/73/72b37615ee1390c5f52e0983b99c63cada19a7
182
+ .git/objects/73/7eb5be93a710985c480e864d470e4c3f6bcbfd
157
183
  .git/objects/74/96bc8a5ae3ee2342196b432b0798b1ac0ff377
184
+ .git/objects/76/6592b27e3eb42ded89ea9905212b679f31e897
158
185
  .git/objects/7a/0ccb4c794a5ecdb520f1c70aedabb8a902159a
159
186
  .git/objects/7a/9d321125c5547b67fee6edcd3685c6c640f4b6
160
187
  .git/objects/7b/6a97db20063704a4e6cec738f4ecbdf5508cbe
@@ -164,17 +191,24 @@
164
191
  .git/objects/81/835d74d8b1436f18c46538a238f0018bbc46d7
165
192
  .git/objects/81/97bcca7fd2d96b6f02625187e4d2be2b261d0f
166
193
  .git/objects/81/a8010dcefd013866a2661006fa2c08311d9116
194
+ .git/objects/82/7af599122894274f161a32574516735d4caffc
167
195
  .git/objects/82/e104075340ce9561b76330d950f3b877d7e76c
168
196
  .git/objects/83/305415cb38b7580ef8e2619742264c4d697583
169
197
  .git/objects/83/3dd1c8dd4476fa42b3242f610416c8b3ecbe6b
170
198
  .git/objects/84/465974d06919aa41020e14c85f019bf4d38804
199
+ .git/objects/85/1f0804398e3ffd837761213cd73e6bac019a00
200
+ .git/objects/85/7e8e3f987cc354ad1bebecbd928019b58bbb5d
201
+ .git/objects/87/78c31331bce752a9ebb33246e433f67706bbad
171
202
  .git/objects/88/f0646d0a8319bd70b5c27650abbcb5b7a29733
172
203
  .git/objects/89/2b2e3e4f750b72358216eb8543473a6504afd4
173
204
  .git/objects/8a/d3d6b62e2f4a2e3fbcb6f947f3318e256de511
174
205
  .git/objects/8d/0a7f95bb55b70e4b8ff8fe46796303359ca08d
175
206
  .git/objects/8d/3658e559e6e3ed0e06a9364eacbf0d82719255
207
+ .git/objects/8d/98862455620d1143582b04877e8e587a37d5d0
208
+ .git/objects/8d/d696e261758841d41b433bfc6ef5e487ff5e7c
176
209
  .git/objects/8e/c4983249407e0b6402012ddd1a70b70930fc07
177
210
  .git/objects/8f/54ed909a0df47cbf9c4d6a89c473eac5a4ef34
211
+ .git/objects/90/65572f6de44a3445790923ac9cfe04bb485632
178
212
  .git/objects/92/758085c0a0a541e417f9393c28f4b9097cca2a
179
213
  .git/objects/92/80c02c0a2fde76f4482e651830146d9e006d60
180
214
  .git/objects/93/445b1fbc12607be45d53e9b4ba1fd152b284c2
@@ -183,10 +217,13 @@
183
217
  .git/objects/96/77fe7799fa63c5e2301c69ca003a13f1473e02
184
218
  .git/objects/99/7f03dc15404690b07658b4d736ca5c782ca98c
185
219
  .git/objects/99/be08248c9c320ffe9167fafdcafce2d2a85754
220
+ .git/objects/9b/20822f4323ced9ab832650d001ea5eaa50bb5c
186
221
  .git/objects/9c/719a7578206cf9cbc3c027989f860888ffbd56
187
222
  .git/objects/9c/9f992b211f4572b869a925bc8d14081280e87c
188
223
  .git/objects/9e/bcf4fcf7d300d627dc9268bdfaac8b8e34320e
224
+ .git/objects/a0/b0f76fd6667628bdbaf0c9b3109339502f96af
189
225
  .git/objects/a0/e2fd366943a85764c52a0a58f182ae26c9ed55
226
+ .git/objects/a2/8a859780bf8ac780ada8bbce0a5fe1b21a65ba
190
227
  .git/objects/a3/3f0b02cfccee08c0fb5a0894da6a873c6d1f77
191
228
  .git/objects/a3/5fdda2309e4fc97a2f887e3fc913ca45d2ffb6
192
229
  .git/objects/a3/9833d0ed7b53121b78da31e4262d4859c9c34c
@@ -198,6 +235,7 @@
198
235
  .git/objects/a5/6b35ba1c24c6f3f971cd87a64dfab00d9090c2
199
236
  .git/objects/a6/1528d87b381df0ff5d6a81fdfc5d0137188b00
200
237
  .git/objects/a6/fb813c1bbe4b77574ca85f0caba36e14ecd88a
238
+ .git/objects/a7/501501f64d1de95cf5a026e257936770a7c421
201
239
  .git/objects/a8/01aac96e843a4d84d9fa94b018942e293695fe
202
240
  .git/objects/a9/d62fb7f4d22460d0a73cb9dcba3e4a1c702863
203
241
  .git/objects/ab/489babc57fdeb25306df9e2f4511be2b840a18
@@ -205,8 +243,10 @@
205
243
  .git/objects/ae/b35f284ca0e55ced6182df81b0a8ccef7546a3
206
244
  .git/objects/af/27e34f6ef585c6e4b8e29f504d398563746cb9
207
245
  .git/objects/af/35a9cbf6d5fffa2a1a7866c719dd6a350be949
246
+ .git/objects/af/6bef40ceda46ac6f13d3e45e3b54c7fc3c433e
208
247
  .git/objects/b0/16a41c361dbd6abba5a6a4d3b6c210741c3bd9
209
248
  .git/objects/b0/40aea00724838f0ddf68ec658a0a29fcf538e5
249
+ .git/objects/b1/e2928a9dfea0263ae592ad6098257b8db3aeef
210
250
  .git/objects/b3/a43292a06509f9d5ee598231e9b1f7c4f32ef9
211
251
  .git/objects/b3/f2d207bb43d790f08274a1599c128daf751e4a
212
252
  .git/objects/b4/55173a38af0df33dc4e4d47c5e0dc5904525b0
@@ -219,12 +259,15 @@
219
259
  .git/objects/bc/08b79fa32d8b84d53626e2b20dafd51b74db77
220
260
  .git/objects/bc/45a53b565b4de740c51e7a95749a0f00edc255
221
261
  .git/objects/bc/a55bc20febe11ae681bad43ff22706abba9662
262
+ .git/objects/bc/b1eba8c9538dc517a7592ce0fcfa132ece71c6
263
+ .git/objects/bd/87ae5a6cb0c6b335fba51b639a96a8a9ee35bb
222
264
  .git/objects/be/3387d70b611cba4575643073d279896be9ca5f
223
265
  .git/objects/be/ac1440c4feb427a00f12a7a4abd5f2bcb3a3f3
224
266
  .git/objects/be/e7990f3ad847ce4f1bea711af06ed310f56cb5
225
267
  .git/objects/bf/22ec08738e91a7bc6ff33e81b9a1fb19008558
226
268
  .git/objects/c0/e3861230557f6409bac5a9e27cbc76c0918ab1
227
269
  .git/objects/c1/7da230eff31a4473be6fb94e6ea8000a02dfca
270
+ .git/objects/c2/a751a2017b06eeb2fd39d77e4179907ab11119
228
271
  .git/objects/c3/799c6c4fa6728f664ade0ff826bfa573f2397d
229
272
  .git/objects/c4/269c01e6627e427519d495a65b0899e6e34972
230
273
  .git/objects/c4/4c7e232e4108ba296d0a7767bbedca379befd8
@@ -238,17 +281,21 @@
238
281
  .git/objects/cc/799dbed2913a05f0fe1a0bd6e8de6cd3968f31
239
282
  .git/objects/ce/6bc8d502188bfd34fe8bc9496a50db67435f18
240
283
  .git/objects/d0/e9d0ae9f944c34e5821956deb9a8a5c40e8be7
284
+ .git/objects/d1/53cafa16d13ba5c33801211aa23e31f1f8df06
241
285
  .git/objects/d3/1a90c6ee74dad377ec05bd14e83ac8e8971a11
242
286
  .git/objects/d3/bc0ae274d415e2251afc9b2eef076faad75252
243
287
  .git/objects/d4/30738d12d781f354b5238a675b853a62243d2f
244
288
  .git/objects/d5/141fd8c61733c0f5a7d15de589028917775a33
289
+ .git/objects/d5/9e9070910b75d974bf97601f3944e1cdb2b800
245
290
  .git/objects/d5/b3996fa0a7029741d69bbf68f7a3de25c9dfcf
246
291
  .git/objects/d7/3013fb3c829786cee45049087fc3bcb914e03d
292
+ .git/objects/d9/02bf96bb5140393228b58a9b687d836d183aeb
247
293
  .git/objects/da/54094d26c59a45d7abce957d013d0b0e7edf3e
248
294
  .git/objects/da/9993b7b2385ee45046c6edffcfc4f9dd706dc9
249
295
  .git/objects/da/a8e4c185e5c3fedfd394410bc72ba37b97a748
250
296
  .git/objects/da/b335d0ddbb36855f125805ad4033100dc48de9
251
297
  .git/objects/db/329d0c6af78296dff7bdf329f302d8e1a1010a
298
+ .git/objects/db/4e8dcbb4bacadc21d4901cbcac4da4651fa22a
252
299
  .git/objects/dc/58993017f642b86ed6cba18e4ce4009d5729a3
253
300
  .git/objects/dd/0dd16990f9e04313393ac5ecda4f3bee14e609
254
301
  .git/objects/de/87140bf33b53f08e61da7c01f9323e2e3ca151
@@ -258,14 +305,17 @@
258
305
  .git/objects/e2/e851194abf89943c44eea36156cfc81e228dd5
259
306
  .git/objects/e3/85d31b72152a9a8132909f97adf62e28c10201
260
307
  .git/objects/e3/875c20aa265aed1bbe93707af34e1be4fe2384
308
+ .git/objects/e4/58482b6b2d36581749d4a19ccde7af4b6b7060
261
309
  .git/objects/e4/c17d29d1f754e94215350d8e79b9326ccbe234
262
310
  .git/objects/e6/9076f984b68e0fe843a25a592a37a4af8a42bc
263
311
  .git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391
264
312
  .git/objects/e7/413f3a7fd0246ec3c6beb5e539d6702b767d18
265
313
  .git/objects/e7/429aad6ca0778b3157aff5bdf12a417292a8a4
314
+ .git/objects/e7/e70bc778979396282a5c120cf6fde45142ebf7
266
315
  .git/objects/e8/c7b0c48adcdcf664a046ad1406d42f8bed4745
267
316
  .git/objects/e9/37a8f3b410e581a8218c11bd2d72f623c3f00c
268
317
  .git/objects/e9/39f89cc63280f801a49795fd46d2d0de18e0df
318
+ .git/objects/ea/1c20d9f4158b0be85489ba80d0a84b631a5864
269
319
  .git/objects/eb/9ecd91bbcc23f5e31d903b3493f343c378918c
270
320
  .git/objects/ed/86e9f95e63202686d35020892d2c947ed7aa7d
271
321
  .git/objects/ed/c4ff8e01529932ad201c2dd0c218bb70c832aa
@@ -281,10 +331,13 @@
281
331
  .git/objects/f4/72842226d9a5c5ae9b6514d3b433d041603801
282
332
  .git/objects/f7/351c172a138824869da7acded429bf94c0c0ef
283
333
  .git/objects/f7/40452f3f070440276e289a0a41f77743f076cb
334
+ .git/objects/f8/979643bdce46b6c2698463eb9972241fa8135d
335
+ .git/objects/f9/c8495da269efde3c8d1c6a5b0984bfb99efc9a
284
336
  .git/objects/f9/c9b4a7f2641fa239b6f36b955ba2560593a8b8
285
337
  .git/objects/f9/d155ef5a6fd45be0ebff4af70117ffc77f0f2b
286
338
  .git/objects/fa/a1b52c7607b406a85351c059813d1b5dc8d55a
287
339
  .git/objects/fa/a3225d45f0d7a2665811b673ed3dbeb9724a27
340
+ .git/objects/fd/0631146ffb341dcbc380021ef6e1016623016f
288
341
  .git/objects/ff/edbe0dd8107f80cf2113c5308239821e89d1b6
289
342
  .git/objects/ff/f5b98a0ff80230e85b2a47e73844ebb8269ebb
290
343
  .git/refs/heads/master
@@ -325,12 +378,13 @@ charts/scripts/output_jpg.php
325
378
  charts/sliders/black.swf
326
379
  charts/sliders/preview_handle_1.swf
327
380
  charts/sliders/preview_handle_2.swf
328
- charts/ziya.js
381
+ charts/themes/readme.txt
329
382
  gauges/designs/circle.yml
330
383
  gauges/designs/signal.yml
331
384
  gauges/designs/thermo.yml
332
385
  gauges/designs/title.yml
333
386
  gauges/gauge.swf
387
+ gem_script.rb
334
388
  lib/ziya.rb
335
389
  lib/ziya/charts/area.rb
336
390
  lib/ziya/charts/area_threed.rb
@@ -365,11 +419,13 @@ lib/ziya/components/axis_value.rb
365
419
  lib/ziya/components/base.rb
366
420
  lib/ziya/components/bevel.rb
367
421
  lib/ziya/components/blur.rb
422
+ lib/ziya/components/button.rb
368
423
  lib/ziya/components/chart_border.rb
369
424
  lib/ziya/components/chart_grid_h.rb
370
425
  lib/ziya/components/chart_grid_v.rb
371
426
  lib/ziya/components/chart_guide.rb
372
427
  lib/ziya/components/chart_label.rb
428
+ lib/ziya/components/chart_note.rb
373
429
  lib/ziya/components/chart_pref.rb
374
430
  lib/ziya/components/chart_rect.rb
375
431
  lib/ziya/components/chart_transition.rb
@@ -378,6 +434,7 @@ lib/ziya/components/context_menu.rb
378
434
  lib/ziya/components/draw.rb
379
435
  lib/ziya/components/draw_base.rb
380
436
  lib/ziya/components/filter.rb
437
+ lib/ziya/components/flash_to_javascript.rb
381
438
  lib/ziya/components/glow.rb
382
439
  lib/ziya/components/image.rb
383
440
  lib/ziya/components/legend.rb
@@ -391,6 +448,7 @@ lib/ziya/components/series_color.rb
391
448
  lib/ziya/components/series_explode.rb
392
449
  lib/ziya/components/shadow.rb
393
450
  lib/ziya/components/text.rb
451
+ lib/ziya/components/tooltip.rb
394
452
  lib/ziya/components/update.rb
395
453
  lib/ziya/gauges/base.rb
396
454
  lib/ziya/gauges/radial.rb
@@ -472,4 +530,3 @@ tasks/setup.rb
472
530
  tasks/spec.rake
473
531
  tasks/svn.rake
474
532
  tasks/test.rake
475
- ziya.gemspec
data/README.txt CHANGED
@@ -1,7 +1,7 @@
1
- ziya
1
+ === ZiYa
2
2
  by Fernand Galiana
3
- ziya.rubyforge.org
4
- git://github.com/derailed/ziya.git
3
+ ziya.rubyforge.org ( deprecated )
4
+ git://github.com/derailed/ziya.git ( preferred )
5
5
 
6
6
  == RELEASES
7
7
 
@@ -12,6 +12,11 @@ ziya
12
12
  2.0.4 - Fixed missing encoding on composite urls - published gem on github
13
13
  2.0.5 - Fixed merb app support issue
14
14
  2.0.6 - Updates to support xml/swf 5.0.5
15
+ 2.0.7 - Updates to support xm/swf 5.0.7
16
+ - added parameters for the ziya_js helpers ( Tx Brian ! )
17
+ - added draw button support
18
+ - added chart_note to annotate a chart
19
+ - added tooltip chart support
15
20
 
16
21
  == DESCRIPTION:
17
22
 
@@ -28,100 +33,101 @@ managers will love you for it !!
28
33
  Video : http://www.youtube.com/watch?v=axIMmMHdXzo ( Out of date but you'll get the basics... )
29
34
  Documentation : http://ziya.liquidrail.com/docs
30
35
  Forum : http://groups.google.com/group/ziya-plugin
31
- Repositories : http://rubyforge.org/projects/ziya
32
- git://github.com/derailed/ziya.git
36
+ Repositories : http://rubyforge.org/projects/ziya ( deprecated )
37
+ git://github.com/derailed/ziya.git ( preferred )
33
38
 
34
39
 
35
40
  == FEATURES:
36
41
 
42
+ * Supports a wide variety of chart/gauge types, sure to fit your needs.
43
+ * Relieves your server load by generating the actual chart on the client side.
37
44
  * Allows you to style your charts just like you would an html page using css styles
38
45
  philosophy. Each chart can be associated with a YAML file that allows you to specify
39
- preferences based on SWF Charts properties. Chart style sheet reside under
40
- public/charts/themes. By default all styling resides under the 'default' directory.
41
- Each chart type may have an associated YAML file. You can either inherit the default
42
- styles or define your own by specifying an id when you create your graph. The styles
43
- will cascade thru your graph class hierarchy and override default preferences as you
44
- would in a style sheet.
45
-
46
+ preferences based on SWF Charts properties. Chart stylesheets reside under
47
+ public/charts/themes. Each chart type may have an associated YAML file. You can either
48
+ inherit the default styles or define your own by specifying an id when you create your graph.
49
+ The styles will cascade thru your graph class hierarchy and override default preferences as you
50
+ would in a stylesheet.
46
51
  NOTE: XML/SWF charts are free of charge unless you need to use special features such
47
52
  as embedded links and printing.
48
- The package cost $45 per domain and is well worth the investment. A similar fee applies
49
- to the gauge framework.
50
-
53
+ The package cost $45 per domain, including localhost and is well worth the investment.
54
+ A similar fee applies to the gauge framework.
51
55
  * We are leveraging ERB within the YAML file to provide access to the chart/gauge state. State
52
56
  can be passed in via the options hash when the graph/gauge is generated.
53
- You can also define your own methods in helpers/ziya/xxx_helper. Where xxYou can access these
57
+ You can also define your own methods in helpers/ziya/xxx_helper. You can access these
54
58
  helper methods in your style file just like you would in a rails template.
55
-
56
59
  * Theme support. You can change the appearance and behavior of any charts by introducing
57
60
  new themes under the public/charts/themes directory.
58
61
 
59
62
  == REQUIREMENTS:
60
63
 
61
- ZiYa depends on the logging gem version > 0.9.0
64
+ ZiYa depends on the logging gem version >= 0.9.0
62
65
 
63
66
  == INSTALL:
64
67
 
65
68
  On rubyforge
66
69
 
67
- sudo gem install ziya
70
+ sudo gem install ziya ( deprecated )
68
71
 
69
72
  or github
70
73
 
71
- sudo gem install derailed-ziya
74
+ sudo gem install derailed-ziya ( preferred )
72
75
 
73
76
  cd to your application directory and issue the following command
74
77
 
75
78
  > ziyafy
76
79
 
77
- This will copy the necessary themes and flash files to run ziya in your application
80
+ This will copy the necessary themes and flash files to run ZiYa in your application
78
81
  public/charts directory.
79
82
 
80
83
  == SYNOPSIS:
81
84
 
82
- IMPORTANT: This new gem version requires a client update to flash 9.0 and possibly you will
83
- need to get a new license from XML/SWF ( $45.0 for your domain ), if you want to use
84
- advanced features like links and live updates.
85
- Also some api's have changed. I will try to push a new sample application and more docs in the
86
- next few weeks. So make sure you try this out first in a non production environment and report
85
+ This new gem version requires a client update to flash 9.0 and possibly you will
86
+ need to get a new license from XML/SWF >= 5.0 ( $45.0 for your domain ), if you want to use
87
+ advanced features suck as links and live updates. Also some api's have changed.
88
+ I will try to push a new sample application and more docs in the next few weeks.
89
+ So make sure you try this out first in a non production environment and report
87
90
  bugs or side effects. I'll do my best to keep up with the demand. If anyone would like to give
88
91
  me a hand with a tutorial app or improving the docs, I am all hears...
89
92
 
90
-
91
-
92
93
  When using within a rails application you will need to create a ziya.rb file in your
93
- config/initializers directory ( Rails 2.0 )
94
+ config/initializers directory ( Rails 2.0 ).
95
+
96
+ NOTE: For rails version < 2.0, you can add the following code in your config/enviroment.rb directly.
94
97
 
95
98
  ziya.rb:
96
99
 
97
100
  # Pull in the ZiYa gem framework
98
- gem "ziya", "~> 2.0.0"
101
+ gem "ziya", ">= 2.0.0"
99
102
  require 'ziya'
100
103
 
101
104
  # Initializes the ZiYa Framework
102
- Ziya.initialize( :logger => RAILS_DEFAULT_LOGGER,
103
- :helpers_dir => File.join( File.dirname(__FILE__), %w[.. .. app helpers ziya] ),
104
- :themes_dir => File.join( File.dirname(__FILE__), %w[.. .. public charts themes]) )
105
+ Ziya.initialize(
106
+ :logger => RAILS_DEFAULT_LOGGER,
107
+ :helpers_dir => File.join( File.dirname(__FILE__), %w[.. .. app helpers ziya] ),
108
+ :themes_dir => File.join( File.dirname(__FILE__), %w[.. .. public charts themes])
109
+ )
105
110
 
106
- This will initialize the gem. You can log the output to stdout as well using the ZiYa bundled logger
111
+ This will initialize the gem. You can log the output to stdout using the ZiYa bundled logger
107
112
  or specify a file ie File.join( File.dirname(__FILE__), %w[.. log ziya.log]. If you choose to use the
108
113
  ZiYa logger, you can specify the :log_level option to either :warn :info :debug or :error.
109
114
  You will need to indicate your themes directory typically located under public/charts/themes or any location
110
- you'll choose. Otherwise ZiYa will used the default themes from <<the gem ie default or commando.
111
- Lastly you can specify a custom helper directory :helpers_dir, so you can use helper methods within your
112
- ZiYa stylesheets.
115
+ you'll choose. Lastly you can specify a custom helper directory :helpers_dir, so you can use helper methods
116
+ within your ZiYa stylesheets.
113
117
 
114
- NOTE: You must create the app/helpers/ziya and public/chart/themes directory in your application
118
+ NOTE: You must create the app/helpers/ziya and public/chart/themes directory in your application.
115
119
 
116
- * Creating a chart
120
+ == Creating a chart
117
121
 
118
- blee_controller.rb
122
+ * blee_controller.rb
119
123
 
120
124
  class BleeController < ApplicationController
121
125
  helper Ziya::Helper
122
126
 
123
127
  # Callback from the flash movie to get the chart's data
124
128
  def load_chart
129
+ # Create a bar chart with 2 series composed of 3 data points each.
130
+ # Chart will be rendered using the default look and feel
125
131
  chart = Ziya::Charts::Bar.new
126
132
  chart.add( :axis_category_text, %w[2006 2007 2008] )
127
133
  chart.add( :series, "Dogs", [10,20,30] )
@@ -131,25 +137,28 @@ managers will love you for it !!
131
137
  end
132
138
  end
133
139
 
134
- blee/index.html.erb
140
+ * blee/index.html.erb
135
141
 
136
- <%= ziya_chart load_chart_url, :size => "300x200" -%>
142
+ Defines the necessary tag to embed a flash movie in your html page.
143
+ This will callback to your controller to fetch the necessary xml.
144
+ <%= ziya_chart load_chart_url, :size => "300x200" -%>
137
145
 
138
- config/routes.rb
146
+ * config/routes.rb
139
147
 
140
- # Creates a named route for the chart.
141
- map.load_chart '/blee/load_chart', :controller => 'blee', :action => 'load_chart'
148
+ Creates a named route for the chart.
149
+ map.load_chart '/blee/load_chart', :controller => 'blee', :action => 'load_chart'
142
150
 
143
- * Creating a gauge
151
+ == Creating a gauge
144
152
 
145
153
  You will need to modify the ziya initializer and add the following directive
146
154
 
147
- Ziya.initialize( :logger => RAILS_DEFAULT_LOGGER,
148
- :helpers_dir => File.join( File.dirname(__FILE__), %w[.. .. app helpers ziya] ),
149
- :designs_dir => File.join( File.dirname(__FILE__), %w[.. .. public gauges designs] ), # => Add this !!
150
- :themes_dir => File.join( File.dirname(__FILE__), %w[.. .. public charts themes]) )
155
+ Ziya.initialize(
156
+ :logger => RAILS_DEFAULT_LOGGER,
157
+ :helpers_dir => File.join( File.dirname(__FILE__), %w[.. .. app helpers ziya] ),
158
+ :designs_dir => File.join( File.dirname(__FILE__), %w[.. .. public gauges designs] ), # => Add this !!
159
+ :themes_dir => File.join( File.dirname(__FILE__), %w[.. .. public charts themes]) )
151
160
 
152
- fred_controller.rb
161
+ * fred_controller.rb
153
162
 
154
163
  class FredController < ApplicationController
155
164
  def load_gauge
@@ -160,16 +169,16 @@ managers will love you for it !!
160
169
  end
161
170
  end
162
171
 
163
- fred/index.html.erb
172
+ * fred/index.html.erb
164
173
 
165
174
  <%= ziya_gauge load_gauge_url, :size => "300x200" -%>
166
175
 
167
- config/routes.rb
176
+ * config/routes.rb
168
177
 
169
178
  # Creates a named route for the chart.
170
179
  map.load_gauge '/fred/load_gauge', :controller => 'fred', :action => 'load_gauge'
171
180
 
172
- public/gauges/designs/my_gauge.yml
181
+ * public/gauges/designs/my_gauge.yml
173
182
 
174
183
  In the design file you will leverage the components defined in the Ziya::Gauges::Support
175
184
  package to create your gauge desgins. You gauges can be animated using rotate, scale and
data/Rakefile CHANGED
@@ -17,8 +17,8 @@ PROJ.url = 'http://ziya.rubyforge.org'
17
17
  PROJ.rubyforge_name = 'ziya'
18
18
  PROJ.description = "Easily add charting to your rails/merb applications"
19
19
  PROJ.spec_opts << '--color'
20
- PROJ.rcov_dir = ENV['CC_BUILD_ARTIFACTS'] ? "#{ENV['CC_BUILD_ARTIFACTS']}/test_coverage" : 'coverage'
21
- PROJ.rdoc_dir = ENV['CC_BUILD_ARTIFACTS'] ? "#{ENV['CC_BUILD_ARTIFACTS']}/api_docs" : 'docs'
20
+ PROJ.rcov_dir = 'coverage'
21
+ PROJ.rdoc_dir = 'docs'
22
22
  PROJ.ruby_opts = %w[-W0]
23
23
  PROJ.version = ::Ziya::Version.version
24
24
  PROJ.svn = 'ziya'
data/charts/charts.swf CHANGED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,13 @@
1
+ This directory indicates the location where you can specify the charts looks and feel.
2
+ You will need to create a new theme directory which contains the chart YAML stylesheets for
3
+ your various charts.
4
+
5
+ For example
6
+
7
+ public/charts/themes/blee
8
+ - bar_chart.yml
9
+ - polar_chart.yml
10
+
11
+ Then in your controller, indicate you want to choose the blee theme by using the following:
12
+
13
+ chart.add( :theme, "blee" )