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,93 @@
|
|
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.highlighter.js"></script>
|
20
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.enhancedLegendRenderer.js"></script>
|
21
|
+
|
22
|
+
<!-- END: load jqplot -->
|
23
|
+
<style type="text/css" media="screen">
|
24
|
+
.jqplot-axis {
|
25
|
+
font-size: 0.85em;
|
26
|
+
}
|
27
|
+
.jqplot-title {
|
28
|
+
font-size: 1.1em;
|
29
|
+
}
|
30
|
+
select, input {
|
31
|
+
margin-right: 15px;
|
32
|
+
}
|
33
|
+
#chart1 {
|
34
|
+
margin-bottom: 40px;
|
35
|
+
}
|
36
|
+
</style>
|
37
|
+
<script type="text/javascript" language="javascript">
|
38
|
+
|
39
|
+
$(document).ready(function(){
|
40
|
+
$.jqplot.config.enablePlugins = true;
|
41
|
+
|
42
|
+
var l1 = [3, 4, 1, 4, 2];
|
43
|
+
var l2 = [2, 5, 1, 4, 2];
|
44
|
+
var l3 = [1, 6, 1, 4, 2];
|
45
|
+
|
46
|
+
|
47
|
+
plot1 = $.jqplot('chart1', [l1, l2, l3], {
|
48
|
+
legend:{show:true, renderer:$.jqplot.EnhancedLegendRenderer},
|
49
|
+
seriesDefaults: {lineWidth:4},
|
50
|
+
series:[{label:'lions'}, {label:'tigers'}, {label:'bears'}],
|
51
|
+
seriesColors:['#cc6666', '#66cc66', '#6666cc'],
|
52
|
+
highlighter: {bringSeriesToFront: true}
|
53
|
+
});
|
54
|
+
|
55
|
+
});
|
56
|
+
</script>
|
57
|
+
</head>
|
58
|
+
<body>
|
59
|
+
<?php include "nav.inc"; ?>
|
60
|
+
|
61
|
+
<p>When lines overlap each other it can be difficult to tell what is going on with the series below the top. The highlighter plugin, the enhancedLegendRenderer plugin and special methods of plot help with this situation.</p>
|
62
|
+
|
63
|
+
<p>The highlighter plugin has been enhanced with a "bringSeriesToFront" option which will bring the series of the highlighted point to the front when a data point is highlighted. Note, however, when highlighting a point which coincides with multiple series, highlighter will detect this as the top most series and no highlighting effect will be noticed.</p>
|
64
|
+
|
65
|
+
<p>The enhancedLegendRenderer plugin enabled clickable legend labels which will show/hide series. This functionality can be disabled by setting the "seriesToggle" option on the legend renderer to false. You can also change the fade duration of the series by setting the seriesToggle option to a millisecond value like 450, or the 'slow' or 'fast' keywords.</p>
|
66
|
+
|
67
|
+
<p>On IE, series are simple toggled without the fading. This avoids some erratic behaviour with fading elements on IE. IE fading can be re-enabled be setting the disableIEFading option to false.</p>
|
68
|
+
|
69
|
+
<p> The plot object has 4 methods which can bring a series forward or push it backward on the stack. Click the buttons below to bring individual series to the front. The "Last Order" button will toggle the current series order with the last displayed series order. The "Original" button will reset the series to display in the order when the plot was created.</p>
|
70
|
+
|
71
|
+
|
72
|
+
<div id="chart1" style="margin-top:20px; margin-left:20px; width:360px; height:300px;"></div>
|
73
|
+
|
74
|
+
<button onclick="plot1.moveSeriesToFront(0);">Lions</button>
|
75
|
+
<button onclick="plot1.moveSeriesToFront(1);">Tigers</button>
|
76
|
+
<button onclick="plot1.moveSeriesToFront(2);">Bears</button>
|
77
|
+
|
78
|
+
<button onclick="plot1.restorePreviousSeriesOrder();">Last Order</button>
|
79
|
+
<button onclick="plot1.restoreOriginalSeriesOrder();">Original Order</button>
|
80
|
+
|
81
|
+
<p>The 4 methods to achieve this effect are:</p>
|
82
|
+
|
83
|
+
<pre>
|
84
|
+
plot.moveSeriesToFront(series index);
|
85
|
+
plot.restorePreviousSeriesOrder();
|
86
|
+
plot.restoreOriginalSeriesOrder();
|
87
|
+
plot.moveSeriesToBack(series index);
|
88
|
+
</pre>
|
89
|
+
|
90
|
+
<p>moveSeriesToBack is not demonstrated here, but is available.</p>
|
91
|
+
|
92
|
+
</body>
|
93
|
+
</html>
|
@@ -0,0 +1,123 @@
|
|
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
|
+
|
20
|
+
<!-- END: load jqplot -->
|
21
|
+
<style type="text/css" media="screen">
|
22
|
+
.jqplot-axis {
|
23
|
+
font-size: 0.85em;
|
24
|
+
}
|
25
|
+
.jqplot-title {
|
26
|
+
font-size: 1.1em;
|
27
|
+
}
|
28
|
+
select, input {
|
29
|
+
margin-right: 15px;
|
30
|
+
}
|
31
|
+
#chart1 {
|
32
|
+
margin-bottom: 40px;
|
33
|
+
}
|
34
|
+
</style>
|
35
|
+
<script type="text/javascript" language="javascript">
|
36
|
+
|
37
|
+
function updatePoint() {
|
38
|
+
var f = document.forms[0];
|
39
|
+
var seriesIndex = f.seriesId.selectedIndex;
|
40
|
+
var series = plot1.series[seriesIndex];
|
41
|
+
var data = series.data[f.pointId.selectedIndex];
|
42
|
+
var xval = parseFloat(f.xvalue.value);
|
43
|
+
var yval = parseFloat(f.yvalue.value);
|
44
|
+
data[0] = xval;
|
45
|
+
data[1] = yval;
|
46
|
+
plot1.drawSeries({}, seriesIndex);
|
47
|
+
return false;
|
48
|
+
}
|
49
|
+
|
50
|
+
function updateSeries() {
|
51
|
+
plot1.series[2].data = [[1,4], [2,6], [3,4], [4,1], [5,7]];
|
52
|
+
plot1.drawSeries({}, 2);
|
53
|
+
return false;
|
54
|
+
}
|
55
|
+
|
56
|
+
$(document).ready(function(){
|
57
|
+
$.jqplot.config.enablePlugins = true;
|
58
|
+
|
59
|
+
var l1 = [2, 3, 1, 4, 3];
|
60
|
+
var l2 = [1, 4, 3, 2, 5];
|
61
|
+
var l3 = [7, 9, 11, 6, 8];
|
62
|
+
|
63
|
+
|
64
|
+
plot1 = $.jqplot('chart1', [l1, l2, l3], {
|
65
|
+
legend:{show:true},
|
66
|
+
series:[{label:'lions'}, {label:'tigers'}, {label:'bears'}]
|
67
|
+
});
|
68
|
+
|
69
|
+
});
|
70
|
+
</script>
|
71
|
+
</head>
|
72
|
+
<body>
|
73
|
+
<?php include "nav.inc"; ?>
|
74
|
+
<p>This example demonstrates how to update a point in a series and then redraw just that series. You can select a series, a point and change it's x and y value with the form below the chart.</p>
|
75
|
+
|
76
|
+
<div id="chart1" style="margin-top:20px; margin-left:20px; width:360px; height:300px;"></div>
|
77
|
+
|
78
|
+
<form action="#" onsubmit="return updatePoint();">
|
79
|
+
Series: <select name="seriesId">
|
80
|
+
<option value="0">lions</option>
|
81
|
+
<option value="1">tigers</option>
|
82
|
+
<option value="2">bears</option>
|
83
|
+
</select>
|
84
|
+
Point: <select name="pointId">
|
85
|
+
<option value="0">first</option>
|
86
|
+
<option value="1">second</option>
|
87
|
+
<option value="2">third</option>
|
88
|
+
<option value="3">fourth</option>
|
89
|
+
<option value="4">fifth</option>
|
90
|
+
</select>
|
91
|
+
X: <input type="text" size="3" name="xvalue" />
|
92
|
+
Y: <input type="text" size="3" name="yvalue" />
|
93
|
+
<input type="submit" name="submit" value="Update" />
|
94
|
+
</form>
|
95
|
+
|
96
|
+
<p>The mechanism to update data in a series and then redraw the series is simple. update the data in the "plot.series[seriesIndex].data[dataIndex]" and then redraw just that series with "plot.drawSeries(options, seriesIndex);" Here is the relavent code which updates the series on this chart:</p>
|
97
|
+
|
98
|
+
<pre>
|
99
|
+
var f = document.forms[0];
|
100
|
+
var seriesIndex = f.seriesId.selectedIndex;
|
101
|
+
var series = plot1.series[seriesIndex];
|
102
|
+
var data = series.data[f.pointId.selectedIndex];
|
103
|
+
var xval = parseFloat(f.xvalue.value);
|
104
|
+
var yval = parseFloat(f.yvalue.value);
|
105
|
+
data[0] = xval;
|
106
|
+
data[1] = yval;
|
107
|
+
plot1.drawSeries({}, seriesIndex);
|
108
|
+
</pre>
|
109
|
+
|
110
|
+
<p>You can also update an entire series dataset at once and redraw the series like so:</p>
|
111
|
+
|
112
|
+
<pre>
|
113
|
+
plot1.series[2].data = [[1,4], [2,6], [3,4], [4,1], [5,7]];
|
114
|
+
plot1.drawSeries({}, 2);
|
115
|
+
</pre>
|
116
|
+
|
117
|
+
<p> You can test this by clicking the button below. You should see the entire "bears" line drop lower on the chart.</p>
|
118
|
+
<button onclick="return updateSeries();">Update Series</button>
|
119
|
+
|
120
|
+
|
121
|
+
<p> Note that the redrawSeries method does not do any axes scaling or redraw any other elements on the chart. It is intended to be a lightweight method to redraw just one series. Also note, if no series Index is passed in as the second parameter to drawSeries, it will redraw all series without rescaling or redrawing other plot elements.</p>
|
122
|
+
</body>
|
123
|
+
</html>
|
@@ -0,0 +1,133 @@
|
|
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.barRenderer.js"></script>
|
20
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.js"></script>
|
21
|
+
<!-- END: load jqplot -->
|
22
|
+
<style type="text/css" media="screen">
|
23
|
+
.jqplot-axis {
|
24
|
+
font-size: 0.85em;
|
25
|
+
}
|
26
|
+
.jqplot-legend {
|
27
|
+
font-size: 0.75em;
|
28
|
+
}
|
29
|
+
</style>
|
30
|
+
<script type="text/javascript" language="javascript">
|
31
|
+
|
32
|
+
$(document).ready(function(){
|
33
|
+
$.jqplot.config.enablePlugins = true;
|
34
|
+
|
35
|
+
var cosPoints1 = [];
|
36
|
+
var cosPoints2 = [];
|
37
|
+
var cosPoints3 = [];
|
38
|
+
var cosPoints4 = [];
|
39
|
+
for (var i = 0; i < 2 * Math.PI; i += 0.1) {
|
40
|
+
cosPoints1.push([i, Math.cos(i)]);
|
41
|
+
cosPoints2.push([i, Math.cos(i)+1]);
|
42
|
+
cosPoints3.push([i, Math.cos(i)+2]);
|
43
|
+
cosPoints4.push([i, Math.cos(i)+3]);
|
44
|
+
}
|
45
|
+
plot = $.jqplot('chart', [cosPoints1, cosPoints2, cosPoints3, cosPoints4], {
|
46
|
+
title: 'New Shadow Algorithm',
|
47
|
+
seriesDefaults:{showMarker: false},
|
48
|
+
series: [{lineWidth: 1.5}, {lineWidth: 2.5}, {lineWidth: 5}, {lineWidth: 8}]
|
49
|
+
});
|
50
|
+
|
51
|
+
|
52
|
+
line1 = [1, 4, 9, 16];
|
53
|
+
line2 = [25, 12.5, 6.25, 3.125];
|
54
|
+
line3 = [2, 7, 15, 30];
|
55
|
+
plot2 = $.jqplot('chart2', [line1, line2, line3], {
|
56
|
+
stackSeries: true,
|
57
|
+
legend: {
|
58
|
+
show: true,
|
59
|
+
location: 'nw',
|
60
|
+
xoffset: 55
|
61
|
+
},
|
62
|
+
title: 'Bar Chart with Shadows',
|
63
|
+
seriesDefaults: {
|
64
|
+
renderer: $.jqplot.BarRenderer,
|
65
|
+
rendererOptions: {
|
66
|
+
barPadding: 2,
|
67
|
+
barMargin: 40
|
68
|
+
}
|
69
|
+
},
|
70
|
+
series: [{
|
71
|
+
label: 'Profits'
|
72
|
+
},
|
73
|
+
{
|
74
|
+
label: 'Expenses'
|
75
|
+
},
|
76
|
+
{
|
77
|
+
label: 'Sales'
|
78
|
+
}],
|
79
|
+
axes: {
|
80
|
+
xaxis: {
|
81
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
82
|
+
ticks: ['1st Qtr', '2nd Qtr', '3rd Qtr', '4th Qtr']
|
83
|
+
}
|
84
|
+
}
|
85
|
+
});
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
line1 = [1, 4, 3, 2];
|
90
|
+
line2 = [7, 1, 2, 1];
|
91
|
+
line3 = [2, 7, 1, 3];
|
92
|
+
plot3 = $.jqplot('chart3', [line1, line2, line3], {
|
93
|
+
legend: {
|
94
|
+
show: true,
|
95
|
+
location: 'nw',
|
96
|
+
xoffset: 55
|
97
|
+
},
|
98
|
+
title: 'Bar Chart with Shadows',
|
99
|
+
seriesDefaults: {
|
100
|
+
renderer: $.jqplot.BarRenderer,
|
101
|
+
rendererOptions: {
|
102
|
+
barPadding: 10,
|
103
|
+
barMargin: 10
|
104
|
+
}
|
105
|
+
},
|
106
|
+
series: [{
|
107
|
+
label: 'Profits'
|
108
|
+
},
|
109
|
+
{
|
110
|
+
label: 'Expenses'
|
111
|
+
},
|
112
|
+
{
|
113
|
+
label: 'Sales'
|
114
|
+
}],
|
115
|
+
axes: {
|
116
|
+
xaxis: {
|
117
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
118
|
+
ticks: ['1st Qtr', '2nd Qtr', '3rd Qtr', '4th Qtr']
|
119
|
+
},
|
120
|
+
yaxis: {min:0}
|
121
|
+
}
|
122
|
+
});
|
123
|
+
|
124
|
+
});
|
125
|
+
</script>
|
126
|
+
</head>
|
127
|
+
<body>
|
128
|
+
<?php include "nav.inc"; ?>
|
129
|
+
<div id="chart" style="margin-top:20px; margin-left:20px; width:400px; height:400px;"></div>
|
130
|
+
<div id="chart2" style="margin-top:20px; margin-left:20px; width:400px; height:400px;"></div>
|
131
|
+
<div id="chart3" style="margin-top:20px; margin-left:20px; width:400px; height:400px;"></div>
|
132
|
+
</body>
|
133
|
+
</html>
|
@@ -0,0 +1,70 @@
|
|
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>Single Negative Point</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
|
+
|
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.canvasAxisTickRenderer.js"></script>
|
19
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.js"></script>
|
20
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.cursor.js"></script>
|
21
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.highlighter.js"></script>
|
22
|
+
|
23
|
+
<!-- END: load jqplot -->
|
24
|
+
<script language="javascript" type="text/javascript">
|
25
|
+
|
26
|
+
$(document).ready(function(){
|
27
|
+
$.jqplot.config.enablePlugins = true;
|
28
|
+
|
29
|
+
line1 = [-2];
|
30
|
+
plot = $.jqplot('chart',[line1],{
|
31
|
+
title: 'Rotated Text with Canvas Axis',
|
32
|
+
axesDefaults:{tickOptions:{formatString:'%.2f'}},
|
33
|
+
axes: {
|
34
|
+
xaxis: {
|
35
|
+
rendererOptions: {
|
36
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer
|
37
|
+
},
|
38
|
+
tickOptions: {
|
39
|
+
angle: -40
|
40
|
+
}
|
41
|
+
}
|
42
|
+
},
|
43
|
+
series: [{
|
44
|
+
markerOptions: {
|
45
|
+
size: 12
|
46
|
+
}
|
47
|
+
}],
|
48
|
+
|
49
|
+
cursor:{
|
50
|
+
zoom:true,
|
51
|
+
tooltipOffset: 10,
|
52
|
+
tooltipLocation: 'nw'
|
53
|
+
},
|
54
|
+
|
55
|
+
highlighter: {
|
56
|
+
sizeAdjust: 6
|
57
|
+
}
|
58
|
+
});
|
59
|
+
|
60
|
+
});
|
61
|
+
|
62
|
+
|
63
|
+
</script>
|
64
|
+
|
65
|
+
</head>
|
66
|
+
<body>
|
67
|
+
<?php include "nav.inc"; ?>
|
68
|
+
<div id="chart" style="height:200px; width:300px;"></div>
|
69
|
+
</body>
|
70
|
+
</html>
|
@@ -0,0 +1,48 @@
|
|
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>Sparkline 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
|
+
|
20
|
+
<!-- END: load jqplot -->
|
21
|
+
<script type="text/javascript" language="javascript">
|
22
|
+
|
23
|
+
$(document).ready(function(){
|
24
|
+
$.jqplot.config.enablePlugins = true;
|
25
|
+
|
26
|
+
myvalues = [1242573966, 14400, 1242573966, 5000, 1242573966, 0];
|
27
|
+
|
28
|
+
$.jqplot('curr_sparkline', [myvalues], {
|
29
|
+
gridPadding: {top:0, right:0, bottom:0, left:0},
|
30
|
+
axes: {
|
31
|
+
xaxis: { showTicks: false, showTickMarks: false },
|
32
|
+
yaxis: { showTicks: false, showTickMarks: false } },
|
33
|
+
title: { text: '', show: false },
|
34
|
+
series: [
|
35
|
+
{lineWidth: 1, markerOptions: { show: true, style: 'filledCircle', lineWidth: .5, size: 2, color: '#666666', shadow: false} }
|
36
|
+
],
|
37
|
+
grid: { drawGridLines: false, gridLineColor: '#fffdf6', background: '#fffdf6', borderColor: '#999999', borderWidth: 1, shadow: false }
|
38
|
+
});
|
39
|
+
|
40
|
+
});
|
41
|
+
|
42
|
+
</script>
|
43
|
+
</head>
|
44
|
+
<body>
|
45
|
+
<?php include "nav.inc"; ?>
|
46
|
+
<div id="curr_sparkline" style="margin-top:20px; margin-left:20px; width:100px; height:40px;"></div>
|
47
|
+
</body>
|
48
|
+
</html>
|