derailed-ziya 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest.txt CHANGED
@@ -3,6 +3,319 @@ Manifest.txt
3
3
  README.txt
4
4
  Rakefile
5
5
  bin/ziyafy
6
+ docs/History.txt.html
7
+ docs/README.txt.html
8
+ docs/String.html
9
+ docs/Ziya.html
10
+ docs/Ziya/Charts.html
11
+ docs/Ziya/Charts/Area.html
12
+ docs/Ziya/Charts/AreaThreed.html
13
+ docs/Ziya/Charts/Bar.html
14
+ docs/Ziya/Charts/Base.html
15
+ docs/Ziya/Charts/Bubble.html
16
+ docs/Ziya/Charts/CandleStick.html
17
+ docs/Ziya/Charts/Column.html
18
+ docs/Ziya/Charts/ColumnThreed.html
19
+ docs/Ziya/Charts/Custom.html
20
+ docs/Ziya/Charts/Donut.html
21
+ docs/Ziya/Charts/FloatingBar.html
22
+ docs/Ziya/Charts/FloatingColumn.html
23
+ docs/Ziya/Charts/ImageColumn.html
24
+ docs/Ziya/Charts/ImagePie.html
25
+ docs/Ziya/Charts/Line.html
26
+ docs/Ziya/Charts/Mixed.html
27
+ docs/Ziya/Charts/ParallelThreedColumn.html
28
+ docs/Ziya/Charts/Pie.html
29
+ docs/Ziya/Charts/PieThreed.html
30
+ docs/Ziya/Charts/Polar.html
31
+ docs/Ziya/Charts/Scatter.html
32
+ docs/Ziya/Charts/StackedArea.html
33
+ docs/Ziya/Charts/StackedBar.html
34
+ docs/Ziya/Charts/StackedColumn.html
35
+ docs/Ziya/Charts/StackedThreedArea.html
36
+ docs/Ziya/Charts/StackedThreedColumn.html
37
+ docs/Ziya/Charts/Support.html
38
+ docs/Ziya/Charts/Support/Area.html
39
+ docs/Ziya/Charts/Support/AxisCategory.html
40
+ docs/Ziya/Charts/Support/AxisTicks.html
41
+ docs/Ziya/Charts/Support/AxisValue.html
42
+ docs/Ziya/Charts/Support/Base.html
43
+ docs/Ziya/Charts/Support/Bevel.html
44
+ docs/Ziya/Charts/Support/Blur.html
45
+ docs/Ziya/Charts/Support/Button.html
46
+ docs/Ziya/Charts/Support/ChartBorder.html
47
+ docs/Ziya/Charts/Support/ChartGridH.html
48
+ docs/Ziya/Charts/Support/ChartGridV.html
49
+ docs/Ziya/Charts/Support/ChartGuide.html
50
+ docs/Ziya/Charts/Support/ChartLabel.html
51
+ docs/Ziya/Charts/Support/ChartNote.html
52
+ docs/Ziya/Charts/Support/ChartPref.html
53
+ docs/Ziya/Charts/Support/ChartRect.html
54
+ docs/Ziya/Charts/Support/ChartTransition.html
55
+ docs/Ziya/Charts/Support/Circle.html
56
+ docs/Ziya/Charts/Support/ContextMenu.html
57
+ docs/Ziya/Charts/Support/Draw.html
58
+ docs/Ziya/Charts/Support/DrawBase.html
59
+ docs/Ziya/Charts/Support/Filter.html
60
+ docs/Ziya/Charts/Support/FlashToJavascript.html
61
+ docs/Ziya/Charts/Support/Glow.html
62
+ docs/Ziya/Charts/Support/Image.html
63
+ docs/Ziya/Charts/Support/Legend.html
64
+ docs/Ziya/Charts/Support/Line.html
65
+ docs/Ziya/Charts/Support/Link.html
66
+ docs/Ziya/Charts/Support/LinkData.html
67
+ docs/Ziya/Charts/Support/Rect.html
68
+ docs/Ziya/Charts/Support/Scroll.html
69
+ docs/Ziya/Charts/Support/Series.html
70
+ docs/Ziya/Charts/Support/SeriesColor.html
71
+ docs/Ziya/Charts/Support/SeriesExplode.html
72
+ docs/Ziya/Charts/Support/Shadow.html
73
+ docs/Ziya/Charts/Support/Text.html
74
+ docs/Ziya/Charts/Support/Tooltip.html
75
+ docs/Ziya/Charts/Support/Update.html
76
+ docs/Ziya/Gauges.html
77
+ docs/Ziya/Gauges/Base.html
78
+ docs/Ziya/Gauges/Radial.html
79
+ docs/Ziya/Gauges/Signal.html
80
+ docs/Ziya/Gauges/Support.html
81
+ docs/Ziya/Gauges/Support/Area.html
82
+ docs/Ziya/Gauges/Support/Base.html
83
+ docs/Ziya/Gauges/Support/Circle.html
84
+ docs/Ziya/Gauges/Support/Design.html
85
+ docs/Ziya/Gauges/Support/Image.html
86
+ docs/Ziya/Gauges/Support/Line.html
87
+ docs/Ziya/Gauges/Support/Link.html
88
+ docs/Ziya/Gauges/Support/Move.html
89
+ docs/Ziya/Gauges/Support/Point.html
90
+ docs/Ziya/Gauges/Support/Polygon.html
91
+ docs/Ziya/Gauges/Support/RadialBase.html
92
+ docs/Ziya/Gauges/Support/RadialNumbers.html
93
+ docs/Ziya/Gauges/Support/RadialTicks.html
94
+ docs/Ziya/Gauges/Support/Rect.html
95
+ docs/Ziya/Gauges/Support/Rotate.html
96
+ docs/Ziya/Gauges/Support/Scale.html
97
+ docs/Ziya/Gauges/Support/Text.html
98
+ docs/Ziya/Gauges/Support/Update.html
99
+ docs/Ziya/Gauges/Thermo.html
100
+ docs/Ziya/HtmlHelpers.html
101
+ docs/Ziya/HtmlHelpers/Charts.html
102
+ docs/Ziya/HtmlHelpers/Gauges.html
103
+ docs/Ziya/HtmlHelpers/Maps.html
104
+ docs/Ziya/Maps.html
105
+ docs/Ziya/Maps/Australia.html
106
+ docs/Ziya/Maps/Base.html
107
+ docs/Ziya/Maps/Belgium.html
108
+ docs/Ziya/Maps/Brazil.html
109
+ docs/Ziya/Maps/Canada.html
110
+ docs/Ziya/Maps/Europe.html
111
+ docs/Ziya/Maps/France.html
112
+ docs/Ziya/Maps/Geocode.html
113
+ docs/Ziya/Maps/Germany.html
114
+ docs/Ziya/Maps/Italy.html
115
+ docs/Ziya/Maps/Mexico.html
116
+ docs/Ziya/Maps/Support.html
117
+ docs/Ziya/Maps/Support/Arc.html
118
+ docs/Ziya/Maps/Support/ArcColor.html
119
+ docs/Ziya/Maps/Support/ArcRange.html
120
+ docs/Ziya/Maps/Support/BackgroundColor.html
121
+ docs/Ziya/Maps/Support/Base.html
122
+ docs/Ziya/Maps/Support/DefaultColor.html
123
+ docs/Ziya/Maps/Support/DefaultPoint.html
124
+ docs/Ziya/Maps/Support/FirstZoom.html
125
+ docs/Ziya/Maps/Support/HeatRange.html
126
+ docs/Ziya/Maps/Support/Hover.html
127
+ docs/Ziya/Maps/Support/Line.html
128
+ docs/Ziya/Maps/Support/LineColor.html
129
+ docs/Ziya/Maps/Support/LineRange.html
130
+ docs/Ziya/Maps/Support/OutlineColor.html
131
+ docs/Ziya/Maps/Support/Point.html
132
+ docs/Ziya/Maps/Support/PointRange.html
133
+ docs/Ziya/Maps/Support/Range.html
134
+ docs/Ziya/Maps/Support/Ranges.html
135
+ docs/Ziya/Maps/Support/Region.html
136
+ docs/Ziya/Maps/Support/ScalePoints.html
137
+ docs/Ziya/Maps/Support/ShowName.html
138
+ docs/Ziya/Maps/Support/State.html
139
+ docs/Ziya/Maps/Support/StateInfoIcon.html
140
+ docs/Ziya/Maps/Support/ZoomMode.html
141
+ docs/Ziya/Maps/Support/ZoomOutButton.html
142
+ docs/Ziya/Maps/Support/ZoomOutScale.html
143
+ docs/Ziya/Maps/Sweden.html
144
+ docs/Ziya/Maps/Uk.html
145
+ docs/Ziya/Maps/Us.html
146
+ docs/Ziya/Maps/World.html
147
+ docs/Ziya/YamlHelpers.html
148
+ docs/Ziya/YamlHelpers/Gauges.html
149
+ docs/Ziya/YamlHelpers/Maps.html
150
+ docs/Ziya/Ziyafy.html
151
+ docs/bin/ziyafy.html
152
+ docs/created.rid
153
+ docs/examples/charts/public/charts/themes/readme.txt.html
154
+ docs/examples/maps/public/maps/themes/readme.txt.html
155
+ docs/images/brick.png
156
+ docs/images/brick_link.png
157
+ docs/images/bullet_black.png
158
+ docs/images/date.png
159
+ docs/images/macFFBgHack.png
160
+ docs/images/package.png
161
+ docs/images/page_green.png
162
+ docs/images/page_white_width.png
163
+ docs/images/plugin.png
164
+ docs/images/ruby.png
165
+ docs/images/tag_green.png
166
+ docs/images/wrench.png
167
+ docs/images/wrench_orange.png
168
+ docs/images/zoom.png
169
+ docs/index.html
170
+ docs/js/darkfish.js
171
+ docs/js/jquery.js
172
+ docs/js/quicksearch.js
173
+ docs/js/thickbox-compressed.js
174
+ docs/lib/ziya.rb.html
175
+ docs/lib/ziya/charts/area.rb.html
176
+ docs/lib/ziya/charts/area_threed.rb.html
177
+ docs/lib/ziya/charts/bar.rb.html
178
+ docs/lib/ziya/charts/base.rb.html
179
+ docs/lib/ziya/charts/bubble.rb.html
180
+ docs/lib/ziya/charts/candle_stick.rb.html
181
+ docs/lib/ziya/charts/column.rb.html
182
+ docs/lib/ziya/charts/column_threed.rb.html
183
+ docs/lib/ziya/charts/custom.rb.html
184
+ docs/lib/ziya/charts/donut.rb.html
185
+ docs/lib/ziya/charts/floating_bar.rb.html
186
+ docs/lib/ziya/charts/floating_column.rb.html
187
+ docs/lib/ziya/charts/image_column.rb.html
188
+ docs/lib/ziya/charts/image_pie.rb.html
189
+ docs/lib/ziya/charts/line.rb.html
190
+ docs/lib/ziya/charts/mixed.rb.html
191
+ docs/lib/ziya/charts/parallel_threed_column.rb.html
192
+ docs/lib/ziya/charts/pie.rb.html
193
+ docs/lib/ziya/charts/pie_threed.rb.html
194
+ docs/lib/ziya/charts/polar.rb.html
195
+ docs/lib/ziya/charts/scatter.rb.html
196
+ docs/lib/ziya/charts/stacked_area.rb.html
197
+ docs/lib/ziya/charts/stacked_bar.rb.html
198
+ docs/lib/ziya/charts/stacked_column.rb.html
199
+ docs/lib/ziya/charts/stacked_threed_area.rb.html
200
+ docs/lib/ziya/charts/stacked_threed_column.rb.html
201
+ docs/lib/ziya/charts/support/area.rb.html
202
+ docs/lib/ziya/charts/support/axis_category.rb.html
203
+ docs/lib/ziya/charts/support/axis_ticks.rb.html
204
+ docs/lib/ziya/charts/support/axis_value.rb.html
205
+ docs/lib/ziya/charts/support/base.rb.html
206
+ docs/lib/ziya/charts/support/bevel.rb.html
207
+ docs/lib/ziya/charts/support/blur.rb.html
208
+ docs/lib/ziya/charts/support/button.rb.html
209
+ docs/lib/ziya/charts/support/chart_border.rb.html
210
+ docs/lib/ziya/charts/support/chart_grid_h.rb.html
211
+ docs/lib/ziya/charts/support/chart_grid_v.rb.html
212
+ docs/lib/ziya/charts/support/chart_guide.rb.html
213
+ docs/lib/ziya/charts/support/chart_label.rb.html
214
+ docs/lib/ziya/charts/support/chart_note.rb.html
215
+ docs/lib/ziya/charts/support/chart_pref.rb.html
216
+ docs/lib/ziya/charts/support/chart_rect.rb.html
217
+ docs/lib/ziya/charts/support/chart_transition.rb.html
218
+ docs/lib/ziya/charts/support/circle.rb.html
219
+ docs/lib/ziya/charts/support/context_menu.rb.html
220
+ docs/lib/ziya/charts/support/draw.rb.html
221
+ docs/lib/ziya/charts/support/draw_base.rb.html
222
+ docs/lib/ziya/charts/support/filter.rb.html
223
+ docs/lib/ziya/charts/support/flash_to_javascript.rb.html
224
+ docs/lib/ziya/charts/support/glow.rb.html
225
+ docs/lib/ziya/charts/support/image.rb.html
226
+ docs/lib/ziya/charts/support/legend.rb.html
227
+ docs/lib/ziya/charts/support/line.rb.html
228
+ docs/lib/ziya/charts/support/link.rb.html
229
+ docs/lib/ziya/charts/support/link_data.rb.html
230
+ docs/lib/ziya/charts/support/rect.rb.html
231
+ docs/lib/ziya/charts/support/scroll.rb.html
232
+ docs/lib/ziya/charts/support/series.rb.html
233
+ docs/lib/ziya/charts/support/series_color.rb.html
234
+ docs/lib/ziya/charts/support/series_explode.rb.html
235
+ docs/lib/ziya/charts/support/shadow.rb.html
236
+ docs/lib/ziya/charts/support/text.rb.html
237
+ docs/lib/ziya/charts/support/tooltip.rb.html
238
+ docs/lib/ziya/charts/support/update.rb.html
239
+ docs/lib/ziya/core_ext/string.rb.html
240
+ docs/lib/ziya/gauges/base.rb.html
241
+ docs/lib/ziya/gauges/radial.rb.html
242
+ docs/lib/ziya/gauges/signal.rb.html
243
+ docs/lib/ziya/gauges/support/area.rb.html
244
+ docs/lib/ziya/gauges/support/base.rb.html
245
+ docs/lib/ziya/gauges/support/circle.rb.html
246
+ docs/lib/ziya/gauges/support/design.rb.html
247
+ docs/lib/ziya/gauges/support/image.rb.html
248
+ docs/lib/ziya/gauges/support/line.rb.html
249
+ docs/lib/ziya/gauges/support/link.rb.html
250
+ docs/lib/ziya/gauges/support/move.rb.html
251
+ docs/lib/ziya/gauges/support/point.rb.html
252
+ docs/lib/ziya/gauges/support/polygon.rb.html
253
+ docs/lib/ziya/gauges/support/radial_base.rb.html
254
+ docs/lib/ziya/gauges/support/radial_numbers.rb.html
255
+ docs/lib/ziya/gauges/support/radial_ticks.rb.html
256
+ docs/lib/ziya/gauges/support/rect.rb.html
257
+ docs/lib/ziya/gauges/support/rotate.rb.html
258
+ docs/lib/ziya/gauges/support/scale.rb.html
259
+ docs/lib/ziya/gauges/support/text.rb.html
260
+ docs/lib/ziya/gauges/support/update.rb.html
261
+ docs/lib/ziya/gauges/thermo.rb.html
262
+ docs/lib/ziya/html_helpers.rb.html
263
+ docs/lib/ziya/html_helpers/base.rb.html
264
+ docs/lib/ziya/html_helpers/charts.rb.html
265
+ docs/lib/ziya/html_helpers/gauges.rb.html
266
+ docs/lib/ziya/html_helpers/maps.rb.html
267
+ docs/lib/ziya/maps/australia.rb.html
268
+ docs/lib/ziya/maps/base.rb.html
269
+ docs/lib/ziya/maps/belgium.rb.html
270
+ docs/lib/ziya/maps/brazil.rb.html
271
+ docs/lib/ziya/maps/canada.rb.html
272
+ docs/lib/ziya/maps/europe.rb.html
273
+ docs/lib/ziya/maps/france.rb.html
274
+ docs/lib/ziya/maps/geocode.rb.html
275
+ docs/lib/ziya/maps/germany.rb.html
276
+ docs/lib/ziya/maps/italy.rb.html
277
+ docs/lib/ziya/maps/mexico.rb.html
278
+ docs/lib/ziya/maps/support/arc.rb.html
279
+ docs/lib/ziya/maps/support/arc_color.rb.html
280
+ docs/lib/ziya/maps/support/arc_range.rb.html
281
+ docs/lib/ziya/maps/support/background_color.rb.html
282
+ docs/lib/ziya/maps/support/base.rb.html
283
+ docs/lib/ziya/maps/support/default_color.rb.html
284
+ docs/lib/ziya/maps/support/default_point.rb.html
285
+ docs/lib/ziya/maps/support/first_zoom.rb.html
286
+ docs/lib/ziya/maps/support/heat_range.rb.html
287
+ docs/lib/ziya/maps/support/hover.rb.html
288
+ docs/lib/ziya/maps/support/line.rb.html
289
+ docs/lib/ziya/maps/support/line_color.rb.html
290
+ docs/lib/ziya/maps/support/line_range.rb.html
291
+ docs/lib/ziya/maps/support/outline_color.rb.html
292
+ docs/lib/ziya/maps/support/point.rb.html
293
+ docs/lib/ziya/maps/support/point_range.rb.html
294
+ docs/lib/ziya/maps/support/range.rb.html
295
+ docs/lib/ziya/maps/support/ranges.rb.html
296
+ docs/lib/ziya/maps/support/region.rb.html
297
+ docs/lib/ziya/maps/support/scale_points.rb.html
298
+ docs/lib/ziya/maps/support/show_name.rb.html
299
+ docs/lib/ziya/maps/support/state.rb.html
300
+ docs/lib/ziya/maps/support/state_info_icon.rb.html
301
+ docs/lib/ziya/maps/support/zoom_mode.rb.html
302
+ docs/lib/ziya/maps/support/zoom_out_button.rb.html
303
+ docs/lib/ziya/maps/support/zoom_out_scale.rb.html
304
+ docs/lib/ziya/maps/sweden.rb.html
305
+ docs/lib/ziya/maps/uk.rb.html
306
+ docs/lib/ziya/maps/us.rb.html
307
+ docs/lib/ziya/maps/world.rb.html
308
+ docs/lib/ziya/utils/logger.rb.html
309
+ docs/lib/ziya/version.rb.html
310
+ docs/lib/ziya/yaml_helpers.rb.html
311
+ docs/lib/ziya/yaml_helpers/base.rb.html
312
+ docs/lib/ziya/yaml_helpers/charts.rb.html
313
+ docs/lib/ziya/yaml_helpers/gauges.rb.html
314
+ docs/lib/ziya/yaml_helpers/maps.rb.html
315
+ docs/rdoc.css
316
+ docs/release_notes.txt.html
317
+ docs/resources/charts/themes/readme.txt.html
318
+ docs/resources/maps/themes/readme.txt.html
6
319
  examples/charts/basic_chart.rb
