ziya 2.1.6 → 2.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. data/Manifest.txt +0 -317
  2. data/README.txt +4 -2
  3. data/Rakefile +3 -3
  4. data/examples/charts/basic_chart.rb +0 -8
  5. data/examples/charts/views/index.erb +4 -9
  6. data/lib/ziya/charts/base.rb +2 -2
  7. data/lib/ziya/charts/support/base.rb +1 -1
  8. data/lib/ziya/core_ext/string.rb +6 -6
  9. data/lib/ziya/gauges/base.rb +1 -1
  10. data/lib/ziya/gauges/support/base.rb +2 -2
  11. data/lib/ziya/maps/base.rb +3 -3
  12. data/lib/ziya/maps/support/base.rb +2 -2
  13. data/lib/ziya/version.rb +1 -1
  14. data/lib/ziya/yaml_helpers/base.rb +1 -1
  15. data/spec/charts/chart_type_spec.rb +1 -1
  16. data/spec/core_ext/string_spec.rb +10 -10
  17. metadata +4 -321
  18. data/docs/History.txt.html +0 -50
  19. data/docs/README.txt.html +0 -403
  20. data/docs/String.html +0 -832
  21. data/docs/Ziya.html +0 -636
  22. data/docs/Ziya/Charts.html +0 -909
  23. data/docs/Ziya/Charts/Area.html +0 -672
  24. data/docs/Ziya/Charts/AreaThreed.html +0 -672
  25. data/docs/Ziya/Charts/Bar.html +0 -672
  26. data/docs/Ziya/Charts/Base.html +0 -1101
  27. data/docs/Ziya/Charts/Bubble.html +0 -672
  28. data/docs/Ziya/Charts/CandleStick.html +0 -672
  29. data/docs/Ziya/Charts/Column.html +0 -672
  30. data/docs/Ziya/Charts/ColumnThreed.html +0 -672
  31. data/docs/Ziya/Charts/Custom.html +0 -672
  32. data/docs/Ziya/Charts/Donut.html +0 -672
  33. data/docs/Ziya/Charts/FloatingBar.html +0 -672
  34. data/docs/Ziya/Charts/FloatingColumn.html +0 -672
  35. data/docs/Ziya/Charts/ImageColumn.html +0 -672
  36. data/docs/Ziya/Charts/ImagePie.html +0 -672
  37. data/docs/Ziya/Charts/Line.html +0 -672
  38. data/docs/Ziya/Charts/Mixed.html +0 -672
  39. data/docs/Ziya/Charts/ParallelThreedColumn.html +0 -672
  40. data/docs/Ziya/Charts/Pie.html +0 -672
  41. data/docs/Ziya/Charts/PieThreed.html +0 -672
  42. data/docs/Ziya/Charts/Polar.html +0 -672
  43. data/docs/Ziya/Charts/Scatter.html +0 -672
  44. data/docs/Ziya/Charts/StackedArea.html +0 -672
  45. data/docs/Ziya/Charts/StackedBar.html +0 -672
  46. data/docs/Ziya/Charts/StackedColumn.html +0 -672
  47. data/docs/Ziya/Charts/StackedThreedArea.html +0 -672
  48. data/docs/Ziya/Charts/StackedThreedColumn.html +0 -672
  49. data/docs/Ziya/Charts/Support.html +0 -1245
  50. data/docs/Ziya/Charts/Support/Area.html +0 -582
  51. data/docs/Ziya/Charts/Support/AxisCategory.html +0 -583
  52. data/docs/Ziya/Charts/Support/AxisTicks.html +0 -644
  53. data/docs/Ziya/Charts/Support/AxisValue.html +0 -583
  54. data/docs/Ziya/Charts/Support/Base.html +0 -577
  55. data/docs/Ziya/Charts/Support/Bevel.html +0 -583
  56. data/docs/Ziya/Charts/Support/Blur.html +0 -583
  57. data/docs/Ziya/Charts/Support/Button.html +0 -583
  58. data/docs/Ziya/Charts/Support/ChartBorder.html +0 -582
  59. data/docs/Ziya/Charts/Support/ChartGridH.html +0 -616
  60. data/docs/Ziya/Charts/Support/ChartGridV.html +0 -616
  61. data/docs/Ziya/Charts/Support/ChartGuide.html +0 -582
  62. data/docs/Ziya/Charts/Support/ChartLabel.html +0 -583
  63. data/docs/Ziya/Charts/Support/ChartNote.html +0 -582
  64. data/docs/Ziya/Charts/Support/ChartPref.html +0 -589
  65. data/docs/Ziya/Charts/Support/ChartRect.html +0 -632
  66. data/docs/Ziya/Charts/Support/ChartTransition.html +0 -613
  67. data/docs/Ziya/Charts/Support/Circle.html +0 -583
  68. data/docs/Ziya/Charts/Support/ContextMenu.html +0 -583
  69. data/docs/Ziya/Charts/Support/Draw.html +0 -886
  70. data/docs/Ziya/Charts/Support/DrawBase.html +0 -577
  71. data/docs/Ziya/Charts/Support/Filter.html +0 -668
  72. data/docs/Ziya/Charts/Support/FlashToJavascript.html +0 -596
  73. data/docs/Ziya/Charts/Support/Glow.html +0 -583
  74. data/docs/Ziya/Charts/Support/Image.html +0 -583
  75. data/docs/Ziya/Charts/Support/Legend.html +0 -582
  76. data/docs/Ziya/Charts/Support/Line.html +0 -583
  77. data/docs/Ziya/Charts/Support/Link.html +0 -734
  78. data/docs/Ziya/Charts/Support/LinkData.html +0 -589
  79. data/docs/Ziya/Charts/Support/Rect.html +0 -583
  80. data/docs/Ziya/Charts/Support/Scroll.html +0 -583
  81. data/docs/Ziya/Charts/Support/Series.html +0 -583
  82. data/docs/Ziya/Charts/Support/SeriesColor.html +0 -676
  83. data/docs/Ziya/Charts/Support/SeriesExplode.html +0 -676
  84. data/docs/Ziya/Charts/Support/Shadow.html +0 -583
  85. data/docs/Ziya/Charts/Support/Text.html +0 -664
  86. data/docs/Ziya/Charts/Support/Tooltip.html +0 -583
  87. data/docs/Ziya/Charts/Support/Update.html +0 -590
  88. data/docs/Ziya/Gauges.html +0 -644
  89. data/docs/Ziya/Gauges/Base.html +0 -1052
  90. data/docs/Ziya/Gauges/Radial.html +0 -654
  91. data/docs/Ziya/Gauges/Signal.html +0 -794
  92. data/docs/Ziya/Gauges/Support.html +0 -726
  93. data/docs/Ziya/Gauges/Support/Area.html +0 -577
  94. data/docs/Ziya/Gauges/Support/Base.html +0 -690
  95. data/docs/Ziya/Gauges/Support/Circle.html +0 -577
  96. data/docs/Ziya/Gauges/Support/Design.html +0 -577
  97. data/docs/Ziya/Gauges/Support/Image.html +0 -577
  98. data/docs/Ziya/Gauges/Support/Line.html +0 -577
  99. data/docs/Ziya/Gauges/Support/Link.html +0 -577
  100. data/docs/Ziya/Gauges/Support/Move.html +0 -577
  101. data/docs/Ziya/Gauges/Support/Point.html +0 -577
  102. data/docs/Ziya/Gauges/Support/Polygon.html +0 -577
  103. data/docs/Ziya/Gauges/Support/RadialBase.html +0 -654
  104. data/docs/Ziya/Gauges/Support/RadialNumbers.html +0 -694
  105. data/docs/Ziya/Gauges/Support/RadialTicks.html +0 -676
  106. data/docs/Ziya/Gauges/Support/Rect.html +0 -577
  107. data/docs/Ziya/Gauges/Support/Rotate.html +0 -577
  108. data/docs/Ziya/Gauges/Support/Scale.html +0 -577
  109. data/docs/Ziya/Gauges/Support/Text.html +0 -656
  110. data/docs/Ziya/Gauges/Support/Update.html +0 -577
  111. data/docs/Ziya/Gauges/Thermo.html +0 -826
  112. data/docs/Ziya/HtmlHelpers.html +0 -597
  113. data/docs/Ziya/HtmlHelpers/Charts.html +0 -1399
  114. data/docs/Ziya/HtmlHelpers/Gauges.html +0 -987
  115. data/docs/Ziya/HtmlHelpers/Maps.html +0 -950
  116. data/docs/Ziya/Maps.html +0 -713
  117. data/docs/Ziya/Maps/Australia.html +0 -648
  118. data/docs/Ziya/Maps/Base.html +0 -1099
  119. data/docs/Ziya/Maps/Belgium.html +0 -648
  120. data/docs/Ziya/Maps/Brazil.html +0 -648
  121. data/docs/Ziya/Maps/Canada.html +0 -648
  122. data/docs/Ziya/Maps/Europe.html +0 -648
  123. data/docs/Ziya/Maps/France.html +0 -648
  124. data/docs/Ziya/Maps/Geocode.html +0 -752
  125. data/docs/Ziya/Maps/Germany.html +0 -648
  126. data/docs/Ziya/Maps/Italy.html +0 -648
  127. data/docs/Ziya/Maps/Mexico.html +0 -648
  128. data/docs/Ziya/Maps/Support.html +0 -798
  129. data/docs/Ziya/Maps/Support/Arc.html +0 -577
  130. data/docs/Ziya/Maps/Support/ArcColor.html +0 -577
  131. data/docs/Ziya/Maps/Support/ArcRange.html +0 -577
  132. data/docs/Ziya/Maps/Support/BackgroundColor.html +0 -577
  133. data/docs/Ziya/Maps/Support/Base.html +0 -792
  134. data/docs/Ziya/Maps/Support/DefaultColor.html +0 -577
  135. data/docs/Ziya/Maps/Support/DefaultPoint.html +0 -577
  136. data/docs/Ziya/Maps/Support/FirstZoom.html +0 -577
  137. data/docs/Ziya/Maps/Support/HeatRange.html +0 -658
  138. data/docs/Ziya/Maps/Support/Hover.html +0 -577
  139. data/docs/Ziya/Maps/Support/Line.html +0 -577
  140. data/docs/Ziya/Maps/Support/LineColor.html +0 -577
  141. data/docs/Ziya/Maps/Support/LineRange.html +0 -577
  142. data/docs/Ziya/Maps/Support/OutlineColor.html +0 -577
  143. data/docs/Ziya/Maps/Support/Point.html +0 -577
  144. data/docs/Ziya/Maps/Support/PointRange.html +0 -577
  145. data/docs/Ziya/Maps/Support/Range.html +0 -753
  146. data/docs/Ziya/Maps/Support/Ranges.html +0 -658
  147. data/docs/Ziya/Maps/Support/Region.html +0 -577
  148. data/docs/Ziya/Maps/Support/ScalePoints.html +0 -577
  149. data/docs/Ziya/Maps/Support/ShowName.html +0 -577
  150. data/docs/Ziya/Maps/Support/State.html +0 -577
  151. data/docs/Ziya/Maps/Support/StateInfoIcon.html +0 -577
  152. data/docs/Ziya/Maps/Support/ZoomMode.html +0 -577
  153. data/docs/Ziya/Maps/Support/ZoomOutButton.html +0 -577
  154. data/docs/Ziya/Maps/Support/ZoomOutScale.html +0 -577
  155. data/docs/Ziya/Maps/Sweden.html +0 -648
  156. data/docs/Ziya/Maps/Uk.html +0 -648
  157. data/docs/Ziya/Maps/Us.html +0 -648
  158. data/docs/Ziya/Maps/World.html +0 -648
  159. data/docs/Ziya/YamlHelpers.html +0 -592
  160. data/docs/Ziya/YamlHelpers/Gauges.html +0 -848
  161. data/docs/Ziya/YamlHelpers/Maps.html +0 -750
  162. data/docs/Ziya/Ziyafy.html +0 -735
  163. data/docs/bin/ziyafy.html +0 -52
  164. data/docs/created.rid +0 -1
  165. data/docs/examples/charts/public/charts/themes/readme.txt.html +0 -61
  166. data/docs/examples/maps/public/maps/themes/readme.txt.html +0 -61
  167. data/docs/images/brick.png +0 -0
  168. data/docs/images/brick_link.png +0 -0
  169. data/docs/images/bullet_black.png +0 -0
  170. data/docs/images/date.png +0 -0
  171. data/docs/images/macFFBgHack.png +0 -0
  172. data/docs/images/package.png +0 -0
  173. data/docs/images/page_green.png +0 -0
  174. data/docs/images/page_white_width.png +0 -0
  175. data/docs/images/plugin.png +0 -0
  176. data/docs/images/ruby.png +0 -0
  177. data/docs/images/tag_green.png +0 -0
  178. data/docs/images/wrench.png +0 -0
  179. data/docs/images/wrench_orange.png +0 -0
  180. data/docs/images/zoom.png +0 -0
  181. data/docs/index.html +0 -978
  182. data/docs/js/darkfish.js +0 -91
  183. data/docs/js/jquery.js +0 -32
  184. data/docs/js/quicksearch.js +0 -135
  185. data/docs/js/thickbox-compressed.js +0 -10
  186. data/docs/lib/ziya.rb.html +0 -43
  187. data/docs/lib/ziya/charts/area.rb.html +0 -54
  188. data/docs/lib/ziya/charts/area_threed.rb.html +0 -153
  189. data/docs/lib/ziya/charts/bar.rb.html +0 -45
  190. data/docs/lib/ziya/charts/base.rb.html +0 -71
  191. data/docs/lib/ziya/charts/bubble.rb.html +0 -54
  192. data/docs/lib/ziya/charts/candle_stick.rb.html +0 -45
  193. data/docs/lib/ziya/charts/column.rb.html +0 -45
  194. data/docs/lib/ziya/charts/column_threed.rb.html +0 -45
  195. data/docs/lib/ziya/charts/custom.rb.html +0 -54
  196. data/docs/lib/ziya/charts/donut.rb.html +0 -54
  197. data/docs/lib/ziya/charts/floating_bar.rb.html +0 -45
  198. data/docs/lib/ziya/charts/floating_column.rb.html +0 -45
  199. data/docs/lib/ziya/charts/image_column.rb.html +0 -54
  200. data/docs/lib/ziya/charts/image_pie.rb.html +0 -54
  201. data/docs/lib/ziya/charts/line.rb.html +0 -45
  202. data/docs/lib/ziya/charts/mixed.rb.html +0 -45
  203. data/docs/lib/ziya/charts/parallel_threed_column.rb.html +0 -45
  204. data/docs/lib/ziya/charts/pie.rb.html +0 -45
  205. data/docs/lib/ziya/charts/pie_threed.rb.html +0 -45
  206. data/docs/lib/ziya/charts/polar.rb.html +0 -45
  207. data/docs/lib/ziya/charts/scatter.rb.html +0 -45
  208. data/docs/lib/ziya/charts/stacked_area.rb.html +0 -45
  209. data/docs/lib/ziya/charts/stacked_bar.rb.html +0 -45
  210. data/docs/lib/ziya/charts/stacked_column.rb.html +0 -45
  211. data/docs/lib/ziya/charts/stacked_threed_area.rb.html +0 -45
  212. data/docs/lib/ziya/charts/stacked_threed_column.rb.html +0 -45
  213. data/docs/lib/ziya/charts/support/area.rb.html +0 -56
  214. data/docs/lib/ziya/charts/support/axis_category.rb.html +0 -407
  215. data/docs/lib/ziya/charts/support/axis_ticks.rb.html +0 -48
  216. data/docs/lib/ziya/charts/support/axis_value.rb.html +0 -48
  217. data/docs/lib/ziya/charts/support/base.rb.html +0 -64
  218. data/docs/lib/ziya/charts/support/bevel.rb.html +0 -48
  219. data/docs/lib/ziya/charts/support/blur.rb.html +0 -48
  220. data/docs/lib/ziya/charts/support/button.rb.html +0 -48
  221. data/docs/lib/ziya/charts/support/chart_border.rb.html +0 -48
  222. data/docs/lib/ziya/charts/support/chart_grid_h.rb.html +0 -48
  223. data/docs/lib/ziya/charts/support/chart_grid_v.rb.html +0 -48
  224. data/docs/lib/ziya/charts/support/chart_guide.rb.html +0 -48
  225. data/docs/lib/ziya/charts/support/chart_label.rb.html +0 -49
  226. data/docs/lib/ziya/charts/support/chart_note.rb.html +0 -53
  227. data/docs/lib/ziya/charts/support/chart_pref.rb.html +0 -48
  228. data/docs/lib/ziya/charts/support/chart_rect.rb.html +0 -48
  229. data/docs/lib/ziya/charts/support/chart_transition.rb.html +0 -48
  230. data/docs/lib/ziya/charts/support/circle.rb.html +0 -48
  231. data/docs/lib/ziya/charts/support/context_menu.rb.html +0 -47
  232. data/docs/lib/ziya/charts/support/draw.rb.html +0 -57
  233. data/docs/lib/ziya/charts/support/draw_base.rb.html +0 -48
  234. data/docs/lib/ziya/charts/support/filter.rb.html +0 -52
  235. data/docs/lib/ziya/charts/support/flash_to_javascript.rb.html +0 -48
  236. data/docs/lib/ziya/charts/support/glow.rb.html +0 -48
  237. data/docs/lib/ziya/charts/support/image.rb.html +0 -52
  238. data/docs/lib/ziya/charts/support/legend.rb.html +0 -48
  239. data/docs/lib/ziya/charts/support/line.rb.html +0 -48
  240. data/docs/lib/ziya/charts/support/link.rb.html +0 -48
  241. data/docs/lib/ziya/charts/support/link_data.rb.html +0 -48
  242. data/docs/lib/ziya/charts/support/rect.rb.html +0 -48
  243. data/docs/lib/ziya/charts/support/scroll.rb.html +0 -50
  244. data/docs/lib/ziya/charts/support/series.rb.html +0 -47
  245. data/docs/lib/ziya/charts/support/series_color.rb.html +0 -62
  246. data/docs/lib/ziya/charts/support/series_explode.rb.html +0 -65
  247. data/docs/lib/ziya/charts/support/shadow.rb.html +0 -48
  248. data/docs/lib/ziya/charts/support/text.rb.html +0 -51
  249. data/docs/lib/ziya/charts/support/tooltip.rb.html +0 -53
  250. data/docs/lib/ziya/charts/support/update.rb.html +0 -49
  251. data/docs/lib/ziya/core_ext/string.rb.html +0 -50
  252. data/docs/lib/ziya/gauges/base.rb.html +0 -54
  253. data/docs/lib/ziya/gauges/radial.rb.html +0 -64
  254. data/docs/lib/ziya/gauges/signal.rb.html +0 -49
  255. data/docs/lib/ziya/gauges/support/area.rb.html +0 -57
  256. data/docs/lib/ziya/gauges/support/base.rb.html +0 -39
  257. data/docs/lib/ziya/gauges/support/circle.rb.html +0 -57
  258. data/docs/lib/ziya/gauges/support/design.rb.html +0 -39
  259. data/docs/lib/ziya/gauges/support/image.rb.html +0 -57
  260. data/docs/lib/ziya/gauges/support/line.rb.html +0 -57
  261. data/docs/lib/ziya/gauges/support/link.rb.html +0 -57
  262. data/docs/lib/ziya/gauges/support/move.rb.html +0 -57
  263. data/docs/lib/ziya/gauges/support/point.rb.html +0 -57
  264. data/docs/lib/ziya/gauges/support/polygon.rb.html +0 -57
  265. data/docs/lib/ziya/gauges/support/radial_base.rb.html +0 -58
  266. data/docs/lib/ziya/gauges/support/radial_numbers.rb.html +0 -60
  267. data/docs/lib/ziya/gauges/support/radial_ticks.rb.html +0 -57
  268. data/docs/lib/ziya/gauges/support/rect.rb.html +0 -57
  269. data/docs/lib/ziya/gauges/support/rotate.rb.html +0 -57
  270. data/docs/lib/ziya/gauges/support/scale.rb.html +0 -57
  271. data/docs/lib/ziya/gauges/support/text.rb.html +0 -57
  272. data/docs/lib/ziya/gauges/support/update.rb.html +0 -57
  273. data/docs/lib/ziya/gauges/thermo.rb.html +0 -48
  274. data/docs/lib/ziya/html_helpers.rb.html +0 -39
  275. data/docs/lib/ziya/html_helpers/base.rb.html +0 -48
  276. data/docs/lib/ziya/html_helpers/charts.rb.html +0 -48
  277. data/docs/lib/ziya/html_helpers/gauges.rb.html +0 -48
  278. data/docs/lib/ziya/html_helpers/maps.rb.html +0 -39
  279. data/docs/lib/ziya/maps/australia.rb.html +0 -48
  280. data/docs/lib/ziya/maps/base.rb.html +0 -62
  281. data/docs/lib/ziya/maps/belgium.rb.html +0 -39
  282. data/docs/lib/ziya/maps/brazil.rb.html +0 -39
  283. data/docs/lib/ziya/maps/canada.rb.html +0 -39
  284. data/docs/lib/ziya/maps/europe.rb.html +0 -39
  285. data/docs/lib/ziya/maps/france.rb.html +0 -39
  286. data/docs/lib/ziya/maps/geocode.rb.html +0 -45
  287. data/docs/lib/ziya/maps/germany.rb.html +0 -39
  288. data/docs/lib/ziya/maps/italy.rb.html +0 -39
  289. data/docs/lib/ziya/maps/mexico.rb.html +0 -39
  290. data/docs/lib/ziya/maps/support/arc.rb.html +0 -48
  291. data/docs/lib/ziya/maps/support/arc_color.rb.html +0 -48
  292. data/docs/lib/ziya/maps/support/arc_range.rb.html +0 -48
  293. data/docs/lib/ziya/maps/support/background_color.rb.html +0 -48
  294. data/docs/lib/ziya/maps/support/base.rb.html +0 -48
  295. data/docs/lib/ziya/maps/support/default_color.rb.html +0 -48
  296. data/docs/lib/ziya/maps/support/default_point.rb.html +0 -48
  297. data/docs/lib/ziya/maps/support/first_zoom.rb.html +0 -48
  298. data/docs/lib/ziya/maps/support/heat_range.rb.html +0 -50
  299. data/docs/lib/ziya/maps/support/hover.rb.html +0 -48
  300. data/docs/lib/ziya/maps/support/line.rb.html +0 -48
  301. data/docs/lib/ziya/maps/support/line_color.rb.html +0 -48
  302. data/docs/lib/ziya/maps/support/line_range.rb.html +0 -48
  303. data/docs/lib/ziya/maps/support/outline_color.rb.html +0 -48
  304. data/docs/lib/ziya/maps/support/point.rb.html +0 -48
  305. data/docs/lib/ziya/maps/support/point_range.rb.html +0 -48
  306. data/docs/lib/ziya/maps/support/range.rb.html +0 -48
  307. data/docs/lib/ziya/maps/support/ranges.rb.html +0 -47
  308. data/docs/lib/ziya/maps/support/region.rb.html +0 -48
  309. data/docs/lib/ziya/maps/support/scale_points.rb.html +0 -48
  310. data/docs/lib/ziya/maps/support/show_name.rb.html +0 -48
  311. data/docs/lib/ziya/maps/support/state.rb.html +0 -48
  312. data/docs/lib/ziya/maps/support/state_info_icon.rb.html +0 -48
  313. data/docs/lib/ziya/maps/support/zoom_mode.rb.html +0 -48
  314. data/docs/lib/ziya/maps/support/zoom_out_button.rb.html +0 -48
  315. data/docs/lib/ziya/maps/support/zoom_out_scale.rb.html +0 -48
  316. data/docs/lib/ziya/maps/sweden.rb.html +0 -39
  317. data/docs/lib/ziya/maps/uk.rb.html +0 -39
  318. data/docs/lib/ziya/maps/us.rb.html +0 -39
  319. data/docs/lib/ziya/maps/world.rb.html +0 -39
  320. data/docs/lib/ziya/utils/logger.rb.html +0 -53
  321. data/docs/lib/ziya/version.rb.html +0 -39
  322. data/docs/lib/ziya/yaml_helpers.rb.html +0 -39
  323. data/docs/lib/ziya/yaml_helpers/base.rb.html +0 -48
  324. data/docs/lib/ziya/yaml_helpers/charts.rb.html +0 -50
  325. data/docs/lib/ziya/yaml_helpers/gauges.rb.html +0 -39
  326. data/docs/lib/ziya/yaml_helpers/maps.rb.html +0 -39
  327. data/docs/rdoc.css +0 -664
  328. data/docs/release_notes.txt.html +0 -51
  329. data/docs/resources/charts/themes/readme.txt.html +0 -61
  330. data/docs/resources/maps/themes/readme.txt.html +0 -61
  331. data/examples/charts/public/charts/charts_library/dollar.jpg +0 -0
  332. data/examples/charts/public/charts/charts_library/pie.jpg +0 -0
  333. data/examples/charts/public/charts/themes/cool_theme/line_chart.yml +0 -5
  334. data/examples/charts/public/fred.xml +0 -21
