reportbuilder 1.2.5 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (392) hide show
  1. data.tar.gz.sig +0 -0
  2. data/History.txt +6 -0
  3. data/Manifest.txt +377 -0
  4. data/data/flot/API.txt +1024 -0
  5. data/data/flot/FAQ.txt +71 -0
  6. data/data/flot/LICENSE.txt +22 -0
  7. data/data/flot/Makefile +15 -0
  8. data/data/flot/NEWS.txt +340 -0
  9. data/data/flot/PLUGINS.txt +105 -0
  10. data/data/flot/README.txt +81 -0
  11. data/data/flot/examples/ajax.html +143 -0
  12. data/data/flot/examples/annotating.html +75 -0
  13. data/data/flot/examples/arrow-down.gif +0 -0
  14. data/data/flot/examples/arrow-left.gif +0 -0
  15. data/data/flot/examples/arrow-right.gif +0 -0
  16. data/data/flot/examples/arrow-up.gif +0 -0
  17. data/data/flot/examples/basic.html +38 -0
  18. data/data/flot/examples/data-eu-gdp-growth-1.json +4 -0
  19. data/data/flot/examples/data-eu-gdp-growth-2.json +4 -0
  20. data/data/flot/examples/data-eu-gdp-growth-3.json +4 -0
  21. data/data/flot/examples/data-eu-gdp-growth-4.json +4 -0
  22. data/data/flot/examples/data-eu-gdp-growth-5.json +4 -0
  23. data/data/flot/examples/data-eu-gdp-growth.json +4 -0
  24. data/data/flot/examples/data-japan-gdp-growth.json +4 -0
  25. data/data/flot/examples/data-usa-gdp-growth.json +4 -0
  26. data/data/flot/examples/dual-axis.html +39 -0
  27. data/data/flot/examples/graph-types.html +75 -0
  28. data/data/flot/examples/hs-2004-27-a-large_web.jpg +0 -0
  29. data/data/flot/examples/image.html +45 -0
  30. data/data/flot/examples/index.html +43 -0
  31. data/data/flot/examples/interacting.html +93 -0
  32. data/data/flot/examples/layout.css +6 -0
  33. data/data/flot/examples/navigate.html +118 -0
  34. data/data/flot/examples/selection.html +114 -0
  35. data/data/flot/examples/setting-options.html +65 -0
  36. data/data/flot/examples/stacking.html +77 -0
  37. data/data/flot/examples/thresholding.html +54 -0
  38. data/data/flot/examples/time.html +71 -0
  39. data/data/flot/examples/tracking.html +95 -0
  40. data/data/flot/examples/turning-series.html +98 -0
  41. data/data/flot/examples/visitors.html +90 -0
  42. data/data/flot/examples/zooming.html +98 -0
  43. data/data/flot/excanvas.js +1427 -0
  44. data/data/flot/excanvas.min.js +1 -0
  45. data/data/flot/jquery.colorhelpers.js +174 -0
  46. data/data/flot/jquery.colorhelpers.min.js +1 -0
  47. data/data/flot/jquery.flot.crosshair.js +156 -0
  48. data/data/flot/jquery.flot.crosshair.min.js +1 -0
  49. data/data/flot/jquery.flot.image.js +237 -0
  50. data/data/flot/jquery.flot.image.min.js +1 -0
  51. data/data/flot/jquery.flot.js +2119 -0
  52. data/data/flot/jquery.flot.min.js +1 -0
  53. data/data/flot/jquery.flot.navigate.js +272 -0
  54. data/data/flot/jquery.flot.navigate.min.js +1 -0
  55. data/data/flot/jquery.flot.selection.js +299 -0
  56. data/data/flot/jquery.flot.selection.min.js +1 -0
  57. data/data/flot/jquery.flot.stack.js +152 -0
  58. data/data/flot/jquery.flot.stack.min.js +1 -0
  59. data/data/flot/jquery.flot.threshold.js +103 -0
  60. data/data/flot/jquery.flot.threshold.min.js +1 -0
  61. data/data/flot/jquery.js +4376 -0
  62. data/data/flot/jquery.min.js +19 -0
  63. data/data/jqplot/MIT-LICENSE.txt +21 -0
  64. data/data/jqplot/README.txt +73 -0
  65. data/data/jqplot/changes.txt +261 -0
  66. data/data/jqplot/copyright.txt +33 -0
  67. data/data/jqplot/docs/files/MIT-LICENSE-txt.html +39 -0
  68. data/data/jqplot/docs/files/changes-txt.html +39 -0
  69. data/data/jqplot/docs/files/gpl-2-0-txt.html +39 -0
  70. data/data/jqplot/docs/files/images/background.jpg +0 -0
  71. data/data/jqplot/docs/files/images/basicline.png +0 -0
  72. data/data/jqplot/docs/files/images/basiclogaxis.png +0 -0
  73. data/data/jqplot/docs/files/images/basiclogoptions.png +0 -0
  74. data/data/jqplot/docs/files/images/basicoptions.png +0 -0
  75. data/data/jqplot/docs/files/images/dualaxis.png +0 -0
  76. data/data/jqplot/docs/files/images/logo.jpg +0 -0
  77. data/data/jqplot/docs/files/images/navdocs.png +0 -0
  78. data/data/jqplot/docs/files/images/navdocsover.png +0 -0
  79. data/data/jqplot/docs/files/images/navdownload.png +0 -0
  80. data/data/jqplot/docs/files/images/navdownloadover.png +0 -0
  81. data/data/jqplot/docs/files/images/navexamples.png +0 -0
  82. data/data/jqplot/docs/files/images/navexamplesover.png +0 -0
  83. data/data/jqplot/docs/files/images/navhome.png +0 -0
  84. data/data/jqplot/docs/files/images/navhomeover.png +0 -0
  85. data/data/jqplot/docs/files/images/new.png +0 -0
  86. data/data/jqplot/docs/files/images/sample3.png +0 -0
  87. data/data/jqplot/docs/files/images/samplesm.png +0 -0
  88. data/data/jqplot/docs/files/jqPlotCssStyling-txt.html +39 -0
  89. data/data/jqplot/docs/files/jqPlotOptions-txt.html +292 -0
  90. data/data/jqplot/docs/files/jqplot-axisLabelRenderer-js.html +47 -0
  91. data/data/jqplot/docs/files/jqplot-axisTickRenderer-js.html +69 -0
  92. data/data/jqplot/docs/files/jqplot-canvasGridRenderer-js.html +39 -0
  93. data/data/jqplot/docs/files/jqplot-core-js.html +353 -0
  94. data/data/jqplot/docs/files/jqplot-divTitleRenderer-js.html +39 -0
  95. data/data/jqplot/docs/files/jqplot-lineRenderer-js.html +53 -0
  96. data/data/jqplot/docs/files/jqplot-linearAxisRenderer-js.html +39 -0
  97. data/data/jqplot/docs/files/jqplot-markerRenderer-js.html +65 -0
  98. data/data/jqplot/docs/files/jqplot-shadowRenderer-js.html +61 -0
  99. data/data/jqplot/docs/files/jqplot-shapeRenderer-js.html +63 -0
  100. data/data/jqplot/docs/files/jqplot-themeEngine-js.html +190 -0
  101. data/data/jqplot/docs/files/optionsTutorial-txt.html +119 -0
  102. data/data/jqplot/docs/files/plugins/jqplot-BezierCurveRenderer-js.html +45 -0
  103. data/data/jqplot/docs/files/plugins/jqplot-barRenderer-js.html +67 -0
  104. data/data/jqplot/docs/files/plugins/jqplot-blockRenderer-js.html +53 -0
  105. data/data/jqplot/docs/files/plugins/jqplot-bubbleRenderer-js.html +71 -0
  106. data/data/jqplot/docs/files/plugins/jqplot-canvasAxisLabelRenderer-js.html +63 -0
  107. data/data/jqplot/docs/files/plugins/jqplot-canvasAxisTickRenderer-js.html +79 -0
  108. data/data/jqplot/docs/files/plugins/jqplot-categoryAxisRenderer-js.html +46 -0
  109. data/data/jqplot/docs/files/plugins/jqplot-cursor-js.html +91 -0
  110. data/data/jqplot/docs/files/plugins/jqplot-dateAxisRenderer-js.html +93 -0
  111. data/data/jqplot/docs/files/plugins/jqplot-donutRenderer-js.html +98 -0
  112. data/data/jqplot/docs/files/plugins/jqplot-dragable-js.html +45 -0
  113. data/data/jqplot/docs/files/plugins/jqplot-enhancedLegendRenderer-js.html +49 -0
  114. data/data/jqplot/docs/files/plugins/jqplot-funnelRenderer-js.html +87 -0
  115. data/data/jqplot/docs/files/plugins/jqplot-highlighter-js.html +80 -0
  116. data/data/jqplot/docs/files/plugins/jqplot-logAxisRenderer-js.html +45 -0
  117. data/data/jqplot/docs/files/plugins/jqplot-mekkoAxisRenderer-js.html +49 -0
  118. data/data/jqplot/docs/files/plugins/jqplot-mekkoRenderer-js.html +62 -0
  119. data/data/jqplot/docs/files/plugins/jqplot-meterGaugeRenderer-js.html +103 -0
  120. data/data/jqplot/docs/files/plugins/jqplot-ohlcRenderer-js.html +65 -0
  121. data/data/jqplot/docs/files/plugins/jqplot-pieRenderer-js.html +93 -0
  122. data/data/jqplot/docs/files/plugins/jqplot-pointLabels-js.html +72 -0
  123. data/data/jqplot/docs/files/plugins/jqplot-trendline-js.html +67 -0
  124. data/data/jqplot/docs/files/usage-txt.html +58 -0
  125. data/data/jqplot/docs/index.html +1 -0
  126. data/data/jqplot/docs/index/Classes.html +58 -0
  127. data/data/jqplot/docs/index/Files.html +34 -0
  128. data/data/jqplot/docs/index/Functions.html +66 -0
  129. data/data/jqplot/docs/index/General.html +46 -0
  130. data/data/jqplot/docs/index/General2.html +46 -0
  131. data/data/jqplot/docs/index/General3.html +46 -0
  132. data/data/jqplot/docs/index/General4.html +50 -0
  133. data/data/jqplot/docs/index/General5.html +34 -0
  134. data/data/jqplot/docs/index/General6.html +58 -0
  135. data/data/jqplot/docs/index/Hooks.html +46 -0
  136. data/data/jqplot/docs/index/Properties.html +50 -0
  137. data/data/jqplot/docs/index/Properties2.html +50 -0
  138. data/data/jqplot/docs/index/Properties3.html +50 -0
  139. data/data/jqplot/docs/index/Properties4.html +34 -0
  140. data/data/jqplot/docs/index/Properties5.html +58 -0
  141. data/data/jqplot/docs/javascript/main.js +836 -0
  142. data/data/jqplot/docs/javascript/searchdata.js +182 -0
  143. data/data/jqplot/docs/search/ClassesA.html +20 -0
  144. data/data/jqplot/docs/search/ClassesG.html +20 -0
  145. data/data/jqplot/docs/search/ClassesJ.html +20 -0
  146. data/data/jqplot/docs/search/ClassesL.html +20 -0
  147. data/data/jqplot/docs/search/ClassesS.html +20 -0
  148. data/data/jqplot/docs/search/ClassesSymbols.html +20 -0
  149. data/data/jqplot/docs/search/ClassesT.html +20 -0
  150. data/data/jqplot/docs/search/FilesJ.html +20 -0
  151. data/data/jqplot/docs/search/FunctionsC.html +20 -0
  152. data/data/jqplot/docs/search/FunctionsD.html +20 -0
  153. data/data/jqplot/docs/search/FunctionsG.html +20 -0
  154. data/data/jqplot/docs/search/FunctionsI.html +20 -0
  155. data/data/jqplot/docs/search/FunctionsM.html +20 -0
  156. data/data/jqplot/docs/search/FunctionsN.html +20 -0
  157. data/data/jqplot/docs/search/FunctionsR.html +20 -0
  158. data/data/jqplot/docs/search/FunctionsS.html +20 -0
  159. data/data/jqplot/docs/search/FunctionsZ.html +20 -0
  160. data/data/jqplot/docs/search/GeneralA.html +20 -0
  161. data/data/jqplot/docs/search/GeneralB.html +20 -0
  162. data/data/jqplot/docs/search/GeneralC.html +20 -0
  163. data/data/jqplot/docs/search/GeneralD.html +20 -0
  164. data/data/jqplot/docs/search/GeneralE.html +20 -0
  165. data/data/jqplot/docs/search/GeneralF.html +20 -0
  166. data/data/jqplot/docs/search/GeneralG.html +20 -0
  167. data/data/jqplot/docs/search/GeneralH.html +20 -0
  168. data/data/jqplot/docs/search/GeneralI.html +20 -0
  169. data/data/jqplot/docs/search/GeneralJ.html +20 -0
  170. data/data/jqplot/docs/search/GeneralL.html +20 -0
  171. data/data/jqplot/docs/search/GeneralM.html +20 -0
  172. data/data/jqplot/docs/search/GeneralN.html +20 -0
  173. data/data/jqplot/docs/search/GeneralO.html +20 -0
  174. data/data/jqplot/docs/search/GeneralP.html +20 -0
  175. data/data/jqplot/docs/search/GeneralR.html +20 -0
  176. data/data/jqplot/docs/search/GeneralS.html +20 -0
  177. data/data/jqplot/docs/search/GeneralSymbols.html +20 -0
  178. data/data/jqplot/docs/search/GeneralT.html +20 -0
  179. data/data/jqplot/docs/search/GeneralU.html +20 -0
  180. data/data/jqplot/docs/search/GeneralV.html +20 -0
  181. data/data/jqplot/docs/search/GeneralW.html +20 -0
  182. data/data/jqplot/docs/search/GeneralX.html +20 -0
  183. data/data/jqplot/docs/search/GeneralY.html +20 -0
  184. data/data/jqplot/docs/search/GeneralZ.html +20 -0
  185. data/data/jqplot/docs/search/HooksA.html +20 -0
  186. data/data/jqplot/docs/search/HooksE.html +20 -0
  187. data/data/jqplot/docs/search/HooksJ.html +20 -0
  188. data/data/jqplot/docs/search/HooksP.html +20 -0
  189. data/data/jqplot/docs/search/NoResults.html +15 -0
  190. data/data/jqplot/docs/search/PropertiesA.html +20 -0
  191. data/data/jqplot/docs/search/PropertiesB.html +20 -0
  192. data/data/jqplot/docs/search/PropertiesC.html +20 -0
  193. data/data/jqplot/docs/search/PropertiesD.html +20 -0
  194. data/data/jqplot/docs/search/PropertiesE.html +20 -0
  195. data/data/jqplot/docs/search/PropertiesF.html +20 -0
  196. data/data/jqplot/docs/search/PropertiesG.html +20 -0
  197. data/data/jqplot/docs/search/PropertiesH.html +20 -0
  198. data/data/jqplot/docs/search/PropertiesI.html +20 -0
  199. data/data/jqplot/docs/search/PropertiesL.html +20 -0
  200. data/data/jqplot/docs/search/PropertiesM.html +20 -0
  201. data/data/jqplot/docs/search/PropertiesN.html +20 -0
  202. data/data/jqplot/docs/search/PropertiesO.html +20 -0
  203. data/data/jqplot/docs/search/PropertiesP.html +20 -0
  204. data/data/jqplot/docs/search/PropertiesR.html +20 -0
  205. data/data/jqplot/docs/search/PropertiesS.html +20 -0
  206. data/data/jqplot/docs/search/PropertiesT.html +20 -0
  207. data/data/jqplot/docs/search/PropertiesU.html +20 -0
  208. data/data/jqplot/docs/search/PropertiesV.html +20 -0
  209. data/data/jqplot/docs/search/PropertiesW.html +20 -0
  210. data/data/jqplot/docs/search/PropertiesX.html +20 -0
  211. data/data/jqplot/docs/search/PropertiesY.html +20 -0
  212. data/data/jqplot/docs/search/PropertiesZ.html +20 -0
  213. data/data/jqplot/docs/styles/1.css +767 -0
  214. data/data/jqplot/docs/styles/2.css +174 -0
  215. data/data/jqplot/docs/styles/main.css +2 -0
  216. data/data/jqplot/examples/.htaccess +1 -0
  217. data/data/jqplot/examples/OHLC.html +333 -0
  218. data/data/jqplot/examples/OHLC2.html +193 -0
  219. data/data/jqplot/examples/area.html +107 -0
  220. data/data/jqplot/examples/axisLabel.html +117 -0
  221. data/data/jqplot/examples/axisLabelsRotatedText.html +131 -0
  222. data/data/jqplot/examples/axisLabelsRotatedText2.html +155 -0
  223. data/data/jqplot/examples/barLinePieStack.html +198 -0
  224. data/data/jqplot/examples/barMissingValues.html +64 -0
  225. data/data/jqplot/examples/barTest.html +283 -0
  226. data/data/jqplot/examples/barTest2.html +74 -0
  227. data/data/jqplot/examples/bezierCurve.html +96 -0
  228. data/data/jqplot/examples/blockPlot.html +149 -0
  229. data/data/jqplot/examples/bubbleChart2.html +253 -0
  230. data/data/jqplot/examples/bubblechart.html +69 -0
  231. data/data/jqplot/examples/catchError.html +53 -0
  232. data/data/jqplot/examples/categoryHorizontalBar.html +81 -0
  233. data/data/jqplot/examples/categoryVsLinearAxes.html +74 -0
  234. data/data/jqplot/examples/chartInTable.html +33 -0
  235. data/data/jqplot/examples/customHighlighterCursorTrendline.html +72 -0
  236. data/data/jqplot/examples/customPieTests.html +73 -0
  237. data/data/jqplot/examples/dataLabels.html +192 -0
  238. data/data/jqplot/examples/dataTracking.html +91 -0
  239. data/data/jqplot/examples/donutTest.html +89 -0
  240. data/data/jqplot/examples/donutTest.js +96 -0
  241. data/data/jqplot/examples/examples.css +19 -0
  242. data/data/jqplot/examples/fillToZero.html +126 -0
  243. data/data/jqplot/examples/filledLine.html +78 -0
  244. data/data/jqplot/examples/filledLineCategoryAxis.html +80 -0
  245. data/data/jqplot/examples/funnelTest.html +82 -0
  246. data/data/jqplot/examples/funnelTest.js +74 -0
  247. data/data/jqplot/examples/gridCustomization.html +56 -0
  248. data/data/jqplot/examples/hiddenPlot.html +216 -0
  249. data/data/jqplot/examples/highlighter.html +95 -0
  250. data/data/jqplot/examples/highlighter2.html +63 -0
  251. data/data/jqplot/examples/horizontalLine.html +51 -0
  252. data/data/jqplot/examples/intticks.html +178 -0
  253. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  254. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  255. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  256. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  257. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  258. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  259. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  260. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  261. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  262. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  263. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  264. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  265. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  266. data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  267. data/data/jqplot/examples/jquery-ui/css/ui-lightness/jquery-ui-1.8.1.custom.css +486 -0
  268. data/data/jqplot/examples/jquery-ui/js/jquery-1.4.2.min.js +154 -0
  269. data/data/jqplot/examples/jquery-ui/js/jquery-ui-1.8.1.custom.min.js +756 -0
  270. data/data/jqplot/examples/legendLabels.html +205 -0
  271. data/data/jqplot/examples/legendLabels2.html +228 -0
  272. data/data/jqplot/examples/liz.zip +0 -0
  273. data/data/jqplot/examples/markerStyles.html +44 -0
  274. data/data/jqplot/examples/mekkoChart.html +217 -0
  275. data/data/jqplot/examples/meterGauge.html +132 -0
  276. data/data/jqplot/examples/meterGauge2.html +158 -0
  277. data/data/jqplot/examples/minMaxLines.html +61 -0
  278. data/data/jqplot/examples/missingValues.html +119 -0
  279. data/data/jqplot/examples/multiAxesRotatedText.html +70 -0
  280. data/data/jqplot/examples/multipleBarColors.html +149 -0
  281. data/data/jqplot/examples/multipleLines.html +47 -0
  282. data/data/jqplot/examples/multipleYAxes.html +85 -0
  283. data/data/jqplot/examples/nav.inc +35 -0
  284. data/data/jqplot/examples/pieTest.html +77 -0
  285. data/data/jqplot/examples/pieTest2.html +87 -0
  286. data/data/jqplot/examples/pieTest2.js +80 -0
  287. data/data/jqplot/examples/pieTest3.html +100 -0
  288. data/data/jqplot/examples/pointLabels.html +94 -0
  289. data/data/jqplot/examples/pointLabels2.html +47 -0
  290. data/data/jqplot/examples/prefix.html +90 -0
  291. data/data/jqplot/examples/resizablePlot.html +150 -0
  292. data/data/jqplot/examples/rotatedTickLabels.html +61 -0
  293. data/data/jqplot/examples/rotatedTickLabelsZoom.html +68 -0
  294. data/data/jqplot/examples/seriesCanvasReorder.html +93 -0
  295. data/data/jqplot/examples/seriesUpdate.html +123 -0
  296. data/data/jqplot/examples/shadowTests.html +133 -0
  297. data/data/jqplot/examples/singlePoint.html +70 -0
  298. data/data/jqplot/examples/sparkLine.html +48 -0
  299. data/data/jqplot/examples/stackedBar2.html +104 -0
  300. data/data/jqplot/examples/stackedBar3.html +76 -0
  301. data/data/jqplot/examples/stackedBarCategoryVsLinearAxes.html +121 -0
  302. data/data/jqplot/examples/stackedCategoryAxis.html +89 -0
  303. data/data/jqplot/examples/stackedFilledLine.html +77 -0
  304. data/data/jqplot/examples/stackedLine.html +56 -0
  305. data/data/jqplot/examples/test2.html +64 -0
  306. data/data/jqplot/examples/theming.html +483 -0
  307. data/data/jqplot/examples/trendlineDragableCustomization.html +79 -0
  308. data/data/jqplot/examples/verticalLine.html +52 -0
  309. data/data/jqplot/examples/waterfall.html +135 -0
  310. data/data/jqplot/examples/zoom1.html +125 -0
  311. data/data/jqplot/examples/zoom2.html +73 -0
  312. data/data/jqplot/examples/zoom3.html +69 -0
  313. data/data/jqplot/examples/zoomOptions.html +101 -0
  314. data/data/jqplot/examples/zoomProxy.html +108 -0
  315. data/data/jqplot/excanvas.js +1416 -0
  316. data/data/jqplot/excanvas.min.js +35 -0
  317. data/data/jqplot/gpl-2.0.txt +280 -0
  318. data/data/jqplot/jqPlotCssStyling.txt +53 -0
  319. data/data/jqplot/jqPlotOptions.txt +276 -0
  320. data/data/jqplot/jquery-1.4.1.min.js +152 -0
  321. data/data/jqplot/jquery-1.4.2.min.js +154 -0
  322. data/data/jqplot/jquery.jqplot.css +212 -0
  323. data/data/jqplot/jquery.jqplot.js +7004 -0
  324. data/data/jqplot/jquery.jqplot.min.css +1 -0
  325. data/data/jqplot/jquery.jqplot.min.js +34 -0
  326. data/data/jqplot/optionsTutorial.txt +239 -0
  327. data/data/jqplot/plugins/jqplot.BezierCurveRenderer.js +300 -0
  328. data/data/jqplot/plugins/jqplot.BezierCurveRenderer.min.js +34 -0
  329. data/data/jqplot/plugins/jqplot.barRenderer.js +629 -0
  330. data/data/jqplot/plugins/jqplot.barRenderer.min.js +34 -0
  331. data/data/jqplot/plugins/jqplot.blockRenderer.js +221 -0
  332. data/data/jqplot/plugins/jqplot.blockRenderer.min.js +34 -0
  333. data/data/jqplot/plugins/jqplot.bubbleRenderer.js +724 -0
  334. data/data/jqplot/plugins/jqplot.bubbleRenderer.min.js +34 -0
  335. data/data/jqplot/plugins/jqplot.canvasAxisLabelRenderer.js +187 -0
  336. data/data/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js +34 -0
  337. data/data/jqplot/plugins/jqplot.canvasAxisTickRenderer.js +226 -0
  338. data/data/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js +34 -0
  339. data/data/jqplot/plugins/jqplot.canvasTextRenderer.js +408 -0
  340. data/data/jqplot/plugins/jqplot.canvasTextRenderer.min.js +34 -0
  341. data/data/jqplot/plugins/jqplot.categoryAxisRenderer.js +630 -0
  342. data/data/jqplot/plugins/jqplot.categoryAxisRenderer.min.js +34 -0
  343. data/data/jqplot/plugins/jqplot.cursor.js +952 -0
  344. data/data/jqplot/plugins/jqplot.cursor.min.js +34 -0
  345. data/data/jqplot/plugins/jqplot.dateAxisRenderer.js +313 -0
  346. data/data/jqplot/plugins/jqplot.dateAxisRenderer.min.js +34 -0
  347. data/data/jqplot/plugins/jqplot.donutRenderer.js +876 -0
  348. data/data/jqplot/plugins/jqplot.donutRenderer.min.js +34 -0
  349. data/data/jqplot/plugins/jqplot.dragable.js +206 -0
  350. data/data/jqplot/plugins/jqplot.dragable.min.js +34 -0
  351. data/data/jqplot/plugins/jqplot.enhancedLegendRenderer.js +186 -0
  352. data/data/jqplot/plugins/jqplot.enhancedLegendRenderer.min.js +34 -0
  353. data/data/jqplot/plugins/jqplot.funnelRenderer.js +918 -0
  354. data/data/jqplot/plugins/jqplot.funnelRenderer.min.js +34 -0
  355. data/data/jqplot/plugins/jqplot.highlighter.js +374 -0
  356. data/data/jqplot/plugins/jqplot.highlighter.min.js +34 -0
  357. data/data/jqplot/plugins/jqplot.logAxisRenderer.js +434 -0
  358. data/data/jqplot/plugins/jqplot.logAxisRenderer.min.js +34 -0
  359. data/data/jqplot/plugins/jqplot.mekkoAxisRenderer.js +595 -0
  360. data/data/jqplot/plugins/jqplot.mekkoAxisRenderer.min.js +34 -0
  361. data/data/jqplot/plugins/jqplot.mekkoRenderer.js +419 -0
  362. data/data/jqplot/plugins/jqplot.mekkoRenderer.min.js +34 -0
  363. data/data/jqplot/plugins/jqplot.meterGaugeRenderer.js +1112 -0
  364. data/data/jqplot/plugins/jqplot.meterGaugeRenderer.min.js +34 -0
  365. data/data/jqplot/plugins/jqplot.ohlcRenderer.js +343 -0
  366. data/data/jqplot/plugins/jqplot.ohlcRenderer.min.js +34 -0
  367. data/data/jqplot/plugins/jqplot.pieRenderer.js +749 -0
  368. data/data/jqplot/plugins/jqplot.pieRenderer.min.js +34 -0
  369. data/data/jqplot/plugins/jqplot.pointLabels.js +325 -0
  370. data/data/jqplot/plugins/jqplot.pointLabels.min.js +34 -0
  371. data/data/jqplot/plugins/jqplot.trendline.js +208 -0
  372. data/data/jqplot/plugins/jqplot.trendline.min.js +34 -0
  373. data/data/jqplot/usage.txt +119 -0
  374. data/examples/graph.rb +17 -0
  375. data/lib/reportbuilder.rb +21 -2
  376. data/lib/reportbuilder/builder.rb +31 -3
  377. data/lib/reportbuilder/builder/html.rb +39 -5
  378. data/lib/reportbuilder/graph.rb +252 -0
  379. data/lib/reportbuilder/graph/html_flot.rb +149 -0
  380. data/lib/reportbuilder/graph/html_jqplot.rb +145 -0
  381. data/lib/reportbuilder/image.rb +178 -78
  382. data/lib/reportbuilder/table/rtfbuilder.rb +2 -2
  383. data/test/helper_test.rb +6 -7
  384. data/test/test_graph.rb +44 -0
  385. data/test/test_graph_html_flot.rb +36 -0
  386. data/test/test_graph_html_jqplot.rb +36 -0
  387. data/test/test_html.rb +4 -7
  388. data/test/test_image.rb +35 -7
  389. data/test/test_reportbuilder.rb +4 -6
  390. data/test/test_table.rb +0 -2
  391. metadata +402 -7
  392. metadata.gz.sig +4 -2