7
320
  examples/charts/public/charts/AC_RunActiveContent.js
8
321
  examples/charts/public/charts/charts.swf
@@ -239,6 +552,7 @@ resources/charts/charts_library/piim.swf
239
552
  resources/charts/charts_library/pino.swf
240
553
  resources/charts/charts_library/pono.swf
241
554
  resources/charts/charts_library/scno.swf
555
+ resources/charts/full_screen.fla
242
556
  resources/charts/full_screen.swf
243
557
  resources/charts/scripts/output_jpg.php
244
558
  resources/charts/sliders/black.swf
@@ -274,6 +588,7 @@ resources/maps/themes/readme.txt
274
588
  spec/charts/base_spec.rb
275
589
  spec/charts/chart_type_spec.rb
276
590
  spec/charts/support/area_spec.rb
591
+ spec/charts/support/chart_pref_spec.rb
277
592
  spec/charts/support/draw_spec.rb
278
593
  spec/charts/support/filter_spec.rb
279
594
  spec/charts/support/link_spec.rb
data/README.txt CHANGED
@@ -29,7 +29,9 @@
29
29
  - Changed add( :composites, ... ) call to take in a hash of hash instead of id/url pair.
30
30
  So the correct call is now of the form chart.add( :composites, :id => { :url => ... } )