@@ -1,50 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
-
5
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
- <head>
7
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
-
9
- <title>: </title>
10
-
11
- <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
12
-
13
- </head>
14
- <body class="file">
15
-
16
- <div id="metadata">
17
- <dl>
18
- <dt class="modified-date">Last Modified</dt>
19
- <dd class="modified-date">Sat Oct 25 09:17:59 -0600 2008</dd>
20
-
21
-
22
-
23
-
24
- </dl>
25
-
26
- <div class="description">
27
- <h2>Description</h2>
28
- <h2>1.0.0 / 2008-03-01</h2>
29
- <ul>
30
- <li>1 major enhancement
31
-
32
- <ul>
33
- <li>Birthday!
34
-
35
- </li>
36
- </ul>
37
- </li>
38
- </ul>
39
-
40
- </div>
41
- </div>
42
-
43
- <div id="validator-badges">
44
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
45
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
46
- Rdoc Generator</a></small>.</p>
47
- </div>
48
- </body>
49
- </html>
50
-
@@ -1,403 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
-
5
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
- <head>
7
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
-
9
- <title>: </title>
10
-
11
- <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
12
-
13
- </head>
14
- <body class="file">
15
-
16
- <div id="metadata">
17
- <dl>
18
- <dt class="modified-date">Last Modified</dt>
19
- <dd class="modified-date">Wed Sep 16 09:43:42 -0600 2009</dd>
20
-
21
-
22
-
23
-
24
- </dl>
25
-
26
- <div class="description">
27
- <h2>Description</h2>
28
- <h3>ZiYa</h3>
29
- <pre>
30
- by Fernand Galiana
31
- git://github.com/derailed/ziya.git
32
- </pre>
33
- <h2>RELEASES</h2>
34
- <pre>
35
- 2.0.0 - Added support for XML/SWF 5.02
36
- 2.0.1 - Additional support for 5.02 + Added donut chart from 5.03
37
- 2.0.2 - Changed logging required to 0.9.X - Update to xml/swf 5.0.4
38
- 2.0.3 - README file update - Thanks to Paul James !
39
- 2.0.4 - Fixed missing encoding on composite urls - published gem on github
40
- 2.0.5 - Fixed merb app support issue
41
- 2.0.6 - Updates to support xml/swf 5.0.5
42
- 2.0.7 - Updates to support xm/swf 5.0.7
43
- - added parameters for the ziya_js helpers ( Tx Brian ! )
44
- - added draw button support
45
- - added chart_note to annotate a chart
46
- - added tooltip chart support
47
- 2.0.8 - Patches to xml/swf/5.0.7 - scroller handle fixe + Stoppped_Scolling js callback
48
- - added support for flash_to_javascript callbacks
49
- - added support ids in composite charts
50
- - various bug fixes
51
- 2.1.0 - Refactor some of the underlying ziya code
52
- - Beef up test suite
53
- - changed component tree
54
- - Added geographical maps support
55
- - Changed the default ziyafy to install charts only by default
56
- Run ziyafy --help for the various options
57
- - Changed add( :composites, ... ) call to take in a hash of hash instead of id/url pair.
58
- So the correct call is now of the form chart.add( :composites, :id =&gt; { :url =&gt; ... } )
59
- You can now add extra attributes that will be passed to the generated image component.
60
- 2.1.4 - Added support for xm/swf 5.0.8
61
- - Removed dependency on logging gem version
62
- 2.1.5 - Added ability to enhance draw and link components in subsequent stylesheets. The old
63
- behavior was to simply override the whole component. Now you can keep enhancing these components
64
- in higher level stylesheets.
65
- </pre>
66
- <h2>DESCRIPTION:</h2>
67
- <p>
68
- ZiYa allows you to easily create interactive charts, gauges and maps for
69
- your web applications. ZiYa leverages flash which offload heavy server side
70
- processing to the client. At the root ZiYa allows you to easily generate an
71
- XML files that will be downloaded to the client for rendering. Using this
72
- gem, you will be able to easily create great looking charts for your
73
- application. You will also be able to use the charts, gauges and maps has a
74
- navigation scheme by embedding various link in the graphical components
75
- thus bringing to the table an ideal scheme for reporting and dashboard like
76
- applications. Your manager will love you for it !!
77
- </p>
78
- <pre>
79
- Blog Site : http://ziya.liquidrail.com
80
- Documentation : http://ziya.liquidrail.com/docs
81
- Forum : http://groups.google.com/group/ziya-plugin
82
- Repositories : git://github.com/derailed/ziya.git
83
- </pre>
84
- <h2>FEATURES:</h2>
85
- <ul>
86
- <li>Supports a wide variety of chart/gauge types, sure to fit your needs.
87
-
88
- </li>
89
- <li>Geographical maps. Maps can be drillable and refreshable
90
-
91
- </li>
92
- <li>Relieves your server load by generating the actual chart on the client
93
- side.
94
-
95
- </li>
96
- <li>Provides for cascading like css-styles for your charts using YAML files.
97
-
98
- </li>
99
- <li>Themes support. You can change the appearance and behavior of any charts by
100
- introducing new themes
101
-
102
- </li>
103
- </ul>
104
- <h2>REQUIREMENTS:</h2>
105
- <pre>
106
- ZiYa depends on the following gems
107
-
108
- * logging
109
- * color
110
-
111
- ZiYa comes pre-bundled with the following packages:
112
- * XML/SWF charts Version 5.07 (http://www.maani.us/xml_charts/index.php)
113
- * XML/SWF gauges Version 1.6 (http://www.maani.us/gauge/index.php)
114
- * DIY Maps (http://backspace.com/mapapp/)
115
-
116
- XML/SWF
117
- * XML/SWF charts are free of charge unless you need to use special features such
118
- as embedded links and printing.
119
-
120
- The package cost $45 per domain, including localhost and is well worth the investment.
121
- A similar fee applies to the gauge framework.
122
-
123
- DIY Map
124
- * This package is free for use in non-commercial applications. For commercial applications,
125
- there is a $20.00 license per domain. I have chosen this package over others, as it supports
126
- the interaction and configuration I was looking for, it seems stable and packs lots of features
127
- for a reasonable price.
128
- </pre>
129
- <h2>INSTALL:</h2>
130
- <pre>
131
- NOTE: You will need to add github as a gem source and thus will need gem version 1.3 or later
132
-
133
- &gt; gem sources -a http://gems.github.com
134
-
135
- &gt; sudo gem install derailed-ziya
136
-
137
- cd to your application directory and issue the following command
138
-
139
- &gt; ziyafy --charts
140
-
141
- This will copy the necessary themes and flash files to run ZiYa in your application
142
- public/charts directory. You can install maps and gauges components as well. Type in
143
-
144
- &gt; ziyafy --help
145
-
146
- To see all available options.
147
- </pre>
148
- <h2>SYNOPSIS:</h2>
149
- <pre>
150
- This gem version requires a client update to flash 9.0 and possibly you will
151
- need to get a new license from XML/SWF &gt;= 5.0, if you want to use
152
- advanced features suck as links and live updates.
153
- </pre>
154
- <h2>Creating a ZiYa chart in a Rails 2.3 application</h2>
155
- <pre>
156
- 1 - Create a ziya.rb file under config/initializers
157
-
158
- ziya.rb:
159
-
160
- # Pull in the ZiYa gem framework
161
- gem 'derailed-ziya', '= 2.1.0'
162
- require 'ziya'
163
-
164
- # Initializes the ZiYa Framework
165
- Ziya.initialize(
166
- :logger =&gt; RAILS_DEFAULT_LOGGER,
167
- :themes_dir =&gt; File.join( File.dirname(__FILE__), %w[.. .. public charts themes])
168
- )
169
-
170
- This will initialize the gem. You can log the output to stdout using the ZiYa bundled logger
171
- or specify a file ie File.join( File.dirname(__FILE__), %w[.. log ziya.log]. If you choose to use the
172
- ZiYa logger, you can specify the :log_level option to either :warn :info :debug or :error.
173
- You will need to specify your themes directory typically located under public/charts/themes or any location
174
- you'll like to choose.
175
-
176
- 3 - Create a chart controller
177
-
178
- blee_controller.rb:
179
-
180
- class BleeController &lt; ApplicationController
181
- # Load ZiYa necessary helpers
182
- helper Ziya::HtmlHelpers::Charts
183
- helper Ziya::YamlHelpers::Charts
184
-
185
- # Callback from the flash movie to get the chart's data
186
- def load_chart
187
- # Create a bar chart with 2 series composed of 3 data points each.
188
- # Chart will be rendered using the default look and feel
189
- chart = Ziya::Charts::Bar.new
190
- chart.add( :axis_category_text, %w[2006 2007 2008] )
191
- chart.add( :series, &quot;Dogs&quot;, [10,20,30] )
192
- chart.add( :series, &quot;Cats&quot;, [5,15,25] )
193
- respond_to do |fmt|
194
- fmt.xml { render :xml =&gt; chart.to_xml }
195
- end
196
- end
197
-
198
- 4 - Create a view
199
-
200
- blee/index.html.erb:
201
-
202
- # Defines the necessary tag to embed a flash movie in your html page.
203
- # This will callback to your controller to fetch the necessary xml.
204
- &lt;%= ziya_chart load_chart_url -%&gt;
205
-
206
- 5 - Create a named route
207
-
208
- config/routes.rb:
209
-
210
- map.load_chart '/blee/load_chart', :controller =&gt; 'blee', :action =&gt; 'load_chart'
211
- </pre>
212
- <h2>Styling a chart</h2>
213
- <h3>Basic Theme</h3>
214
- <pre>
215
- 1 - Create a directory fred in public/charts/themes
216
- 2 - Create a file called column_chart.yml under the fred directory
217
- 2 - Edit column_chart.yml and add the following lines mind the yaml 2 space indentation!
218
-
219
- &lt;%= chart :column %&gt;
220
- &lt;%=comp :axis_category %&gt;
221
- color: ff0000
222
-
223
- 3 - In fred_controller add the following directive to the chart to associate your new theme with the chart
224
-
225
- chart.add( :theme, 'fred' )
226
-
227
- 4 - reload the page and you should now see the red x axis label
228
- </pre>
229
- <h3>Cascading themes</h3>
230
- <pre>
231
- To override the default column chart theme, you may now create an instance theme.
232
-
233
- 1 - Create fred.yml in public/chart/themes/fred
234
-
235
- 2 - Edit fred.yml as follows
236
-
237
- &lt;%= chart :column %&gt;
238
- &lt;%=comp :axis_category %&gt;
239
- color: 00ff00
240
-
241
- 3 - Edit your controller to indicate the instance theme name
242
-
243
- chart = Ziya::Charts.Column.new( nil, 'fred' )
244
-
245
- 4 - Reload the page - The x axis category labels should now be green.
246
-
247
- NOTE: There are lots of setup example for themes in the ziya-galeria app at
248
- git://github.com/derailed/ziya-galeria.git.
249
- The themes component follows the xml/swf xml settings for configuration which
250
- are documented here http://www.maani.us/xml_charts/index.php?menu=Reference
251
- </pre>
252
- <h3>Using theme helpers</h3>
253
- <pre>
254
- Just like rails view template helpers, ZiYa support helpers for theme stylesheets.
255
- In order to use a helper for your chart you will need to use the following steps:
256
-
257
- 1 - Create a ziya directory under app/helpers
258
- 2 - Create a file called fred_helper.rb
259
- 3 - Edit fred_helper.rb and add the following lines
260
-
261
- module Ziya::FredHelper
262
- def random_color
263
- %w[ffaa00 aaff00 aabbff][rand(3)]
264
- end
265
- end
266
-
267
- 4 - Edit you theme stylesheet to call the helper method
268
-
269
- In fred.yml
270
-
271
- &lt;%= chart :column %&gt;
272
- &lt;%=comp :axis_category %&gt;
273
- color: &lt;%= random_color %&gt;
274
-
275
- 5 - Edit you config/initializer/ziya.rb and add the following line
276
-
277
- # Initializes the ZiYa Framework
278
- Ziya.initialize( :logger =&gt; RAILS_DEFAULT_LOGGER,
279
- :helpers_dir =&gt; File.join( File.dirname(__FILE__), %w[.. .. app helpers ziya] ), # &lt;-- New line !!
280
- :themes_dir =&gt; File.join( File.dirname(__FILE__), %w[.. .. public charts themes])
281
- )
282
-
283
- 6 - Restart your app server
284
- 7 - Reload the page serveral time and watch the x axis label color change
285
- </pre>
286
- <h2>Creating a gauge for a rails application</h2>
287
- <pre>
288
- You will need to modify the ziya initializer and add the following directive
289
-
290
- Ziya.initialize(
291
- :logger =&gt; RAILS_DEFAULT_LOGGER,
292
- :designs_dir =&gt; File.join( File.dirname(__FILE__), %w[.. .. public gauges designs] ), # =&gt; Add this !!
293
- :themes_dir =&gt; File.join( File.dirname(__FILE__), %w[.. .. public charts themes]) )
294
-
295
- * fred_controller.rb
296
-
297
- class FredController &lt; ApplicationController
298
- def load_gauge
299
- gauge = Ziya::Gauges::Base.new( LICENCE_KEY, 'my_gauge' )
300
- respond_to do |fmt|
301
- fmt.xml =&gt; { render :xml =&gt; gauge.to_xml }
302
- end
303
- end
304
- end
305
-
306
- * fred/index.html.erb
307
-
308
- &lt;%= ziya_gauge load_gauge_url -%&gt;
309
-
310
- * config/routes.rb
311
-
312
- # Creates a named route for the chart.
313
- map.load_gauge '/fred/load_gauge', :controller =&gt; 'fred', :action =&gt; 'load_gauge'
314
-
315
- * public/gauges/designs/my_gauge.yml
316
-
317
- In the design file you will leverage the components defined in the Ziya::Gauges::Support
318
- package to create your gauge desgins. You gauges can be animated using rotate, scale and
319
- move operations. In this example we will create a volume control that will rotate to the
320
- desired position. In real life you will fetch the volume level from your models to
321
- set the desired position. Take a look at the ZiYa sample application for the various
322
- possibilities. You can think of a gauge as a portable canvas element where you can draw
323
- you own designs using the various components provided ZiYa components ( No need to worry about
324
- various browsers' canvas support )
325
-
326
- &lt;%= gauge :base %&gt;
327
- # specifies the number of ticks to draw in a circular fashion
328
- &lt;%= dial :radial_ticks, :volume %&gt;
329
- x: 100
330
- y: 75
331
- radius: 35
332
- length: 4
333
- start_angle: 235
334
- end_angle: 485
335
- ticks: 10
336
- thickness: 2
337
- color: 000000
338
- # rotates the volume to the desired position.
339
- &lt;%= dial :rotate, :volume_setting %&gt;
340
- x: 100
341
- y: 75
342
- start: 300
343
- span: 160
344
- step: 5
345
- skake_span: 20
346
- shadow_alpha: 20
347
- shadow_x_offset: 3
348
- shadow_y_offset: 3
349
- &lt;%= dials %&gt;
350
- &lt;%= dial :circle, :circle_1 %&gt;
351
- x: 100
352
- y: 75
353
- radius: 30
354
- fill_color: 777777
355
- line_thickness: 5
356
- line_alpha: 75
357
- &lt;%= dial :circle, :circle_2 %&gt;
358
- x: 100
359
- y: 55
360
- radius: 5
361
- fill_alpha: 80
362
- </pre>
363
- <h2>LICENSE:</h2>
364
- <p>
365
- (The MIT License)
366
- </p>
367
- <p>
368
- Copyright &#169; 2008 FIXME (different license?)
369
- </p>
370
- <p>
371
- Permission is hereby granted, free of charge, to any person obtaining a
372
- copy of this software and associated documentation files (the
373
- &#8216;Software&#8217;), to deal in the Software without restriction,
374
- including without limitation the rights to use, copy, modify, merge,
375
- publish, distribute, sublicense, and/or sell copies of the Software, and to
376
- permit persons to whom the Software is furnished to do so, subject to the
377
- following conditions:
378
- </p>
379
- <p>
380
- The above copyright notice and this permission notice shall be included in
381
- all copies or substantial portions of the Software.
382
- </p>
383
- <p>
384
- THE SOFTWARE IS PROVIDED &#8216;AS IS&#8217;, WITHOUT WARRANTY OF ANY KIND,
385
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
386
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
387
- NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
388
- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
389
- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
390
- USE OR OTHER DEALINGS IN THE SOFTWARE.
391
- </p>
392
-
393
- </div>
394
- </div>
395
-
396
- <div id="validator-badges">
397
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
398
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
399
- Rdoc Generator</a></small>.</p>
400
- </div>
401
- </body>
402
- </html>
403
-