@@ -0,0 +1,74 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6
+ <!-- Use Compatibility mode in IE -->
7
+ <title>Bar Charts</title>
8
+ <!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
9
+
10
+ <link rel="stylesheet" type="text/css" href="../jquery.jqplot.css" />
11
+ <link rel="stylesheet" type="text/css" href="examples.css" />
12
+
13
+ <!-- BEGIN: load jquery -->
14
+ <script language="javascript" type="text/javascript" src="../jquery-1.4.2.js"></script>
15
+ <!-- END: load jquery -->
16
+
17
+ <!-- BEGIN: load jqplot -->
18
+ <script language="javascript" type="text/javascript" src="../jquery.jqplot.js"></script>
19
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.barRenderer.js"></script>
20
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.js"></script>
21
+ <!-- END: load jqplot -->
22
+
23
+ <style type="text/css">
24
+ .jqplot-target {
25
+ margin-bottom: 2em;
26
+ }
27
+
28
+ pre {
29
+ background: #D8F4DC;
30
+ border: 1px solid rgb(200, 200, 200);
31
+ padding-top: 1em;
32
+ padding-left: 3em;
33
+ padding-bottom: 1em;
34
+ margin-top: 1em;
35
+ margin-bottom: 4em;
36
+
37
+ }
38
+
39
+ p {
40
+ margin: 2em 0;
41
+ }
42
+
43
+ .note {
44
+ font-size: 0.8em;
45
+ }
46
+ </style>
47
+
48
+ <script class="code" type="text/javascript">
49
+ $(document).ready(function(){
50
+ var s1 = [2, 6, 7, 10];
51
+ var ticks = ['a', 'b', 'c', 'd'];
52
+
53
+ plot1 = $.jqplot('chart1', [s1], {
54
+ seriesDefaults:{
55
+ renderer:$.jqplot.BarRenderer
56
+ },
57
+ axes: {
58
+ xaxis: {
59
+ renderer: $.jqplot.CategoryAxisRenderer,
60
+ ticks: ticks
61
+ }
62
+ }
63
+ });
64
+ });
65
+ </script>
66
+
67
+ </head>
68
+ <body>
69
+ <?php include "nav.inc"; ?>
70
+
71
+ <div id="chart1" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
72
+
73
+ </body>
74
+ </html>
@@ -0,0 +1,96 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <link rel="stylesheet" type="text/css" href="../jquery.jqplot.css" />
6
+ <link rel="stylesheet" type="text/css" href="examples.css" />
7
+
8
+ <!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
9
+ <!-- BEGIN: load jquery -->
10
+ <script language="javascript" type="text/javascript" src="../jquery-1.4.2.min.js"></script>
11
+
12
+ <!-- END: load jquery -->
13
+
14
+ <!-- BEGIN: load jqplot -->
15
+ <script language="javascript" type="text/javascript" src="../jquery.jqplot.js"></script>
16
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.bezierCurveRenderer.js"></script>
17
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.js"></script>
18
+
19
+ <style type="text/css">
20
+ p { margin-top:30px;}
21
+ </style>
22
+
23
+ <script type="text/javascript" language="javascript">
24
+
25
+ $(document).ready(function(){
26
+ $.jqplot.config.enablePlugins = true;
27
+
28
+ var line1 = [[0, 1], [2, 2, 4, .5, 6, 0]];
29
+ var line2 = [[0, 5], [2, 6, 5, 1, 6, .5]];
30
+ var line3 = [[0, 6], [3, 9, 4, 8, 6, 3]];
31
+ var line4 = [[0, 7], [2, 9, 4, 8, 6, 6]];
32
+ var line5 = [[0, 8], [3, 9, 4, 8, 6, 8]];
33
+
34
+ plot1 = $.jqplot("chart1", [line1,line2, line3, line4, line5], {
35
+ seriesDefaults: {renderer:$.jqplot.BezierCurveRenderer},
36
+ legend:{show:true}
37
+ });
38
+
39
+ var s1 = [[0, 1], [2, 2], [4, .5], [6, 0]];
40
+ var s2 = [[0, 5], [2, 6], [5, 1], [6, .5]];
41
+ var s3 = [[0, 6], [3, 9], [4, 8], [6, 3]];
42
+ var s4 = [[0, 7], [2, 9], [4, 8], [6, 6]];
43
+ var s5 = [[0, 8], [3, 9], [4, 8], [6, 8]];
44
+
45
+ plot2 = $.jqplot("chart2", [s1,s2, s3, s4, s5], {
46
+ seriesDefaults: {renderer:$.jqplot.BezierCurveRenderer},
47
+ legend:{show:true}
48
+ });
49
+
50
+ var s1 = [['01/01/2010', 1], ['02/01/2010', 2], ['03/01/2010', .5], ['04/01/2010', 0]];
51
+ var s2 = [['01/01/2010', 5], ['02/01/2010', 6], ['03/01/2010', 1], ['04/01/2010', .5]];
52
+ var s3 = [['01/01/2010', 6], ['02/01/2010', 9], ['03/01/2010', 8], ['04/01/2010', 3]];
53
+ var s4 = [['01/01/2010', 7], ['02/01/2010', 9], ['03/01/2010', 8], ['04/01/2010', 6]];
54
+ var s5 = [['01/01/2010', 8], ['02/01/2010', 9], ['03/01/2010', 8], ['04/01/2010', 8]];
55
+
56
+ plot3 = $.jqplot("chart3", [s1,s2, s3, s4, s5], {
57
+ seriesDefaults: {renderer:$.jqplot.BezierCurveRenderer},
58
+ axes:{xaxis:{renderer:$.jqplot.DateAxisRenderer, numberTicks:4}},
59
+ legend:{show:true}
60
+ });
61
+ });
62
+
63
+
64
+ </script>
65
+ </head>
66
+ <body>
67
+ <?php include "nav.inc"; ?>
68
+ <p>The Bezier curve renderer can distinguish between two different input data formats. This first example has the data passed in as 2 data points, the second one defining the Bezier curve to the end point. With this format, non-default axes renderers will require specifying the minimum and maximum on the axes.</p>
69
+ <pre>
70
+ [[xstart, ystart], [cp1x, cp1y, cp2x, cp2y, xend, yend]];
71
+ </pre>
72
+ <div id="chart1" class='plot' style="margin-top:20px; margin-left:20px; width:400px; height:300px;"></div>
73
+ <p>This second example has the data broken out into 4 points, which will be assembled to define the Bezier Curve. With this format, any axes renderer can be used without explicitly specifying the minimum and maximum.</p>
74
+ <pre>
75
+ [[xstart, ystart], [cp1x, cp1y], [cp2x, cp2y], [xend, yend]];
76
+ </pre>
77
+ <div id="chart2" class='plot' style="margin-top:20px; margin-left:20px; width:400px; height:300px;"></div>
78
+ <p> Here is an example using a date axis renderer with Bezier curves. The data looks like:</p>
79
+ <pre>
80
+ [['01/01/2010', 6], ['02/01/2010', 9], ['03/01/2010', 8], ['04/01/2010', 3]]
81
+ </pre>
82
+
83
+ <div id="chart3" class='plot' style="margin-top:20px; margin-left:20px; width:400px; height:300px;"></div>
84
+
85
+ <p>Note that jqPlot converts the datetime strings into timestamps internally, so further explicit modification of the x value (date value) of series data points will have to be with integer time stamp data. So, you would do something like:</p>
86
+
87
+ <pre>
88
+ plot3.series[2].data
89
+ [[1262322000000, 6], [1265000400000, 9], [1267419600000, 8], [1270094400000, 3]]
90
+ plot3.series[2].data[1][0] = 1265900400000
91
+ plot3.drawSeries(2)
92
+ </pre>
93
+ </body>
94
+
95
+
96
+ </html>
@@ -0,0 +1,149 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6
+ <title>Simple Test</title>
7
+ <!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
8
+
9
+ <link rel="stylesheet" type="text/css" href="../jquery.jqplot.css" />
10
+ <link rel="stylesheet" type="text/css" href="examples.css" />
11
+
12
+ <!-- BEGIN: load jquery -->
13
+ <script language="javascript" type="text/javascript" src="../jquery-1.4.2.js"></script>
14
+ <!-- END: load jquery -->
15
+
16
+ <!-- BEGIN: load jqplot -->
17
+ <script language="javascript" type="text/javascript" src="../jquery.jqplot.js"></script>
18
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.blockRenderer.js"></script>
19
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.enhancedLegendRenderer.js"></script>
20
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.pointLabels.js"></script>
21
+ <!-- END: load jqplot -->
22
+
23
+
24
+ <script language="javascript" type="text/javascript">
25
+ $(document).ready(function(){
26
+ $.jqplot.config.enablePlugins = true;
27
+
28
+ s1 = [[0.9, 120, 'Vernors'], [1.8, 140, 'Fanta'], [3.2, 90, 'Barqs', {background:'#ddbb33'}], [4.1, 140, 'Arizon Iced Tea'], [4.5, 91, 'Red Bull'], [6.8, 17, 'Go Girl']];
29
+ s2 = [[1.3, 44, 'Pepsi'], [2.1, 170, 'Sierra Mist'], [2.6, 66, 'Moutain Dew'], [4, 52, 'Sobe'], [5.4, 16, 'Amp'], [6, 48, 'Aquafina']];
30
+ s3 = [[1, 59, 'Coca-Cola', {background:'rgb(250, 160, 160)'}], [2, 50, 'Ambasa'], [3, 90, 'Mello Yello'], [4, 90, 'Sprite'], [5, 71, 'Squirt'], [5, 155, 'Youki']];
31
+
32
+ plot1 = $.jqplot('chart1',[s1, s2, s3],{
33
+ seriesDefaults:{
34
+ renderer:$.jqplot.BlockRenderer
35
+ },
36
+ legend:{
37
+ renderer: $.jqplot.EnhancedLegendRenderer,
38
+ show:true
39
+ },
40
+ series: [
41
+ {},
42
+ {rendererOptions: {
43
+ css:{background:'#A1EED6'}
44
+ }},
45
+ {rendererOptions: {
46
+ css:{background:'#D3E4A0'}
47
+ }}
48
+ ],
49
+ axes: {
50
+ xaxis: {
51
+ min:0,
52
+ max: 8
53
+ },
54
+ yaxis: {
55
+ min:0,
56
+ max: 200
57
+ }
58
+ }
59
+ });
60
+
61
+ s1 = [[0.9, 120, 'Vernors'], [1.8, 140, 'Fanta'], [3.2, 90, 'Barqs'], [4.1, 140, 'Arizon Iced Tea'], [4.5, 91, 'Red Bull'], [6.8, 17, 'Go Girl']];
62
+ s2 = [[1.3, 44, 'Pepsi'], [2.1, 170, 'Sierra Mist'], [2.6, 66, 'Moutain Dew'], [4, 52, 'Sobe'], [5.4, 16, 'Amp'], [6, 48, 'Aquafina']];
63
+ s3 = [[1, 59, 'Coca-Cola'], [2, 50, 'Sprite'], [3, 90, 'Mello Yello'], [4, 90, 'Ambasa'], [5, 71, 'Squirt'], [5, 155, 'Youki']];
64
+
65
+ plot2 = $.jqplot('chart2',[s1, s2, s3],{
66
+ seriesDefaults:{
67
+ renderer:$.jqplot.BlockRenderer,
68
+ rendererOptions: {
69
+ varyBlockColors: true
70
+ },
71
+ pointLabels:{
72
+ show: false
73
+ }
74
+ },
75
+ legend:{
76
+ renderer: $.jqplot.EnhancedLegendRenderer,
77
+ show:true,
78
+ showSwatches: false
79
+ },
80
+ series: [{label: 'Independent Brands'}, {label: 'Pepsi Brands'}, {label: 'Coke Brands'}],
81
+ axes: {
82
+ xaxis: {
83
+ min:0,
84
+ max: 8
85
+ },
86
+ yaxis: {
87
+ min:0,
88
+ max: 200
89
+ }
90
+ }
91
+ });
92
+
93
+ });
94
+
95
+ function move(dir, val) {
96
+ val = parseFloat(val);
97
+ var sidx = parseInt($('#seriesId').val());
98
+ var pidx = parseInt($('#pointId').val());
99
+ var duration = $('#duration').val();
100
+ var x = plot1.series[sidx].data[pidx][0];
101
+ var y = plot1.series[sidx].data[pidx][1];
102
+ (dir == 'x') ? x += val : y += val;
103
+ plot1.series[sidx].moveBlock(pidx, x, y, duration);
104
+ }
105
+
106
+ </script>
107
+ </head>
108
+ <body>
109
+ <?php include "nav.inc"; ?>
110
+ <p>Below is an example block plot. This plot also uses the Enhanced Legend Renderer plugin. Clicking on an item in the legend will toggle display of the appropriate series.</p>
111
+ <div id="chart1" class="plot" style="width:500px;height:300px;margin-bottom:30px;"></div>
112
+ <p>Blocks can be moved by selecting the series, the point, and an optional duration parameter. If specified, duration will animate the movement. Duration is either a number in milliseconds, or the keywords 'fast' or 'slow'. Higher numbers will cause a slower animation.</p>
113
+ Series: <select id="seriesId">
114
+ <option value="0" selected>First</option>
115
+ <option value="1">Second</option>
116
+ <option value="2">Third</option>
117
+ </select>
118
+ Point: <select id="pointId">
119
+ <option value="0" selected>first</option>
120
+ <option value="1">second</option>
121
+ <option value="2">third</option>
122
+ <option value="3">fourth</option>
123
+ <option value="4">fifth</option>
124
+ <option value="5">six</option>
125
+ </select>
126
+ Duration: <select id="duration">
127
+ <option value="" selected>None</option>
128
+ <option value="150">100</option>
129
+ <option value="fast">fast</option>
130
+ <option value="300">300</option>
131
+ <option value="300">400</option>
132
+ <option value="300">500</option>
133
+ <option value="slow">slow</option>
134
+ <option value="900">700</option>
135
+ <option value="900">800</option>
136
+ <option value="900">900</option>
137
+ </select>
138
+ X: <button id="mxval" type="button" value="-0.5" onclick="move('x', -1);">-1</button> <button id="pxval" type="button" value="-0.5" onclick="move('x', 0.5);">0.5</button>
139
+ Y: <button id="myval" type="button" name="myval" value="-10" onclick="move('y', -30);">-30</button> <button id="pyval" type="button" name="pyval" value="10" onclick="move('y', 15);">15</button>
140
+
141
+
142
+ <p>This second chart is like the first except the "varyBlockColors" renderer option is set to true. This will vary the color of each block in a series separately. This allows displaying a third dimension to the data such as grouping beverage products by producer and by category such as "cola", "tea", "energy drink", etc.</p>
143
+
144
+ <p>Also, the legend has it's "showSwathces" option set to false, since the blocks of each series will be of varying color and won't correspond to one swatch color. This still enables the user to show and hide the series by clicking on a label in the legend.</p>
145
+
146
+ <div id="chart2" class="plot" style="width:500px;height:300px;margin-bottom:30px;"></div>
147
+
148
+ </body>
149
+ </html>
@@ -0,0 +1,253 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6
+ <title>Bubble Chart Examples</title>
7
+ <!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
8
+
9
+ <link rel="stylesheet" type="text/css" href="../jquery.jqplot.css" />
10
+ <link rel="stylesheet" type="text/css" href="examples.css" />
11
+
12
+ <!-- BEGIN: load jquery -->
13
+ <script language="javascript" type="text/javascript" src="../jquery-1.4.2.js"></script>
14
+ <!-- END: load jquery -->
15
+
16
+ <!-- BEGIN: load jqplot -->
17
+ <script language="javascript" type="text/javascript" src="../jquery.jqplot.js"></script>
18
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.bubbleRenderer.js"></script>
19
+ <!-- END: load jqplot -->
20
+
21
+ <style type="text/css">
22
+ .jqplot-target {
23
+ margin-bottom: 2em;
24
+ }
25
+
26
+ pre {
27
+ background: #D8F4DC;
28
+ border: 1px solid rgb(200, 200, 200);
29
+ padding-top: 1em;
30
+ padding-left: 3em;
31
+ padding-bottom: 1em;
32
+ margin-top: 1em;
33
+ margin-bottom: 4em;
34
+ clear: both;
35
+
36
+ }
37
+
38
+ p {
39
+ margin: 2em 0;
40
+ }
41
+
42
+ .note {
43
+ font-size: 0.8em;
44
+ }
45
+
46
+ #tooltip1b {
47
+ font-size: 12px;
48
+ color: rgb(15%, 15%, 15%);
49
+ padding:2px;
50
+ background-color: rgba(95%, 95%, 95%, 0.8);
51
+ }
52
+
53
+ #legend1b {
54
+ font-size: 12px;
55
+ border: 1px solid #cdcdcd;
56
+ border-collapse: collapse;
57
+ }
58
+ #legend1b td, #legend1b th {
59
+ border: 1px solid #cdcdcd;
60
+ padding: 1px 4px;
61
+ }
62
+ </style>
63
+
64
+ <script class="code" language="javascript" type="text/javascript">$(document).ready(function(){
65
+
66
+ var arr = [[11, 123, 1236, "Acura"], [45, 92, 1067, "Alfa Romeo"],
67
+ [24, 104, 1176, "AM General"], [50, 23, 610, "Aston Martin Lagonda"],
68
+ [18, 17, 539, "Audi"], [7, 89, 864, "BMW"], [2, 13, 1026, "Bugatti"]];
69
+
70
+ plot1 = $.jqplot('chart1',[arr],{
71
+ title: 'Transparent Bubbles',
72
+ seriesDefaults:{
73
+ renderer: $.jqplot.BubbleRenderer,
74
+ rendererOptions: {
75
+ bubbleAlpha: 0.6,
76
+ highlightAlpha: 0.8
77
+ },
78
+ shadow: true,
79
+ shadowAlpha: 0.05
80
+ }
81
+ });
82
+ });</script>
83
+
84
+ <script class="code" language="javascript" type="text/javascript">$(document).ready(function(){
85
+
86
+ var arr = [[11, 123, 1236, "Acura"], [45, 92, 1067, "Alfa Romeo"],
87
+ [24, 104, 1176, "AM General"], [50, 23, 610, "Aston Martin Lagonda"],
88
+ [18, 17, 539, "Audi"], [7, 89, 864, "BMW"], [2, 13, 1026, "Bugatti"]];
89
+
90
+ plot1b = $.jqplot('chart1b',[arr],{
91
+ title: 'Tooltip and Custom Legend Highlighting',
92
+ seriesDefaults:{
93
+ renderer: $.jqplot.BubbleRenderer,
94
+ rendererOptions: {
95
+ bubbleAlpha: 0.6,
96
+ highlightAlpha: 0.8,
97
+ showLabels: false
98
+ },
99
+ shadow: true,
100
+ shadowAlpha: 0.05
101
+ }
102
+ });
103
+
104
+ // Legend is a simple table in the html.
105
+ // Now populate it with the labels from each data value.
106
+ $.each(arr, function(index, val) {
107
+ $('#legend1b').append('<tr><td>'+val[3]+'</td><td>'+val[2]+'</td></tr>');
108
+ });
109
+
110
+ // Now bind function to the highlight event to show the tooltip
111
+ // and highlight the row in the legend.
112
+ $('#chart1b').bind('jqplotDataHighlight',
113
+ function (ev, seriesIndex, pointIndex, data, radius) {
114
+ var chart_left = $('#chart1b').offset().left,
115
+ chart_top = $('#chart1b').offset().top,
116
+ x = plot1b.axes.xaxis.u2p(data[0]), // convert x axis unita to pixels on grid
117
+ y = plot1b.axes.yaxis.u2p(data[1]); // convert y axis units to pixels on grid
118
+ var color = 'rgb(50%,50%,100%)';
119
+ $('#tooltip1b').css({left:chart_left+x+radius+5, top:chart_top+y});
120
+ $('#tooltip1b').html('<span style="font-size:14px;font-weight:bold;color:'+color+';">'+data[3]+'</span><br />'+'x: '+data[0]+'<br />'+'y: '+data[1]+'<br />'+'r: '+data[2]);
121
+ $('#tooltip1b').show();
122
+ $('#legend1b tr').css('background-color', '#ffffff');
123
+ $('#legend1b tr').eq(pointIndex+1).css('background-color', color);
124
+ });
125
+
126
+ // Bind a function to the unhighlight event to clean up after highlighting.
127
+ $('#chart1b').bind('jqplotDataUnhighlight',
128
+ function (ev, seriesIndex, pointIndex, data) {
129
+ $('#tooltip1b').empty();
130
+ $('#tooltip1b').hide();
131
+ $('#legend1b tr').css('background-color', '#ffffff');
132
+ });
133
+ });</script>
134
+
135
+ <script class="code" language="javascript" type="text/javascript">$(document).ready(function(){
136
+
137
+ var arr = [[11, 123, 1236, {label:"Acura", color:'sandybrown'}],
138
+ [45, 92, 1067, {label:"Alfa Romeo", color:'skyblue'}],
139
+ [24, 104, 1176, {label:"AM General", color:"salmon"}], [50, 23, 610, {color:"papayawhip"}],
140
+ [18, 17, 539, "Audi"], [7, 89, 864], [2, 13, 1026, "Bugatti"]];
141
+
142
+ plot1c = $.jqplot('chart1c',[arr],{
143
+ title: 'Bubble Data Customizations',
144
+ seriesDefaults:{
145
+ renderer: $.jqplot.BubbleRenderer
146
+ }
147
+ });
148
+
149
+ });</script>
150
+
151
+ <script class="code" language="javascript" type="text/javascript">$(document).ready(function(){
152
+
153
+ var arr = [[11, 123, 1236, "Acura"], [45, 92, 1067, "Alfa Romeo"],
154
+ [24, 104, 1176, "AM General"], [50, 23, 610, "Aston Martin Lagonda"],
155
+ [18, 17, 539, "Audi"], [7, 89, 864, "BMW"], [2, 13, 1026, "Bugatti"]];
156
+
157
+ plot2 = $.jqplot('chart2',[arr],{
158
+ title: 'Bubble Gradient Fills<sup>*</sup>',
159
+ seriesDefaults:{
160
+ renderer: $.jqplot.BubbleRenderer,
161
+ rendererOptions: {
162
+ bubbleGradients: true
163
+ },
164
+ shadow: true
165
+ }
166
+ });
167
+
168
+ });</script>
169
+
170
+ <script class="code" language="javascript" type="text/javascript">$(document).ready(function(){
171
+
172
+ var arr = [[44, 66, 897, "Acura"], [25, 40, 1119, "Alfa Romeo"], [2, 33, 1197, "AM General"],
173
+ [4, 132, 896, "Aston Martin Lagonda"], [2, 129, 314, "Audi"], [14, 47, 612, "BMW"],
174
+ [45, 112, 719, "Bugatti"], [11, 38, 785, "Buick"], [15, 39, 367, "Cadillac"],
175
+ [6, 133, 726, "Chevrolet"], [48, 84, 1082, "Citroen"], [40, 18, 1047, "DaimlerChrysler Corporation"],
176
+ [24, 107, 1065, "Daewoo Motor Co."], [27, 92, 792, "Delorean Motor Company"], [1, 78, 803, "Dodge"],
177
+ [5, 149, 320, "Ferrari"], [11, 127, 497, "Fiat"], [14, 18, 805, "Ford Motor Company"],
178
+ [9, 101, 394, "General Motors"], [16, 57, 338, "GMC"], [19, 89, 977, "Holden"],
179
+ [35, 78, 464, "Honda"], [18, 130, 364, "Hummer"], [37, 20, 699, "Hyundai"],
180
+ [33, 140, 457, "Infiniti"], [12, 122, 533, "Isuzu"], [25, 67, 767, "Jaguar Cars"],
181
+ [0, 7, 481, "Jeep"], [38, 36, 611, "Jensen Motors"], [43, 91, 943, "Kia"], [45, 21, 569, "Laforza"]];
182
+
183
+ plot3 = $.jqplot('chart3',[arr],{
184
+ title: 'Bubble Auto Scaling Options',
185
+ seriesDefaults:{
186
+ renderer: $.jqplot.BubbleRenderer,
187
+ rendererOptions: {
188
+ autoscalePointsFactor: -0.15,
189
+ autoscaleMultiplier: 0.85,
190
+ highlightMouseDown: true,
191
+ bubbleAlpha: 0.7
192
+ },
193
+ shadow: true,
194
+ shadowAlpha: 0.05
195
+ }
196
+ });
197
+
198
+ });</script>
199
+
200
+
201
+ <script type="text/javascript">
202
+ $(document).ready(function(){
203
+
204
+ $('script.code').each(function(index) {
205
+ $('pre.code').eq(index).text($(this).html());
206
+ })
207
+ $(document).unload(function() {$('*').unbind(); });
208
+ });
209
+ </script>
210
+
211
+ </head>
212
+ <body>
213
+ <?php include "nav.inc"; ?>
214
+ <p>Bubble charts represent 3 dimensional data. Data is passed in to a bubble chart as a series of [x, y, radius, &lt;label or object&gt;]. The optional fourth element of the data point can either be either a label string or an object having 'label' and/or 'color' properties to assign to the bubble.</p>
215
+
216
+ <p>By default, all bubbles are scaled according to the size of the plot area. The radius value in the data point will be adjusted to fit the bubbles in the chart. If the "autoscaleBubbles" option is set to false, the radius value in the data will be taken as a literal pixel value for the radius of the points.</p>
217
+
218
+ <p>The below chart show basic customization of bubble appearance with the "bubbleAlpha" and "highlightAlpha" options.</p>
219
+
220
+ <div id="chart1" class="plot" style="width:460px;height:340px;"></div>
221
+ <pre class="code"></pre>
222
+
223
+ <div style="position:absolute;z-index:99;display:none;" id="tooltip1b"></div>
224
+
225
+ <table><tr>
226
+ <td><div id="chart1b" class="plot" style="width:460px;height:340px;"></div></td>
227
+ <td><div style="height:340px;"><table id="legend1b"><tr><th>Company</th><th>R Value</th></tr></table></div></td>
228
+ </tr></table>
229
+ <pre class="code"></pre>
230
+
231
+ <p>Below is a basic bubble chart showing usage of the optional label and color properties passed in with the data.</p>
232
+
233
+ <div id="chart1c" class="plot" style="width:460px;height:340px;"></div>
234
+ <pre class="code"></pre>
235
+
236
+ <p>The next chart uses the "bubbleGradients: true" option to specify gradient fills on the bubbles. Radial gradients are not supported in IE<sup>*</sup> and will be automatically disabled.</p>
237
+
238
+ <div id="chart2" class="plot" style="width:460px;height:340px;"></div>
239
+
240
+ <p class="note"><sup>*</sup>Radial gradients are not supported in IE because they are not supported in the excanvas emulation layer used by jqPlot to render charts in IE. jqPlot renders charts using the HTML canvas element which is supported by nearly every browser except IE. Excanvas translates the canvas rendering to VML rendering for IE, but unfortunately does not properly handle radial gradients.</p>
241
+
242
+ <pre class="code"></pre>
243
+
244
+ <p>The following bubble chart shows the "autoscalePointsFactor" and "autoscaleMultiplier" options which can be used to control bubble scaling. The "autoscalePointsFactor" options controls bubble scaling with the number of points on the plot. A negative value will decrease bubble size and number of bubbles increases. The "autoscaleMultiplier" will makes all bubbles larger or smaller for values greater or less than 1.0.</p>
245
+
246
+ <p>This chart also demonstrates some of the highlighting options. Bubble highlighting is controlled with the "highlightMouseOver" and "highlightMouseDown" boolean options. Here the "highlightMouseDown: true" option is set which causes the plot to highlight on mousedown (click). This automatically sets the "highlightMouseOver" option to false.</p>
247
+
248
+ <p>Events are also trigger with plot interaction. Specifically, "jqplotDataHighlight", "jqplotDataUnhighlight", "jqplotDataClick" and "jqplotDataRightClick" events are triggered. Handlers are passed an event object, the series index, the point index, and the bubble data.</p>
249
+
250
+ <div id="chart3" class="plot" style="width:600px;height:400px;"></div>
251
+ <pre class="code"></pre>
252
+ </body>
253
+ </html>