31
31
  You can now add extra attributes that will be passed to the generated image component.
32
-
32
+ 2.1.4 - Added support for xm/swf 5.0.8
33
+ - Removed dependency on logging gem version
34
+
33
35
  == DESCRIPTION:
34
36
 
35
37
  ZiYa allows you to easily create interactive charts, gauges and maps for your web applications. ZiYa leverages
@@ -56,8 +58,8 @@ like applications. Your manager will love you for it !!
56
58
 
57
59
  ZiYa depends on the following gems
58
60
 
59
- * logging gem version ~> 0.9.0
60
- * color gem version ~> 1.4.0
61
+ * logging
62
+ * color
61
63
 
62
64
  ZiYa comes pre-bundled with the following packages:
63
65
  * XML/SWF charts Version 5.07 (http://www.maani.us/xml_charts/index.php)
@@ -79,7 +81,11 @@ like applications. Your manager will love you for it !!
79
81
 
80
82
  == INSTALL:
81
83
 
82
- sudo gem install derailed-ziya
84
+ NOTE: You will need to add github as a gem source and thus will need gem version 1.3 or later
85
+
86
+ > gem sources -a http://gems.github.com
87
+
88
+ > sudo gem install derailed-ziya
83
89
 
84
90
  cd to your application directory and issue the following command
85
91
 
@@ -138,7 +144,7 @@ like applications. Your manager will love you for it !!
138
144
  chart.add( :series, "Dogs", [10,20,30] )
139
145
  chart.add( :series, "Cats", [5,15,25] )
140
146
  respond_to do |fmt|
141
- fmt.xml => { render :xml => chart.to_xml }
147
+ fmt.xml { render :xml => chart.to_xml }
142
148
  end
143
149
  end
144
150
 
@@ -17,6 +17,7 @@ module Ziya::Charts::Support
17
17
  :type, :bull_color, :bear_color,
18
18
  :drag, :min_x, :min_y, :max_x, :max_y,
19
19
  :trend_thickness, :trend_alpha, :line_alpha, :rotation_x,
20
- :rotation_y, :grid, :select, :empty_center
20
+ :rotation_y, :grid, :select, :empty_center,
21
+ :zero_line
21
22
  end
22
23
  end
data/lib/ziya/version.rb CHANGED
@@ -2,7 +2,7 @@ module Ziya
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 1
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  # Returns the version string for the library.
8
8
  def self.version
Binary file
data/ziya.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = %q{ziya}
6
- s.version = "2.1.3"
6
+ s.version = "2.1.4"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.authors = ["Fernand Galiana"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: derailed-ziya
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernand Galiana