reportbuilder 1.2.5 → 1.3.0

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 (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,56 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
+ "http://www.w3.org/TR/html4/loose.dtd">
3
+
4
+ <html lang="en">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7
+ <title>Simple Test</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.min.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.logAxisRenderer.js"></script>
20
+
21
+ <!-- END: load jqplot -->
22
+ <style type="text/css" media="screen">
23
+ .jqplot-axis {
24
+ font-size: 0.85em;
25
+ }
26
+ .jqplot-title {
27
+ font-size: 1.1em;
28
+ }
29
+ </style>
30
+ <script type="text/javascript" language="javascript">
31
+
32
+ $(document).ready(function(){
33
+ $.jqplot.config.enablePlugins = true;
34
+
35
+ var l1 = [[1,2], [4,5], [8,9], [15,16], [18,40]];
36
+ var l2 = [[2,1], [5,4], [12,7], [16,12], [19,29]];
37
+
38
+
39
+ plot1 = $.jqplot('chart', [l1, l2], {
40
+ title:'Plot with Grid Customization',
41
+ // axes:{xaxis:{tickInterval:2, min:0, max:19}},
42
+ // axes:{xaxis:{tickInterval:2}},
43
+ axes:{xaxis:{tickInterval:2, min:0},
44
+ yaxis:{renderer:$.jqplot.LogAxisRenderer}},
45
+ grid:{background:'#dfdfdf', gridLineColor:'#accf9b', borderWidth:2.5}
46
+ });
47
+
48
+
49
+ });
50
+ </script>
51
+ </head>
52
+ <body>
53
+ <?php include "nav.inc"; ?>
54
+ <div id="chart" style="margin-top:20px; margin-left:20px; width:360px; height:300px;"></div>
55
+ </body>
56
+ </html>
@@ -0,0 +1,216 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
+ "http://www.w3.org/TR/html4/loose.dtd">
3
+
4
+ <html lang="en">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7
+ <title>Plots in Hidden Containers</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
+ <style type="text/css">
14
+ .ui-tabs-nav, .ui-accordion-header {
15
+ font-size: 12px;
16
+ }
17
+
18
+ .ui-tabs-panel, .ui-accordion-content {
19
+ font-size: 14px;
20
+ }
21
+
22
+ .jqplot-target {
23
+ font-size: 18px;
24
+ }
25
+
26
+ body > table {
27
+ width: 700px;
28
+ margin-left:auto;
29
+ margin-right: auto;
30
+ }
31
+ body > table, body > table > tr, body > table > td {
32
+ width: 700px;
33
+ border none;
34
+ }
35
+
36
+ td>p {
37
+ font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
38
+ font-size: 14px;
39
+ }
40
+ </style>
41
+
42
+ <!-- BEGIN: load jquery -->
43
+ <script language="javascript" type="text/javascript" src="../jquery-1.4.2.min.js"></script>
44
+ <!-- END: load jquery -->
45
+
46
+ <!-- BEGIN: load jqplot -->
47
+ <script language="javascript" type="text/javascript" src="../jquery.jqplot.js"></script>
48
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.cursor.js"></script>
49
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.pieRenderer.js"></script>
50
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.ohlcRenderer.js"></script>
51
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.js"></script>
52
+
53
+ <link type="text/css" href="jquery-ui/css/ui-lightness/jquery-ui-1.8.1.custom.css" rel="Stylesheet" />
54
+ <script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.1.custom.min.js"></script>
55
+
56
+ <!-- END: load jqplot -->
57
+ <script type="text/javascript" language="javascript">
58
+
59
+ $(document).ready(function(){
60
+
61
+ $.jqplot.config.enablePlugins = false;
62
+
63
+ l1 = [18, 36, 14, 11];
64
+ l2 = [[2, 14], [7, 2], [8,5]];
65
+ l3 = [4, 7, 9, 2, 11, 5, 9, 13, 8, 7];
66
+ l4 = [['peech',3], ['cabbage', 2], ['bean', 4], ['orange', 5]];
67
+
68
+ // plot will size to the "data-width" and "data-height" attributes
69
+ var options = {
70
+ title: "I was hidden",
71
+ lengend:{show:true},
72
+ series:[{},{yaxis:'y2axis'}, {yaxis:'y3axis'}],
73
+ cursor:{show:true, zoom:true},
74
+ axesDefaults:{useSeriesColor:true}
75
+ }
76
+
77
+
78
+ $("#tabs").tabs();
79
+ $("#accordion").accordion();
80
+
81
+ plot1 = $.jqplot('chart1', [l1, l2, l3], options);
82
+
83
+ plot2 = $.jqplot('chart2', [l4], {
84
+ height: 200,
85
+ width: 300,
86
+ series:[{renderer:$.jqplot.PieRenderer}],
87
+ legend:{show:true}
88
+ });
89
+
90
+ var catOHLC = [[1, 138.7, 139.68, 135.18, 135.4],
91
+ [2, 143.46, 144.66, 139.79, 140.02],
92
+ [3, 140.67, 143.56, 132.88, 142.44],
93
+ [4, 136.01, 139.5, 134.53, 139.48],
94
+ [5, 143.82, 144.56, 136.04, 136.97],
95
+ [6, 136.47, 146.4, 136, 144.67],
96
+ [7, 124.76, 135.9, 124.55, 135.81],
97
+ [8, 123.73, 129.31, 121.57, 122.5]];
98
+
99
+ var ticks = ['Tue', 'Wed', 'Thu', 'Fri', 'Mon', 'Tue', 'Wed', 'Thr'];
100
+
101
+ plot3 = $.jqplot('chart3',[catOHLC],{
102
+ grid:{ drawGridlines:true},
103
+ title: 'A CandleStick Chart',
104
+ axes: {
105
+ xaxis: {
106
+ renderer:$.jqplot.CategoryAxisRenderer,
107
+ ticks:ticks
108
+ },
109
+ yaxis: {
110
+ tickOptions:{formatString:'$%.2f'}
111
+ }
112
+ },
113
+ series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{candleStick:true}}]
114
+ });
115
+
116
+ $('#tabs').bind('tabsshow', function(event, ui) {
117
+ if (ui.index == 1 && plot1._drawCount == 0) {
118
+ plot1.replot();
119
+ }
120
+ else if (ui.index == 2 && plot2._drawCount == 0) {
121
+ plot2.replot();
122
+ }
123
+ });
124
+
125
+ $('#accordion').bind('accordionchange', function(event, ui) {
126
+ var index = $(this).find("h3").index ( ui.newHeader[0] );
127
+ if (index == 1) {
128
+ plot3.replot();
129
+ }
130
+ });
131
+
132
+ });
133
+
134
+ </script>
135
+ </head>
136
+ <body>
137
+ <?php include "nav.inc"; ?>
138
+ <table><tr><td>
139
+ <p>This page demonstrates using plots within containers that are initially hidden. Examples are shown for jQuery UI tabs and Accordions</p>
140
+ <div id="tabs">
141
+ <ul>
142
+ <li><a href="#tabs-1">Tab 1</a></li>
143
+ <li><a href="#tabs-2">Tab 2</a></li>
144
+ <li><a href="#tabs-3">Tab 3</a></li>
145
+ </ul>
146
+ <div id="tabs-1">
147
+ <p>Tab 2 and tab 3 contain plots which are initially hidden. Using a combination of alternate sizing specification and the plots "replot" method the plots are properly displayed when their containers are shown.</p>
148
+ <p>The alternate sizing specifications for setting plot height and width are needed because a hidden element (or child of a hidden element) has no size. The first example in tab 2 uses custom "data-height" and "data-width" attributes on the plot target element to specify height. The second example uses "width" and "height" properties specified on the options object passed into the $.jqplot() function.</p>
149
+
150
+ <p>The default size is 300px wide by 400px high. The default setting can be overriden by specifying different values to the $.jqplot.config.defaultHeight and $.jqplot.config.defaultWidth properties. Height and width values are taken in this order of prececence:</p>
151
+
152
+ <ol>
153
+ <li>The css properties if available and plot is not hidden with display:none.</li>
154
+ <li>Options object passed into the $.jqplot() function.</li>
155
+ <li>Custom data-height and data-width attributes on the plot target.</li>
156
+ <li>The config defaults.</li>
157
+ </ol>
158
+
159
+ <p>Here is how the replot method can be used to bind to the "tabsshow" event of the UI tabs:</p>
160
+
161
+ <pre>
162
+ $('#tabs').bind('tabsshow', function(event, ui) {
163
+ if (ui.index == 1) {
164
+ plot1.replot();
165
+ }
166
+ else if (ui.index == 2) {
167
+ plot2.replot();
168
+ }
169
+ });
170
+ </pre>
171
+
172
+ <p>The ui.index property is the index of the tab that was shown. </p>
173
+ </div>
174
+
175
+ <div id="tabs-2">
176
+ <p>This plot was in an initially hidden container. It's hieght and width are set by the "data-height" and "data-width" properties of the plot container.</p>
177
+ <div id="chart1" data-height="260px" data-width="480px" style="margin-top:20px; margin-left:20px;"></div>
178
+ </div>
179
+
180
+ <div id="tabs-3">
181
+ <p>This plot is in an initially hidden container. It's height and width are set by the 'height' and 'width' properties of the options object passed into the plot constructor.</p>
182
+ <div id="chart2" style="margin-top:20px; margin-left:20px;"></div>
183
+ </div>
184
+
185
+ </div>
186
+
187
+ <div id="accordion" style="margin-top:50px">
188
+
189
+ <h3><a href="#">Section 1</a></h3>
190
+ <div>
191
+ <p>Secion 2 contains a plot. Sizing plots in hidden accordion sections is very similar to sizing in a tab widget. Because of the default animation on accordions, however, the plot will not draw itself until the entire accordion panel is shown.</p>
192
+
193
+ <p>Binidng to the accordion "accordionchange" event is also similar as with tabs:</p>
194
+
195
+ <pre>
196
+ $('#accordion').bind('accordionchange', function(event, ui) {
197
+ var index = $(this).find("h3").index ( ui.newHeader[0] );
198
+ if (index == 1) {
199
+ plot3.replot();
200
+ }
201
+ });
202
+ </pre>
203
+ </div>
204
+
205
+ <h3><a href="#">Section 2</a></h3>
206
+ <div>
207
+ <p>
208
+ This plot also has it's height and width set with the data-height and data-width attributes. Note, if you want the accordian widget to properly size itself </em>before</em> the plot is shown, you must also specify a css height and width on the plot target.
209
+ </p>
210
+ <div id="chart3" data-height="200" data-width="400" style="width:400px; height: 200px; margin-top: 20px; margin-left: 20px"></div>
211
+ </div>
212
+
213
+ </div>
214
+ </td></tr></table>
215
+ </body>
216
+ </html>
@@ -0,0 +1,95 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
+ "http://www.w3.org/TR/html4/loose.dtd">
3
+
4
+ <html lang="en">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7
+ <title>Highlighter Test</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.min.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.dateAxisRenderer.js"></script>
20
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.highlighter.js"></script>
21
+ <script language="javascript" type="text/javascript" src="../plugins/jqplot.cursor.js"></script>
22
+ <!-- END: load jqplot -->
23
+
24
+
25
+ <script language="javascript" type="text/javascript">
26
+
27
+ $(document).ready(function(){
28
+ $.jqplot.config.enablePlugins = true;
29
+ s1 = [['23-May-08',1],['24-May-08',4],['25-May-08',2],['26-May-08',
30
+ 6]];
31
+
32
+ s2 = [3,5,7,4,8];
33
+ s3 = [9,11,15,8,15];
34
+ s4 = [8,7,12,18,4];
35
+ s5 = [13,17,21,19,11];
36
+ l1 = [];
37
+ l2 = [];
38
+ l3 = [];
39
+
40
+ for (var i=0; i<100; i++) {
41
+ l1.push(Math.random()*7);
42
+ l2.push(Math.random()*13);
43
+ l3.push(Math.random()*2);
44
+ }
45
+
46
+
47
+ plot1 = $.jqplot('chart1',[s1],{
48
+ title: 'Highlighting',
49
+ axes: {
50
+ xaxis: {
51
+ renderer: $.jqplot.DateAxisRenderer,
52
+ tickOptions: {
53
+ formatString: '%b %#d, %Y'
54
+ },
55
+ numberTicks: 4
56
+ },
57
+ yaxis: {
58
+ tickOptions: {
59
+ formatString: '$%.2f'
60
+ }
61
+ }
62
+ },
63
+ highlighter: {
64
+ sizeAdjust: 10,
65
+ tooltipLocation: 'n',
66
+ useAxesFormatters: false,
67
+ formatString: 'Hello %s dayglow %d'
68
+ },
69
+ cursor: {
70
+ show: true,
71
+ zoom: true
72
+ }
73
+ });
74
+
75
+ plot2 = $.jqplot('chart2', [s2, s3, s4, s5], { highlighter: { bringSeriesToFront: true, tooltipLocation: 'e', tooltipOffset: 0, formatString: '<div class="jqplot-highlighter"><span>#seriesLabel#</span>%s: <strong>%s</strong></div>' } });
76
+ plot3 = $.jqplot('chart3', [s2, s3], { highlighter: { bringSeriesToFront: true, tooltipLocation: 'e', tooltipOffset: 0, formatString: '<div class="jqplot-highlighter"><span>#seriesLabel#</span>%s: <strong>%s</strong></div>' } });
77
+ plot4 = $.jqplot('chart4', [s2, s3, s4], { highlighter: { bringSeriesToFront: true, tooltipLocation: 'e', tooltipOffset: 0, formatString: '<div class="jqplot-highlighter"><span>#seriesLabel#</span>%s: <strong>%s</strong></div>' } });
78
+ plot5 = $.jqplot('chart5', [l1, l2, l3], { seriesDefaults:{neighborThreshold:0, showMarker:false}, highlighter: { bringSeriesToFront: true, tooltipLocation: 'e', tooltipOffset: 0, formatString: '<div class="jqplot-highlighter"><span>#seriesLabel#</span>%s: <strong>%s</strong></div>' } });
79
+
80
+ });
81
+
82
+ </script>
83
+ </head>
84
+ <body>
85
+ <?php include "nav.inc"; ?>
86
+ <div id="chart1" class="plot" style="width:500px;height:300px;"></div>
87
+ <div id="chart2" class="plot" style="width:500px;height:300px;"></div>
88
+ <div id="chart3" class="plot" style="width:500px;height:300px;"></div>
89
+ <div id="chart4" class="plot" style="width:500px;height:300px;"></div>
90
+ <div id="chart5" class="plot" style="width:500px;height:300px;"></div>
91
+
92
+
93
+
94
+ </body>
95
+ </html>
@@ -0,0 +1,63 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
+ "http://www.w3.org/TR/html4/loose.dtd">
3
+
4
+ <html lang="en">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7
+ <title>Highlighter Test</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.min.js"></script>
15
+ <!-- END: load jquery -->
16
+
17
+ <!-- BEGIN: load jqplot -->
18
+ <script language="javascript" type="text/javascript" src="../jquery.jqplot.js"></script>
19
+ <!-- END: load jqplot -->
20
+
21
+
22
+ <script language="javascript" type="text/javascript">
23
+
24
+ $(document).ready(function(){
25
+ $.jqplot.config.enablePlugins = true;
26
+
27
+ // function that is run when the mouse moves inside of the plot.
28
+ function myMove (ev, gridpos, datapos, neighbor, plot) {
29
+ if (neighbor == null) {
30
+ $('#myToolTip').fadeOut().empty();
31
+ isShowing = false;
32
+ }
33
+ if (neighbor != null) {
34
+ if ($('#myToolTip').is(':hidden')) {
35
+ var d = new Date();
36
+ var myText = d.getSeconds(); // could be any function pulling data from anywhere.
37
+ $('#myToolTip').html(myText).css({left:gridpos.x, top:gridpos.y}).fadeIn();
38
+ }
39
+ }
40
+ }
41
+
42
+ // Here is how you attach the custom callback to the mouse move event on the plot.
43
+ $.jqplot.eventListenerHooks.push(['jqplotMouseMove', myMove]);
44
+
45
+ s1 = [3, 7, 4, 9, 11, 12];
46
+
47
+ plot1 = $.jqplot('chart1',[s1],{
48
+ title: 'Highlighting'
49
+ });
50
+
51
+ $('#chart1').append('<div id="myToolTip" style="position:absolute;display:none;background:#E5DACA;padding:4px;"></div>');
52
+
53
+ });
54
+
55
+ </script>
56
+ </head>
57
+ <body>
58
+ <?php include "nav.inc"; ?>
59
+ <p>This page demonstrates creating your own custom highlighter by attaching a callback to the 'jqplotMouseMove' event.</p>
60
+ <div id="chart1" class="plot" style="width:500px;height:300px;"></div>
61
+
62
+ </body>
63
+ </html>
@@ -0,0 +1,51 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
+ "http://www.w3.org/TR/html4/loose.dtd">
3
+
4
+ <html lang="en">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7
+ <title>Horizontal Line (const. y values)</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.min.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.dateAxisRenderer.js"></script>
20
+ <!-- END: load jqplot -->
21
+ <style type="text/css" media="screen">
22
+ .jqplot-axis {
23
+ font-size: 0.85em;
24
+ }
25
+ </style>
26
+ <script type="text/javascript" language="javascript">
27
+
28
+ $(document).ready(function(){
29
+ $.jqplot.config.enablePlugins = true;
30
+
31
+ line1 = [[1244337000000, 10], [1244337300000, 10], [1244337600000, 10], [1244337900000, 10], [1244338200000, 10]];
32
+ plot2 = $.jqplot('chart', [line1], {
33
+ title: 'A Horizontal Line',
34
+ axes: {
35
+ xaxis: {
36
+ renderer: $.jqplot.DateAxisRenderer,
37
+ numberTicks: 5
38
+ }
39
+ },
40
+ series:[{},{lineWidth:1, color:'#999999', showMarker:false}]
41
+ });
42
+
43
+
44
+ });
45
+ </script>
46
+ </head>
47
+ <body>
48
+ <?php include "nav.inc"; ?>
49
+ <div id="chart" style="margin-top:20px; margin-left:20px; width:500px; height:300px;"></div>
50
+ </body>
51
+ </html>