reportbuilder 1.2.5 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/Manifest.txt +377 -0
- data/data/flot/API.txt +1024 -0
- data/data/flot/FAQ.txt +71 -0
- data/data/flot/LICENSE.txt +22 -0
- data/data/flot/Makefile +15 -0
- data/data/flot/NEWS.txt +340 -0
- data/data/flot/PLUGINS.txt +105 -0
- data/data/flot/README.txt +81 -0
- data/data/flot/examples/ajax.html +143 -0
- data/data/flot/examples/annotating.html +75 -0
- data/data/flot/examples/arrow-down.gif +0 -0
- data/data/flot/examples/arrow-left.gif +0 -0
- data/data/flot/examples/arrow-right.gif +0 -0
- data/data/flot/examples/arrow-up.gif +0 -0
- data/data/flot/examples/basic.html +38 -0
- data/data/flot/examples/data-eu-gdp-growth-1.json +4 -0
- data/data/flot/examples/data-eu-gdp-growth-2.json +4 -0
- data/data/flot/examples/data-eu-gdp-growth-3.json +4 -0
- data/data/flot/examples/data-eu-gdp-growth-4.json +4 -0
- data/data/flot/examples/data-eu-gdp-growth-5.json +4 -0
- data/data/flot/examples/data-eu-gdp-growth.json +4 -0
- data/data/flot/examples/data-japan-gdp-growth.json +4 -0
- data/data/flot/examples/data-usa-gdp-growth.json +4 -0
- data/data/flot/examples/dual-axis.html +39 -0
- data/data/flot/examples/graph-types.html +75 -0
- data/data/flot/examples/hs-2004-27-a-large_web.jpg +0 -0
- data/data/flot/examples/image.html +45 -0
- data/data/flot/examples/index.html +43 -0
- data/data/flot/examples/interacting.html +93 -0
- data/data/flot/examples/layout.css +6 -0
- data/data/flot/examples/navigate.html +118 -0
- data/data/flot/examples/selection.html +114 -0
- data/data/flot/examples/setting-options.html +65 -0
- data/data/flot/examples/stacking.html +77 -0
- data/data/flot/examples/thresholding.html +54 -0
- data/data/flot/examples/time.html +71 -0
- data/data/flot/examples/tracking.html +95 -0
- data/data/flot/examples/turning-series.html +98 -0
- data/data/flot/examples/visitors.html +90 -0
- data/data/flot/examples/zooming.html +98 -0
- data/data/flot/excanvas.js +1427 -0
- data/data/flot/excanvas.min.js +1 -0
- data/data/flot/jquery.colorhelpers.js +174 -0
- data/data/flot/jquery.colorhelpers.min.js +1 -0
- data/data/flot/jquery.flot.crosshair.js +156 -0
- data/data/flot/jquery.flot.crosshair.min.js +1 -0
- data/data/flot/jquery.flot.image.js +237 -0
- data/data/flot/jquery.flot.image.min.js +1 -0
- data/data/flot/jquery.flot.js +2119 -0
- data/data/flot/jquery.flot.min.js +1 -0
- data/data/flot/jquery.flot.navigate.js +272 -0
- data/data/flot/jquery.flot.navigate.min.js +1 -0
- data/data/flot/jquery.flot.selection.js +299 -0
- data/data/flot/jquery.flot.selection.min.js +1 -0
- data/data/flot/jquery.flot.stack.js +152 -0
- data/data/flot/jquery.flot.stack.min.js +1 -0
- data/data/flot/jquery.flot.threshold.js +103 -0
- data/data/flot/jquery.flot.threshold.min.js +1 -0
- data/data/flot/jquery.js +4376 -0
- data/data/flot/jquery.min.js +19 -0
- data/data/jqplot/MIT-LICENSE.txt +21 -0
- data/data/jqplot/README.txt +73 -0
- data/data/jqplot/changes.txt +261 -0
- data/data/jqplot/copyright.txt +33 -0
- data/data/jqplot/docs/files/MIT-LICENSE-txt.html +39 -0
- data/data/jqplot/docs/files/changes-txt.html +39 -0
- data/data/jqplot/docs/files/gpl-2-0-txt.html +39 -0
- data/data/jqplot/docs/files/images/background.jpg +0 -0
- data/data/jqplot/docs/files/images/basicline.png +0 -0
- data/data/jqplot/docs/files/images/basiclogaxis.png +0 -0
- data/data/jqplot/docs/files/images/basiclogoptions.png +0 -0
- data/data/jqplot/docs/files/images/basicoptions.png +0 -0
- data/data/jqplot/docs/files/images/dualaxis.png +0 -0
- data/data/jqplot/docs/files/images/logo.jpg +0 -0
- data/data/jqplot/docs/files/images/navdocs.png +0 -0
- data/data/jqplot/docs/files/images/navdocsover.png +0 -0
- data/data/jqplot/docs/files/images/navdownload.png +0 -0
- data/data/jqplot/docs/files/images/navdownloadover.png +0 -0
- data/data/jqplot/docs/files/images/navexamples.png +0 -0
- data/data/jqplot/docs/files/images/navexamplesover.png +0 -0
- data/data/jqplot/docs/files/images/navhome.png +0 -0
- data/data/jqplot/docs/files/images/navhomeover.png +0 -0
- data/data/jqplot/docs/files/images/new.png +0 -0
- data/data/jqplot/docs/files/images/sample3.png +0 -0
- data/data/jqplot/docs/files/images/samplesm.png +0 -0
- data/data/jqplot/docs/files/jqPlotCssStyling-txt.html +39 -0
- data/data/jqplot/docs/files/jqPlotOptions-txt.html +292 -0
- data/data/jqplot/docs/files/jqplot-axisLabelRenderer-js.html +47 -0
- data/data/jqplot/docs/files/jqplot-axisTickRenderer-js.html +69 -0
- data/data/jqplot/docs/files/jqplot-canvasGridRenderer-js.html +39 -0
- data/data/jqplot/docs/files/jqplot-core-js.html +353 -0
- data/data/jqplot/docs/files/jqplot-divTitleRenderer-js.html +39 -0
- data/data/jqplot/docs/files/jqplot-lineRenderer-js.html +53 -0
- data/data/jqplot/docs/files/jqplot-linearAxisRenderer-js.html +39 -0
- data/data/jqplot/docs/files/jqplot-markerRenderer-js.html +65 -0
- data/data/jqplot/docs/files/jqplot-shadowRenderer-js.html +61 -0
- data/data/jqplot/docs/files/jqplot-shapeRenderer-js.html +63 -0
- data/data/jqplot/docs/files/jqplot-themeEngine-js.html +190 -0
- data/data/jqplot/docs/files/optionsTutorial-txt.html +119 -0
- data/data/jqplot/docs/files/plugins/jqplot-BezierCurveRenderer-js.html +45 -0
- data/data/jqplot/docs/files/plugins/jqplot-barRenderer-js.html +67 -0
- data/data/jqplot/docs/files/plugins/jqplot-blockRenderer-js.html +53 -0
- data/data/jqplot/docs/files/plugins/jqplot-bubbleRenderer-js.html +71 -0
- data/data/jqplot/docs/files/plugins/jqplot-canvasAxisLabelRenderer-js.html +63 -0
- data/data/jqplot/docs/files/plugins/jqplot-canvasAxisTickRenderer-js.html +79 -0
- data/data/jqplot/docs/files/plugins/jqplot-categoryAxisRenderer-js.html +46 -0
- data/data/jqplot/docs/files/plugins/jqplot-cursor-js.html +91 -0
- data/data/jqplot/docs/files/plugins/jqplot-dateAxisRenderer-js.html +93 -0
- data/data/jqplot/docs/files/plugins/jqplot-donutRenderer-js.html +98 -0
- data/data/jqplot/docs/files/plugins/jqplot-dragable-js.html +45 -0
- data/data/jqplot/docs/files/plugins/jqplot-enhancedLegendRenderer-js.html +49 -0
- data/data/jqplot/docs/files/plugins/jqplot-funnelRenderer-js.html +87 -0
- data/data/jqplot/docs/files/plugins/jqplot-highlighter-js.html +80 -0
- data/data/jqplot/docs/files/plugins/jqplot-logAxisRenderer-js.html +45 -0
- data/data/jqplot/docs/files/plugins/jqplot-mekkoAxisRenderer-js.html +49 -0
- data/data/jqplot/docs/files/plugins/jqplot-mekkoRenderer-js.html +62 -0
- data/data/jqplot/docs/files/plugins/jqplot-meterGaugeRenderer-js.html +103 -0
- data/data/jqplot/docs/files/plugins/jqplot-ohlcRenderer-js.html +65 -0
- data/data/jqplot/docs/files/plugins/jqplot-pieRenderer-js.html +93 -0
- data/data/jqplot/docs/files/plugins/jqplot-pointLabels-js.html +72 -0
- data/data/jqplot/docs/files/plugins/jqplot-trendline-js.html +67 -0
- data/data/jqplot/docs/files/usage-txt.html +58 -0
- data/data/jqplot/docs/index.html +1 -0
- data/data/jqplot/docs/index/Classes.html +58 -0
- data/data/jqplot/docs/index/Files.html +34 -0
- data/data/jqplot/docs/index/Functions.html +66 -0
- data/data/jqplot/docs/index/General.html +46 -0
- data/data/jqplot/docs/index/General2.html +46 -0
- data/data/jqplot/docs/index/General3.html +46 -0
- data/data/jqplot/docs/index/General4.html +50 -0
- data/data/jqplot/docs/index/General5.html +34 -0
- data/data/jqplot/docs/index/General6.html +58 -0
- data/data/jqplot/docs/index/Hooks.html +46 -0
- data/data/jqplot/docs/index/Properties.html +50 -0
- data/data/jqplot/docs/index/Properties2.html +50 -0
- data/data/jqplot/docs/index/Properties3.html +50 -0
- data/data/jqplot/docs/index/Properties4.html +34 -0
- data/data/jqplot/docs/index/Properties5.html +58 -0
- data/data/jqplot/docs/javascript/main.js +836 -0
- data/data/jqplot/docs/javascript/searchdata.js +182 -0
- data/data/jqplot/docs/search/ClassesA.html +20 -0
- data/data/jqplot/docs/search/ClassesG.html +20 -0
- data/data/jqplot/docs/search/ClassesJ.html +20 -0
- data/data/jqplot/docs/search/ClassesL.html +20 -0
- data/data/jqplot/docs/search/ClassesS.html +20 -0
- data/data/jqplot/docs/search/ClassesSymbols.html +20 -0
- data/data/jqplot/docs/search/ClassesT.html +20 -0
- data/data/jqplot/docs/search/FilesJ.html +20 -0
- data/data/jqplot/docs/search/FunctionsC.html +20 -0
- data/data/jqplot/docs/search/FunctionsD.html +20 -0
- data/data/jqplot/docs/search/FunctionsG.html +20 -0
- data/data/jqplot/docs/search/FunctionsI.html +20 -0
- data/data/jqplot/docs/search/FunctionsM.html +20 -0
- data/data/jqplot/docs/search/FunctionsN.html +20 -0
- data/data/jqplot/docs/search/FunctionsR.html +20 -0
- data/data/jqplot/docs/search/FunctionsS.html +20 -0
- data/data/jqplot/docs/search/FunctionsZ.html +20 -0
- data/data/jqplot/docs/search/GeneralA.html +20 -0
- data/data/jqplot/docs/search/GeneralB.html +20 -0
- data/data/jqplot/docs/search/GeneralC.html +20 -0
- data/data/jqplot/docs/search/GeneralD.html +20 -0
- data/data/jqplot/docs/search/GeneralE.html +20 -0
- data/data/jqplot/docs/search/GeneralF.html +20 -0
- data/data/jqplot/docs/search/GeneralG.html +20 -0
- data/data/jqplot/docs/search/GeneralH.html +20 -0
- data/data/jqplot/docs/search/GeneralI.html +20 -0
- data/data/jqplot/docs/search/GeneralJ.html +20 -0
- data/data/jqplot/docs/search/GeneralL.html +20 -0
- data/data/jqplot/docs/search/GeneralM.html +20 -0
- data/data/jqplot/docs/search/GeneralN.html +20 -0
- data/data/jqplot/docs/search/GeneralO.html +20 -0
- data/data/jqplot/docs/search/GeneralP.html +20 -0
- data/data/jqplot/docs/search/GeneralR.html +20 -0
- data/data/jqplot/docs/search/GeneralS.html +20 -0
- data/data/jqplot/docs/search/GeneralSymbols.html +20 -0
- data/data/jqplot/docs/search/GeneralT.html +20 -0
- data/data/jqplot/docs/search/GeneralU.html +20 -0
- data/data/jqplot/docs/search/GeneralV.html +20 -0
- data/data/jqplot/docs/search/GeneralW.html +20 -0
- data/data/jqplot/docs/search/GeneralX.html +20 -0
- data/data/jqplot/docs/search/GeneralY.html +20 -0
- data/data/jqplot/docs/search/GeneralZ.html +20 -0
- data/data/jqplot/docs/search/HooksA.html +20 -0
- data/data/jqplot/docs/search/HooksE.html +20 -0
- data/data/jqplot/docs/search/HooksJ.html +20 -0
- data/data/jqplot/docs/search/HooksP.html +20 -0
- data/data/jqplot/docs/search/NoResults.html +15 -0
- data/data/jqplot/docs/search/PropertiesA.html +20 -0
- data/data/jqplot/docs/search/PropertiesB.html +20 -0
- data/data/jqplot/docs/search/PropertiesC.html +20 -0
- data/data/jqplot/docs/search/PropertiesD.html +20 -0
- data/data/jqplot/docs/search/PropertiesE.html +20 -0
- data/data/jqplot/docs/search/PropertiesF.html +20 -0
- data/data/jqplot/docs/search/PropertiesG.html +20 -0
- data/data/jqplot/docs/search/PropertiesH.html +20 -0
- data/data/jqplot/docs/search/PropertiesI.html +20 -0
- data/data/jqplot/docs/search/PropertiesL.html +20 -0
- data/data/jqplot/docs/search/PropertiesM.html +20 -0
- data/data/jqplot/docs/search/PropertiesN.html +20 -0
- data/data/jqplot/docs/search/PropertiesO.html +20 -0
- data/data/jqplot/docs/search/PropertiesP.html +20 -0
- data/data/jqplot/docs/search/PropertiesR.html +20 -0
- data/data/jqplot/docs/search/PropertiesS.html +20 -0
- data/data/jqplot/docs/search/PropertiesT.html +20 -0
- data/data/jqplot/docs/search/PropertiesU.html +20 -0
- data/data/jqplot/docs/search/PropertiesV.html +20 -0
- data/data/jqplot/docs/search/PropertiesW.html +20 -0
- data/data/jqplot/docs/search/PropertiesX.html +20 -0
- data/data/jqplot/docs/search/PropertiesY.html +20 -0
- data/data/jqplot/docs/search/PropertiesZ.html +20 -0
- data/data/jqplot/docs/styles/1.css +767 -0
- data/data/jqplot/docs/styles/2.css +174 -0
- data/data/jqplot/docs/styles/main.css +2 -0
- data/data/jqplot/examples/.htaccess +1 -0
- data/data/jqplot/examples/OHLC.html +333 -0
- data/data/jqplot/examples/OHLC2.html +193 -0
- data/data/jqplot/examples/area.html +107 -0
- data/data/jqplot/examples/axisLabel.html +117 -0
- data/data/jqplot/examples/axisLabelsRotatedText.html +131 -0
- data/data/jqplot/examples/axisLabelsRotatedText2.html +155 -0
- data/data/jqplot/examples/barLinePieStack.html +198 -0
- data/data/jqplot/examples/barMissingValues.html +64 -0
- data/data/jqplot/examples/barTest.html +283 -0
- data/data/jqplot/examples/barTest2.html +74 -0
- data/data/jqplot/examples/bezierCurve.html +96 -0
- data/data/jqplot/examples/blockPlot.html +149 -0
- data/data/jqplot/examples/bubbleChart2.html +253 -0
- data/data/jqplot/examples/bubblechart.html +69 -0
- data/data/jqplot/examples/catchError.html +53 -0
- data/data/jqplot/examples/categoryHorizontalBar.html +81 -0
- data/data/jqplot/examples/categoryVsLinearAxes.html +74 -0
- data/data/jqplot/examples/chartInTable.html +33 -0
- data/data/jqplot/examples/customHighlighterCursorTrendline.html +72 -0
- data/data/jqplot/examples/customPieTests.html +73 -0
- data/data/jqplot/examples/dataLabels.html +192 -0
- data/data/jqplot/examples/dataTracking.html +91 -0
- data/data/jqplot/examples/donutTest.html +89 -0
- data/data/jqplot/examples/donutTest.js +96 -0
- data/data/jqplot/examples/examples.css +19 -0
- data/data/jqplot/examples/fillToZero.html +126 -0
- data/data/jqplot/examples/filledLine.html +78 -0
- data/data/jqplot/examples/filledLineCategoryAxis.html +80 -0
- data/data/jqplot/examples/funnelTest.html +82 -0
- data/data/jqplot/examples/funnelTest.js +74 -0
- data/data/jqplot/examples/gridCustomization.html +56 -0
- data/data/jqplot/examples/hiddenPlot.html +216 -0
- data/data/jqplot/examples/highlighter.html +95 -0
- data/data/jqplot/examples/highlighter2.html +63 -0
- data/data/jqplot/examples/horizontalLine.html +51 -0
- data/data/jqplot/examples/intticks.html +178 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/data/jqplot/examples/jquery-ui/css/ui-lightness/jquery-ui-1.8.1.custom.css +486 -0
- data/data/jqplot/examples/jquery-ui/js/jquery-1.4.2.min.js +154 -0
- data/data/jqplot/examples/jquery-ui/js/jquery-ui-1.8.1.custom.min.js +756 -0
- data/data/jqplot/examples/legendLabels.html +205 -0
- data/data/jqplot/examples/legendLabels2.html +228 -0
- data/data/jqplot/examples/liz.zip +0 -0
- data/data/jqplot/examples/markerStyles.html +44 -0
- data/data/jqplot/examples/mekkoChart.html +217 -0
- data/data/jqplot/examples/meterGauge.html +132 -0
- data/data/jqplot/examples/meterGauge2.html +158 -0
- data/data/jqplot/examples/minMaxLines.html +61 -0
- data/data/jqplot/examples/missingValues.html +119 -0
- data/data/jqplot/examples/multiAxesRotatedText.html +70 -0
- data/data/jqplot/examples/multipleBarColors.html +149 -0
- data/data/jqplot/examples/multipleLines.html +47 -0
- data/data/jqplot/examples/multipleYAxes.html +85 -0
- data/data/jqplot/examples/nav.inc +35 -0
- data/data/jqplot/examples/pieTest.html +77 -0
- data/data/jqplot/examples/pieTest2.html +87 -0
- data/data/jqplot/examples/pieTest2.js +80 -0
- data/data/jqplot/examples/pieTest3.html +100 -0
- data/data/jqplot/examples/pointLabels.html +94 -0
- data/data/jqplot/examples/pointLabels2.html +47 -0
- data/data/jqplot/examples/prefix.html +90 -0
- data/data/jqplot/examples/resizablePlot.html +150 -0
- data/data/jqplot/examples/rotatedTickLabels.html +61 -0
- data/data/jqplot/examples/rotatedTickLabelsZoom.html +68 -0
- data/data/jqplot/examples/seriesCanvasReorder.html +93 -0
- data/data/jqplot/examples/seriesUpdate.html +123 -0
- data/data/jqplot/examples/shadowTests.html +133 -0
- data/data/jqplot/examples/singlePoint.html +70 -0
- data/data/jqplot/examples/sparkLine.html +48 -0
- data/data/jqplot/examples/stackedBar2.html +104 -0
- data/data/jqplot/examples/stackedBar3.html +76 -0
- data/data/jqplot/examples/stackedBarCategoryVsLinearAxes.html +121 -0
- data/data/jqplot/examples/stackedCategoryAxis.html +89 -0
- data/data/jqplot/examples/stackedFilledLine.html +77 -0
- data/data/jqplot/examples/stackedLine.html +56 -0
- data/data/jqplot/examples/test2.html +64 -0
- data/data/jqplot/examples/theming.html +483 -0
- data/data/jqplot/examples/trendlineDragableCustomization.html +79 -0
- data/data/jqplot/examples/verticalLine.html +52 -0
- data/data/jqplot/examples/waterfall.html +135 -0
- data/data/jqplot/examples/zoom1.html +125 -0
- data/data/jqplot/examples/zoom2.html +73 -0
- data/data/jqplot/examples/zoom3.html +69 -0
- data/data/jqplot/examples/zoomOptions.html +101 -0
- data/data/jqplot/examples/zoomProxy.html +108 -0
- data/data/jqplot/excanvas.js +1416 -0
- data/data/jqplot/excanvas.min.js +35 -0
- data/data/jqplot/gpl-2.0.txt +280 -0
- data/data/jqplot/jqPlotCssStyling.txt +53 -0
- data/data/jqplot/jqPlotOptions.txt +276 -0
- data/data/jqplot/jquery-1.4.1.min.js +152 -0
- data/data/jqplot/jquery-1.4.2.min.js +154 -0
- data/data/jqplot/jquery.jqplot.css +212 -0
- data/data/jqplot/jquery.jqplot.js +7004 -0
- data/data/jqplot/jquery.jqplot.min.css +1 -0
- data/data/jqplot/jquery.jqplot.min.js +34 -0
- data/data/jqplot/optionsTutorial.txt +239 -0
- data/data/jqplot/plugins/jqplot.BezierCurveRenderer.js +300 -0
- data/data/jqplot/plugins/jqplot.BezierCurveRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.barRenderer.js +629 -0
- data/data/jqplot/plugins/jqplot.barRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.blockRenderer.js +221 -0
- data/data/jqplot/plugins/jqplot.blockRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.bubbleRenderer.js +724 -0
- data/data/jqplot/plugins/jqplot.bubbleRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.canvasAxisLabelRenderer.js +187 -0
- data/data/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.canvasAxisTickRenderer.js +226 -0
- data/data/jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.canvasTextRenderer.js +408 -0
- data/data/jqplot/plugins/jqplot.canvasTextRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.categoryAxisRenderer.js +630 -0
- data/data/jqplot/plugins/jqplot.categoryAxisRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.cursor.js +952 -0
- data/data/jqplot/plugins/jqplot.cursor.min.js +34 -0
- data/data/jqplot/plugins/jqplot.dateAxisRenderer.js +313 -0
- data/data/jqplot/plugins/jqplot.dateAxisRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.donutRenderer.js +876 -0
- data/data/jqplot/plugins/jqplot.donutRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.dragable.js +206 -0
- data/data/jqplot/plugins/jqplot.dragable.min.js +34 -0
- data/data/jqplot/plugins/jqplot.enhancedLegendRenderer.js +186 -0
- data/data/jqplot/plugins/jqplot.enhancedLegendRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.funnelRenderer.js +918 -0
- data/data/jqplot/plugins/jqplot.funnelRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.highlighter.js +374 -0
- data/data/jqplot/plugins/jqplot.highlighter.min.js +34 -0
- data/data/jqplot/plugins/jqplot.logAxisRenderer.js +434 -0
- data/data/jqplot/plugins/jqplot.logAxisRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.mekkoAxisRenderer.js +595 -0
- data/data/jqplot/plugins/jqplot.mekkoAxisRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.mekkoRenderer.js +419 -0
- data/data/jqplot/plugins/jqplot.mekkoRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.meterGaugeRenderer.js +1112 -0
- data/data/jqplot/plugins/jqplot.meterGaugeRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.ohlcRenderer.js +343 -0
- data/data/jqplot/plugins/jqplot.ohlcRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.pieRenderer.js +749 -0
- data/data/jqplot/plugins/jqplot.pieRenderer.min.js +34 -0
- data/data/jqplot/plugins/jqplot.pointLabels.js +325 -0
- data/data/jqplot/plugins/jqplot.pointLabels.min.js +34 -0
- data/data/jqplot/plugins/jqplot.trendline.js +208 -0
- data/data/jqplot/plugins/jqplot.trendline.min.js +34 -0
- data/data/jqplot/usage.txt +119 -0
- data/examples/graph.rb +17 -0
- data/lib/reportbuilder.rb +21 -2
- data/lib/reportbuilder/builder.rb +31 -3
- data/lib/reportbuilder/builder/html.rb +39 -5
- data/lib/reportbuilder/graph.rb +252 -0
- data/lib/reportbuilder/graph/html_flot.rb +149 -0
- data/lib/reportbuilder/graph/html_jqplot.rb +145 -0
- data/lib/reportbuilder/image.rb +178 -78
- data/lib/reportbuilder/table/rtfbuilder.rb +2 -2
- data/test/helper_test.rb +6 -7
- data/test/test_graph.rb +44 -0
- data/test/test_graph_html_flot.rb +36 -0
- data/test/test_graph_html_jqplot.rb +36 -0
- data/test/test_html.rb +4 -7
- data/test/test_image.rb +35 -7
- data/test/test_reportbuilder.rb +4 -6
- data/test/test_table.rb +0 -2
- metadata +402 -7
- metadata.gz.sig +4 -2
@@ -0,0 +1,155 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<link rel="stylesheet" type="text/css" href="../jquery.jqplot.css" />
|
4
|
+
<link rel="stylesheet" type="text/css" href="examples.css" />
|
5
|
+
<!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
|
6
|
+
|
7
|
+
<!-- BEGIN: load jquery -->
|
8
|
+
<script language="javascript" type="text/javascript" src="../jquery-1.4.2.min.js"></script>
|
9
|
+
|
10
|
+
<!-- END: load jquery -->
|
11
|
+
|
12
|
+
<!-- BEGIN: load jqplot -->
|
13
|
+
<script language="javascript" type="text/javascript" src="../jquery.jqplot.js"></script>
|
14
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.logAxisRenderer.js"></script>
|
15
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.js"></script>
|
16
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasAxisLabelRenderer.js"></script>
|
17
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasAxisTickRenderer.js"></script>
|
18
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.js"></script>
|
19
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.js"></script>
|
20
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.barRenderer.js"></script>
|
21
|
+
|
22
|
+
<style type="text/css">
|
23
|
+
.jqplot-point-label {white-space: nowrap;}
|
24
|
+
/* .jqplot-yaxis-label {font-size: 14pt;}*/
|
25
|
+
/* .jqplot-yaxis-tick {font-size: 7pt;}*/
|
26
|
+
.jqplot { margin: 30px 30px 60px 50px;}
|
27
|
+
/* .jqplot-xaxis { margin-top: 10px;}
|
28
|
+
.jqplot-xaxis-tick {padding-top: 0px;}
|
29
|
+
.jqplot-yaxis {margin-right: 10px;}
|
30
|
+
.jqplot-yaxis-tick {padding-right: 0px;}*/
|
31
|
+
</style>
|
32
|
+
|
33
|
+
|
34
|
+
<script type="text/javascript" language="javascript"><!--
|
35
|
+
$(document).ready(function(){
|
36
|
+
$.jqplot.config.enablePlugins = true;
|
37
|
+
|
38
|
+
line = [['Cup Holder Pinion Bob', 7], ['Generic Fog Lamp', 9], ['HDTV Receiver', 15], ['8 Track Control Module', 12], [' Sludge Pump Fourier Modulator', 3], ['Transcender/Spice Rack', 6], ['Hair Spray Danger Indicator', 18]];
|
39
|
+
line2 = [['Nickle', 28], ['Aluminum', 13], ['Xenon', 54], ['Silver', 47], ['Sulfer', 16], ['Silicon', 14], ['Vanadium', 23]];
|
40
|
+
|
41
|
+
plot1 = $.jqplot('chart1', [line], {
|
42
|
+
title: 'Concern vs. Occurrance',
|
43
|
+
series:[{renderer:$.jqplot.BarRenderer}],
|
44
|
+
axes: {
|
45
|
+
xaxis: {
|
46
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
47
|
+
label: 'Warranty Concern',
|
48
|
+
// labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
|
49
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
50
|
+
tickOptions: {
|
51
|
+
enableFontSupport: true,
|
52
|
+
angle: -30
|
53
|
+
}
|
54
|
+
|
55
|
+
},
|
56
|
+
yaxis: {
|
57
|
+
autoscale:true,
|
58
|
+
label: 'Occurance',
|
59
|
+
// labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
|
60
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
61
|
+
tickOptions: {
|
62
|
+
enableFontSupport: true,
|
63
|
+
angle: -30
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
});
|
68
|
+
|
69
|
+
plot2 = $.jqplot('chart2', [line, line2], {
|
70
|
+
// title: 'Concern vs. Occurrance',
|
71
|
+
series:[{renderer:$.jqplot.BarRenderer}, {xaxis:'x2axis', yaxis:'y2axis'}],
|
72
|
+
axes: {
|
73
|
+
xaxis: {
|
74
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
75
|
+
label: 'Warranty Concern',
|
76
|
+
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
|
77
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
78
|
+
tickOptions: {
|
79
|
+
angle: 30
|
80
|
+
}
|
81
|
+
},
|
82
|
+
x2axis: {
|
83
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
84
|
+
label: 'Metal',
|
85
|
+
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
|
86
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
87
|
+
tickOptions: {
|
88
|
+
angle: 30
|
89
|
+
}
|
90
|
+
},
|
91
|
+
yaxis: {
|
92
|
+
autoscale:true,
|
93
|
+
label: 'Occurance',
|
94
|
+
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
|
95
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
96
|
+
tickOptions: {
|
97
|
+
angle: 30
|
98
|
+
}
|
99
|
+
},
|
100
|
+
y2axis: {
|
101
|
+
autoscale:true,
|
102
|
+
label: 'Number',
|
103
|
+
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
|
104
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
105
|
+
tickOptions: {
|
106
|
+
angle: 30
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
});
|
111
|
+
|
112
|
+
plot3 = $.jqplot('chart3', [line], {
|
113
|
+
title: 'Concern vs. Occurrance',
|
114
|
+
series:[{renderer:$.jqplot.BarRenderer}],
|
115
|
+
axes: {
|
116
|
+
xaxis: {
|
117
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
118
|
+
label: 'Warranty Concern',
|
119
|
+
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
|
120
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
121
|
+
tickOptions: {
|
122
|
+
labelPosition:'middle',
|
123
|
+
angle: -30
|
124
|
+
}
|
125
|
+
|
126
|
+
},
|
127
|
+
yaxis: {
|
128
|
+
autoscale:true,
|
129
|
+
label: 'Occurance',
|
130
|
+
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
|
131
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
132
|
+
tickOptions: {
|
133
|
+
labelPosition:'middle',
|
134
|
+
angle: -30
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
});
|
139
|
+
|
140
|
+
|
141
|
+
});
|
142
|
+
-->
|
143
|
+
</script>
|
144
|
+
|
145
|
+
</head>
|
146
|
+
<body>
|
147
|
+
<?php include "nav.inc"; ?>
|
148
|
+
<div class="jqplot" id="chart1" class="graph"></div>
|
149
|
+
<div class="jqplot" id="chart2" class="graph"></div>
|
150
|
+
<div class="jqplot" id="chart3" class="graph"></div>
|
151
|
+
|
152
|
+
</body>
|
153
|
+
|
154
|
+
|
155
|
+
</html>
|
@@ -0,0 +1,198 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
6
|
+
<title>Multiple Chart types on same page</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.min.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.canvasTextRenderer.js"></script>
|
19
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasAxisTickRenderer.js"></script>
|
20
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.js"></script>
|
21
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.barRenderer.js"></script>
|
22
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.js"></script>
|
23
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.pieRenderer.js"></script>
|
24
|
+
|
25
|
+
<!-- END: load jqplot -->
|
26
|
+
<style type="text/css" media="screen">
|
27
|
+
.jqplot-axis {
|
28
|
+
font-size: 0.85em;
|
29
|
+
}
|
30
|
+
.jqplot-title {
|
31
|
+
font-size: 1.1em;
|
32
|
+
}
|
33
|
+
</style>
|
34
|
+
<script type="text/javascript" language="javascript">
|
35
|
+
|
36
|
+
$(document).ready(function(){
|
37
|
+
$.jqplot.config.enablePlugins = true;
|
38
|
+
|
39
|
+
l1 = [2, 3, 1, 4, 3];
|
40
|
+
l2 = [1, 4, 3, 2, 5];
|
41
|
+
|
42
|
+
|
43
|
+
plot1 = $.jqplot('chart1', [l1, l2], {
|
44
|
+
title:'Stacked Filled Line Plot with Transparency (transparency not supported in IE6)',
|
45
|
+
stackSeries: true,
|
46
|
+
grid:{background:'#fefbf3', borderWidth:2.5},
|
47
|
+
seriesDefaults: {fill: true, showMarker: false, shadow: false},
|
48
|
+
axes:{xaxis:{pad:1.0, numberTicks:5, autoscale:false}, yaxis:{min:0, max:12, numberTicks:5}},
|
49
|
+
series:[{color:'rgba(68, 124, 147, 0.7)'}, {color:'rgba(150, 35, 90, 0.7)'}]
|
50
|
+
});
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
line1=[['2008-09-30', 4], ['2008-10-30', 6.5], ['2008-11-30', 5.7], ['2008-12-30', 9], ['2009-01-30', 8.2]];
|
55
|
+
|
56
|
+
plot2 = $.jqplot('chart2', [line1], {
|
57
|
+
title:'Rotated Axis Text',
|
58
|
+
axes:{
|
59
|
+
xaxis:{
|
60
|
+
renderer:$.jqplot.DateAxisRenderer,
|
61
|
+
min:'August 30, 2008',
|
62
|
+
tickInterval:'1 month',
|
63
|
+
rendererOptions:{
|
64
|
+
tickRenderer:$.jqplot.CanvasAxisTickRenderer},
|
65
|
+
tickOptions:{formatString:'%b %#d, %Y', fontSize:'10pt', fontFamily:'Tahoma', angle:-40, fontWeight:'normal', fontStretch:1}
|
66
|
+
}
|
67
|
+
},
|
68
|
+
series:[{lineWidth:4, markerOptions:{style:'square'}}]
|
69
|
+
});
|
70
|
+
|
71
|
+
line1 = [[4, 1], [4, 2], [3, 3], [16, 4]];
|
72
|
+
line2 = [[3, 1], [7, 2], [4, 3], [3.125, 4]];
|
73
|
+
plot3 = $.jqplot('chart3', [line1, line2], {
|
74
|
+
stackSeries: true,
|
75
|
+
legend: {
|
76
|
+
show: true,
|
77
|
+
location: 'se'
|
78
|
+
},
|
79
|
+
title: 'Unit Sales: Acme Decoy Division',
|
80
|
+
seriesDefaults: {
|
81
|
+
renderer: $.jqplot.BarRenderer,
|
82
|
+
rendererOptions: {
|
83
|
+
barDirection: 'horizontal',
|
84
|
+
barPadding: 6,
|
85
|
+
barMargin: 40
|
86
|
+
}
|
87
|
+
},
|
88
|
+
series: [{
|
89
|
+
label: '1st Qtr'
|
90
|
+
},
|
91
|
+
{
|
92
|
+
label: '2nd Qtr'
|
93
|
+
}],
|
94
|
+
axes: {
|
95
|
+
yaxis: {
|
96
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
97
|
+
ticks: ['Q1', 'Q2', 'Q3', 'Q4']
|
98
|
+
},
|
99
|
+
xaxis: {min: 0, max: 20, numberTicks:5}
|
100
|
+
}
|
101
|
+
});
|
102
|
+
|
103
|
+
line1 = [4, 2, 9, 16];
|
104
|
+
line2 = [3, 7, 6.25, 3.125];
|
105
|
+
plot3b = $.jqplot('chart3b', [line1, line2], {
|
106
|
+
stackSeries: true,
|
107
|
+
legend: {
|
108
|
+
show: true,
|
109
|
+
location: 'nw'
|
110
|
+
},
|
111
|
+
title: 'Unit Sales: Acme Decoy Division',
|
112
|
+
seriesDefaults: {
|
113
|
+
renderer: $.jqplot.BarRenderer,
|
114
|
+
rendererOptions: {
|
115
|
+
barPadding: 6,
|
116
|
+
barMargin: 40
|
117
|
+
}
|
118
|
+
},
|
119
|
+
series: [{
|
120
|
+
label: '1st Qtr'
|
121
|
+
},
|
122
|
+
{
|
123
|
+
label: '2nd Qtr'
|
124
|
+
}],
|
125
|
+
axes: {
|
126
|
+
xaxis: {
|
127
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
128
|
+
ticks: ['Q1', 'Q2', 'Q3', 'Q4']
|
129
|
+
},
|
130
|
+
yaxis: {min: 0, max: 20, numberTicks:5}
|
131
|
+
}
|
132
|
+
});
|
133
|
+
|
134
|
+
line1 = [4, 2, 9, 16];
|
135
|
+
line2 = [3, 7, 6.25, 3.125];
|
136
|
+
plot3c = $.jqplot('chart3c', [line1, line2], {
|
137
|
+
legend: {
|
138
|
+
show: true,
|
139
|
+
location: 'nw'
|
140
|
+
},
|
141
|
+
title: 'Unit Sales: Acme Decoy Division',
|
142
|
+
seriesDefaults: {
|
143
|
+
renderer: $.jqplot.BarRenderer,
|
144
|
+
rendererOptions: {
|
145
|
+
barPadding: 6,
|
146
|
+
barMargin: 20
|
147
|
+
}
|
148
|
+
},
|
149
|
+
series: [{
|
150
|
+
label: '1st Qtr'
|
151
|
+
},
|
152
|
+
{
|
153
|
+
label: '2nd Qtr'
|
154
|
+
}],
|
155
|
+
axes: {
|
156
|
+
xaxis: {
|
157
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
158
|
+
ticks: ['Q1', 'Q2', 'Q3', 'Q4']
|
159
|
+
},
|
160
|
+
yaxis: {min: 0, max: 20, numberTicks:5}
|
161
|
+
}
|
162
|
+
});
|
163
|
+
|
164
|
+
line1 = [['frogs', 3], ['buzzards', 7], ['deer', 2.5], ['turkeys', 6], ['moles', 5], ['ground hogs', 4]];
|
165
|
+
line2 = [3, 7, 2.5, 6, 5, 4];
|
166
|
+
|
167
|
+
plot4 = $.jqplot('chart4', [line1], {
|
168
|
+
title: 'Pie Chart with Legend and sliceMargin',
|
169
|
+
seriesDefaults:{renderer:$.jqplot.PieRenderer, rendererOptions:{sliceMargin:8}},
|
170
|
+
legend:{show:true}
|
171
|
+
});
|
172
|
+
|
173
|
+
l1 = [2.2, 3, .6, 4.8, 3];
|
174
|
+
l2 = [1, 4, 3, 2, 5.7];
|
175
|
+
|
176
|
+
|
177
|
+
plot5 = $.jqplot('chart5', [l1, l2]);
|
178
|
+
|
179
|
+
|
180
|
+
plot6 = $.jqplot('chart6', [[3,7,3,2,9,11,8]], {
|
181
|
+
axes:{xaxis:{numberTicks:5}}
|
182
|
+
});
|
183
|
+
|
184
|
+
});
|
185
|
+
</script>
|
186
|
+
</head>
|
187
|
+
<body>
|
188
|
+
<?php include "nav.inc"; ?>
|
189
|
+
<div id="chart1" style="margin-top:20px; margin-left:50px; width:360px; height:300px;"></div>
|
190
|
+
<div id="chart2" style="margin-top:20px; margin-left:50px; width:360px; height:300px;"></div>
|
191
|
+
<div id="chart3" style="margin-top:20px; margin-left:50px; width:360px; height:300px;"></div>
|
192
|
+
<div id="chart3b" style="margin-top:20px; margin-left:50px; width:360px; height:300px;"></div>
|
193
|
+
<div id="chart3c" style="margin-top:20px; margin-left:50px; width:360px; height:300px;"></div>
|
194
|
+
<div id="chart4" style="margin-top:20px; margin-left:50px; width:360px; height:300px;"></div>
|
195
|
+
<div id="chart5" style="margin-top:20px; margin-left:50px; width:360px; height:300px;"></div>
|
196
|
+
<div id="chart6" style="margin-top:20px; margin-left:50px; width:360px; height:300px;"></div>
|
197
|
+
</body>
|
198
|
+
</html>
|
@@ -0,0 +1,64 @@
|
|
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.dateAxisRenderer.js"></script>
|
20
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.barRenderer.js"></script>
|
21
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.js"></script>
|
22
|
+
<!-- END: load jqplot -->
|
23
|
+
<style type="text/css" media="screen">
|
24
|
+
.jqplot-axis {
|
25
|
+
font-size: 0.85em;
|
26
|
+
}
|
27
|
+
</style>
|
28
|
+
<script type="text/javascript" language="javascript">
|
29
|
+
|
30
|
+
$(document).ready(function(){
|
31
|
+
$.jqplot.config.enablePlugins = true;
|
32
|
+
|
33
|
+
line1 = [[2006, 4], [2008, 9], [2009, 16]];
|
34
|
+
line2 = [[2006, 3], [2007, 7], [2008, 6]];
|
35
|
+
line3 = [[2006, 5], [2007, 1], [2008, 3], [2009, 7]];
|
36
|
+
line4 = [[2006, 2], [2007, 5], [2008, 4], [2009, 9]];
|
37
|
+
|
38
|
+
plot1 = $.jqplot('chart1', [line1, line2, line3, line4], {
|
39
|
+
seriesDefaults:{renderer:$.jqplot.BarRenderer, rendererOptions:{barPadding:10, barMargin:10}},
|
40
|
+
legend: {show:true, location: 'nw'},
|
41
|
+
axes:{xaxis:{renderer:$.jqplot.CategoryAxisRenderer, rendererOptions:{sortMergedLabels:true}}, yaxis:{min:0, max:20, numberTicks:6}}
|
42
|
+
});
|
43
|
+
|
44
|
+
|
45
|
+
s1 = [4, 3, 9, 16, 12, 8];
|
46
|
+
s2 = [null, null, null, 3, 7, 6];
|
47
|
+
|
48
|
+
ticks = [2006, 2007, 2008, 2009, 2010, 2011];
|
49
|
+
|
50
|
+
plot2 = $.jqplot('chart2', [s1, s2], {
|
51
|
+
seriesDefaults:{},
|
52
|
+
legend: {show:true, location: 'nw'},
|
53
|
+
axes:{xaxis:{renderer:$.jqplot.CategoryAxisRenderer, ticks:ticks}, yaxis:{min:0, max:20, numberTicks:6}}
|
54
|
+
});
|
55
|
+
|
56
|
+
});
|
57
|
+
</script>
|
58
|
+
</head>
|
59
|
+
<body>
|
60
|
+
<?php include "nav.inc"; ?>
|
61
|
+
<div id="chart1" style="margin-top:20px; margin-left:20px; width:400px; height:300px;"></div>
|
62
|
+
<div id="chart2" style="margin-top:20px; margin-left:20px; width:400px; height:300px;"></div>
|
63
|
+
</body>
|
64
|
+
</html>
|
@@ -0,0 +1,283 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
6
|
+
<title>Bar Charts</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
|
+
<link type="text/css" href="jquery-ui/css/ui-lightness/jquery-ui-1.8.1.custom.css" rel="Stylesheet" />
|
17
|
+
<script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.1.custom.min.js"></script>
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
<!-- BEGIN: load jqplot -->
|
22
|
+
<script language="javascript" type="text/javascript" src="../jquery.jqplot.js"></script>
|
23
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.barRenderer.js"></script>
|
24
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.pieRenderer.js"></script>
|
25
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.js"></script>
|
26
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.highlighter.js"></script>
|
27
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.pointLabels.js"></script>
|
28
|
+
<!-- END: load jqplot -->
|
29
|
+
|
30
|
+
<style type="text/css">
|
31
|
+
.jqplot-target {
|
32
|
+
margin-bottom: 2em;
|
33
|
+
}
|
34
|
+
|
35
|
+
pre {
|
36
|
+
background: #D8F4DC;
|
37
|
+
border: 1px solid rgb(200, 200, 200);
|
38
|
+
padding-top: 1em;
|
39
|
+
padding-left: 3em;
|
40
|
+
padding-bottom: 1em;
|
41
|
+
margin-top: 1em;
|
42
|
+
margin-bottom: 4em;
|
43
|
+
|
44
|
+
}
|
45
|
+
|
46
|
+
p {
|
47
|
+
margin: 2em 0;
|
48
|
+
}
|
49
|
+
|
50
|
+
.note {
|
51
|
+
font-size: 0.8em;
|
52
|
+
}
|
53
|
+
</style>
|
54
|
+
|
55
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
56
|
+
var s1 = [2, 6, 7, 10];
|
57
|
+
var ticks = ['a', 'b', 'c', 'd'];
|
58
|
+
|
59
|
+
plot1 = $.jqplot('chart1', [s1], {
|
60
|
+
seriesDefaults:{
|
61
|
+
renderer:$.jqplot.BarRenderer,
|
62
|
+
pointLabels: { show: true }
|
63
|
+
},
|
64
|
+
axes: {
|
65
|
+
xaxis: {
|
66
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
67
|
+
ticks: ticks
|
68
|
+
}
|
69
|
+
},
|
70
|
+
highlighter: { show: false }
|
71
|
+
});
|
72
|
+
|
73
|
+
$('#chart1').bind('jqplotDataClick',
|
74
|
+
function (ev, seriesIndex, pointIndex, data) {
|
75
|
+
$('#info1').html('series: '+seriesIndex+', point: '+pointIndex+', data: '+data);
|
76
|
+
}
|
77
|
+
);
|
78
|
+
});</script>
|
79
|
+
|
80
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
81
|
+
var s1 = [2, 6, 7, 10];
|
82
|
+
var s2 = [7, 5, 3, 2];
|
83
|
+
var ticks = ['a', 'b', 'c', 'd'];
|
84
|
+
|
85
|
+
plot2 = $.jqplot('chart2', [s1, s2], {
|
86
|
+
seriesDefaults: {
|
87
|
+
renderer:$.jqplot.BarRenderer,
|
88
|
+
pointLabels: { show: true }
|
89
|
+
},
|
90
|
+
axes: {
|
91
|
+
xaxis: {
|
92
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
93
|
+
ticks: ticks
|
94
|
+
}
|
95
|
+
}
|
96
|
+
});
|
97
|
+
|
98
|
+
$('#chart2').bind('jqplotDataHighlight',
|
99
|
+
function (ev, seriesIndex, pointIndex, data) {
|
100
|
+
$('#info2').html('series: '+seriesIndex+', point: '+pointIndex+', data: '+data);
|
101
|
+
}
|
102
|
+
);
|
103
|
+
|
104
|
+
$('#chart2').bind('jqplotDataUnhighlight',
|
105
|
+
function (ev) {
|
106
|
+
$('#info2').html('Nothing');
|
107
|
+
}
|
108
|
+
);
|
109
|
+
});</script>
|
110
|
+
|
111
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
112
|
+
plot2b = $.jqplot('chart2b', [[[2,1], [4,2], [6,3], [3,4]], [[5,1], [1,2], [3,3], [4,4]], [[4,1], [7,2], [1,3], [2,4]]], {
|
113
|
+
seriesDefaults: {
|
114
|
+
renderer:$.jqplot.BarRenderer,
|
115
|
+
pointLabels: { show: true, location: 'e', edgeTolerance: -15 },
|
116
|
+
shadowAngle: 135,
|
117
|
+
rendererOptions: {
|
118
|
+
barDirection: 'horizontal'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
axes: {
|
122
|
+
yaxis: {
|
123
|
+
renderer: $.jqplot.CategoryAxisRenderer
|
124
|
+
}
|
125
|
+
}
|
126
|
+
});
|
127
|
+
|
128
|
+
$('#chart2b').bind('jqplotDataHighlight',
|
129
|
+
function (ev, seriesIndex, pointIndex, data) {
|
130
|
+
$('#info2b').html('series: '+seriesIndex+', point: '+pointIndex+', data: '+data+ ', pageX: '+ev.pageX+', pageY: '+ev.pageY);
|
131
|
+
}
|
132
|
+
);
|
133
|
+
$('#chart2b').bind('jqplotDataClick',
|
134
|
+
function (ev, seriesIndex, pointIndex, data) {
|
135
|
+
$('#info2c').html('series: '+seriesIndex+', point: '+pointIndex+', data: '+data+ ', pageX: '+ev.pageX+', pageY: '+ev.pageY);
|
136
|
+
}
|
137
|
+
);
|
138
|
+
|
139
|
+
$('#chart2b').bind('jqplotDataUnhighlight',
|
140
|
+
function (ev) {
|
141
|
+
$('#info2b').html('Nothing');
|
142
|
+
}
|
143
|
+
);
|
144
|
+
});</script>
|
145
|
+
|
146
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
147
|
+
var s1 = [2, 6, 7, 10];
|
148
|
+
var s2 = [7, 5, 3, 2];
|
149
|
+
var s3 = [14, 9, 3, 8];
|
150
|
+
plot3 = $.jqplot('chart3', [s1, s2, s3], {
|
151
|
+
stackSeries: true,
|
152
|
+
captureRightClick: true,
|
153
|
+
seriesDefaults:{
|
154
|
+
renderer:$.jqplot.BarRenderer,
|
155
|
+
rendererOptions: {
|
156
|
+
highlightMouseDown: true
|
157
|
+
},
|
158
|
+
pointLabels: {show: true}
|
159
|
+
},
|
160
|
+
legend: {
|
161
|
+
show: true,
|
162
|
+
location: 'e',
|
163
|
+
placement: 'outside'
|
164
|
+
}
|
165
|
+
});
|
166
|
+
|
167
|
+
$('#chart3').bind('jqplotDataRightClick',
|
168
|
+
function (ev, seriesIndex, pointIndex, data) {
|
169
|
+
$('#info3').html('series: '+seriesIndex+', point: '+pointIndex+', data: '+data);
|
170
|
+
}
|
171
|
+
);
|
172
|
+
});</script>
|
173
|
+
|
174
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
175
|
+
plot4 = $.jqplot('chart4', [[[2,1], [6,2], [7,3], [10,4]], [[7,1], [5,2],[3,3],[2,4]], [[14,1], [9,2], [9,3], [8,4]]], {
|
176
|
+
stackSeries: true,
|
177
|
+
captureRightClick: true,
|
178
|
+
seriesDefaults:{
|
179
|
+
renderer:$.jqplot.BarRenderer,
|
180
|
+
shadowAngle: 135,
|
181
|
+
rendererOptions: {
|
182
|
+
barDirection: 'horizontal',
|
183
|
+
highlightMouseDown: true
|
184
|
+
},
|
185
|
+
pointLabels: {show: true, formatString: '%d'}
|
186
|
+
},
|
187
|
+
legend: {
|
188
|
+
show: true,
|
189
|
+
location: 'e',
|
190
|
+
placement: 'outside'
|
191
|
+
},
|
192
|
+
axes: {
|
193
|
+
yaxis: {
|
194
|
+
renderer: $.jqplot.CategoryAxisRenderer
|
195
|
+
}
|
196
|
+
}
|
197
|
+
});
|
198
|
+
});</script>
|
199
|
+
|
200
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
201
|
+
plot5 = $.jqplot('chart5', [[[2,1], [null,2], [7,3], [10,4]]], {
|
202
|
+
captureRightClick: true,
|
203
|
+
seriesDefaults:{
|
204
|
+
renderer:$.jqplot.BarRenderer,
|
205
|
+
shadowAngle: 135,
|
206
|
+
rendererOptions: {
|
207
|
+
barDirection: 'horizontal',
|
208
|
+
highlightMouseDown: true
|
209
|
+
},
|
210
|
+
pointLabels: {show: true, formatString: '%d'}
|
211
|
+
},
|
212
|
+
legend: {
|
213
|
+
show: true,
|
214
|
+
location: 'e',
|
215
|
+
placement: 'outside'
|
216
|
+
},
|
217
|
+
axes: {
|
218
|
+
yaxis: {
|
219
|
+
renderer: $.jqplot.CategoryAxisRenderer
|
220
|
+
}
|
221
|
+
}
|
222
|
+
});
|
223
|
+
});</script>
|
224
|
+
|
225
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
226
|
+
plot6 = $.jqplot('chart6', [[1,2,3,4]], {seriesDefaults:{renderer:$.jqplot.PieRenderer}});
|
227
|
+
});</script>
|
228
|
+
|
229
|
+
<script type="text/javascript">
|
230
|
+
$(document).ready(function(){
|
231
|
+
$('script.code').each(function(index) {
|
232
|
+
$('pre.code').eq(index).text($(this).html());
|
233
|
+
});
|
234
|
+
$('script.common').each(function(index) {
|
235
|
+
$('pre.common').eq(index).html($(this).html());
|
236
|
+
});
|
237
|
+
$(document).unload(function() {$('*').unbind(); });
|
238
|
+
});
|
239
|
+
</script>
|
240
|
+
|
241
|
+
</head>
|
242
|
+
<body>
|
243
|
+
<?php include "nav.inc"; ?>
|
244
|
+
<p>To create bar plots, you have to include the "jqplot.barRenderer.js" file in your source.</p>
|
245
|
+
|
246
|
+
<p>Below is a default bar plot. Bars will highlight on mouseover. Events are triggered when you mouseover a bar and also when you click on a bar. Here We capture the 'jqplotDataClick' event and display the clicked series index, point index and data values. When series data is assigned as a 1-dimensional array as in this example, jqPlot automatically converts it into a 2-dimensional array for plotting. So a series defined as [2, 6, 7, 10] will become [[1,2], [2,6], [3,7], [4,10]].<p>
|
247
|
+
|
248
|
+
<div><span>You Clicked: </span><span id="info1">Nothing yet</span></div>
|
249
|
+
|
250
|
+
<div id="chart1" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
251
|
+
<pre class="code"></pre>
|
252
|
+
|
253
|
+
<p>The plot target also fires a 'jqplotDataMouseOver' when the cursor is moused over a bar even if highlighting is turned off. This event will fire continuously as the user mouses over the bar. 'jqplotDataHighlight' fires only once when the user first passes over the bar. Additionally, a 'jqplotDataUnhighlight' event is fired when the user moves out of a bar (if highlighting is enabled).<p>
|
254
|
+
|
255
|
+
<div><span>Moused Over: </span><span id="info2">Nothing</span></div>
|
256
|
+
|
257
|
+
<div id="chart2" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
258
|
+
<pre class="code"></pre>
|
259
|
+
|
260
|
+
<div><span>Moused Over: </span><span id="info2b">Nothing</span></div>
|
261
|
+
<div><span>Clicked: </span><span id="info2c">Nothing</span></div>
|
262
|
+
|
263
|
+
<div id="chart2b" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
264
|
+
<pre class="code"></pre>
|
265
|
+
|
266
|
+
<p>The next example has the plot's 'captureRightClick' option set to true. This causes the plot to fire a 'jqplotRightClick' event the the user clicks the right mouse button over a bar. Here, the 'highlightMouseDown' option is also set to true. This will highlight a slice on mouse down instead of on move over. Highlighting will occur for either left or right click.</p>
|
267
|
+
|
268
|
+
<div><span>You Right Clicked: </span><span id="info3">Nothing yet</span></div>
|
269
|
+
|
270
|
+
<div id="chart3" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
271
|
+
<pre class="code"></pre>
|
272
|
+
|
273
|
+
<div id="chart4" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
274
|
+
<pre class="code"></pre>
|
275
|
+
|
276
|
+
<div id="chart5" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
277
|
+
<pre class="code"></pre>
|
278
|
+
|
279
|
+
<p>A pie chart is added to test for incompatibilities.</p>
|
280
|
+
<div id="chart6" style="margin-top:20px; margin-left:20px; width:300px; height:200px;"></div>
|
281
|
+
<pre class="code"></pre>
|
282
|
+
</body>
|
283
|
+
</html>
|