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,56 @@
|
|
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
|
+
|
6
|
+
<!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
|
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.dateAxisRenderer.js"></script>
|
15
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasAxisTickRenderer.js"></script>
|
16
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.js"></script>
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
<script type="text/javascript" language="javascript">
|
21
|
+
|
22
|
+
$(document).ready(function(){
|
23
|
+
$.jqplot.config.enablePlugins = true;
|
24
|
+
var line1 = [['04-05-2006',4], ['04-06-2006',5],['05-03-2006',9], ['05-15-2006',6]];
|
25
|
+
var line2 = [['04-05-2006',1], ['04-06-2006',2],['05-03-2006',6], ['05-15-2006',1]];
|
26
|
+
plot1 = $.jqplot("chart4", [line1,line2], {
|
27
|
+
stackSeries: true,
|
28
|
+
legend: {show: true, location: 'nw'},
|
29
|
+
title: 'Test Results',
|
30
|
+
seriesDefaults: {fill:true, showMarker:false},
|
31
|
+
series: [{label: 'Traps'},{label:'Decoy'}],
|
32
|
+
axes: {
|
33
|
+
xaxis: {renderer:$.jqplot.DateAxisRenderer,
|
34
|
+
rendererOptions:{tickRenderer:$.jqplot.CanvasAxisTickRenderer},
|
35
|
+
tickOptions:{
|
36
|
+
formatString:'%b %#d, %Y',
|
37
|
+
fontSize:'10pt',
|
38
|
+
fontFamily:'Tahoma',
|
39
|
+
angle:-30
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
});
|
44
|
+
});
|
45
|
+
|
46
|
+
|
47
|
+
</script>
|
48
|
+
</head>
|
49
|
+
<body>
|
50
|
+
<?php include "nav.inc"; ?>
|
51
|
+
<div id="chart4" class='plot' style="margin-top:20px; margin-left:20px; width:400px; height:300px;"></div>
|
52
|
+
|
53
|
+
</body>
|
54
|
+
|
55
|
+
|
56
|
+
</html>
|
@@ -0,0 +1,64 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
6
|
+
<title>Simple Test</title>
|
7
|
+
<!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.min.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.logAxisRenderer.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
|
+
|
23
|
+
<!-- END: load jqplot -->
|
24
|
+
<style type="text/css" media="screen">
|
25
|
+
.jqplot-axis {
|
26
|
+
font-size: 0.85em;
|
27
|
+
}
|
28
|
+
</style>
|
29
|
+
|
30
|
+
<script type="text/javascript" language="javascript">
|
31
|
+
|
32
|
+
$(document).ready(function(){
|
33
|
+
$.jqplot.config.enablePlugins = true;
|
34
|
+
var goog = [["2009/6/22 2:12",425.32],["2009/6/22 9:11",420.09],["2009/6/22 9:13",424.84],["2009/6/22 9:14",444.32],["2009/6/22 10:15",417.23],["2009/6/22 12:15",393.5]];
|
35
|
+
|
36
|
+
plot = $.jqplot('chart', [goog], {
|
37
|
+
title: 'Google, Inc.',
|
38
|
+
series: [{
|
39
|
+
label: 'Google, Inc.',
|
40
|
+
neighborThreshold: -1
|
41
|
+
}],
|
42
|
+
axes: {
|
43
|
+
xaxis: {
|
44
|
+
renderer:$.jqplot.DateAxisRenderer,
|
45
|
+
min:'2009/6/22 1:00',
|
46
|
+
tickInterval: "1 hours",
|
47
|
+
tickOptions:{formatString:"%H:%M"}
|
48
|
+
},
|
49
|
+
yaxis: {
|
50
|
+
renderer: $.jqplot.LogAxisRenderer,
|
51
|
+
tickOptions:{formatString:'$%.2f'}
|
52
|
+
}
|
53
|
+
},
|
54
|
+
cursor:{zoom:true, showTooltip:false, clickReset:true}
|
55
|
+
});
|
56
|
+
});
|
57
|
+
</script>
|
58
|
+
</head>
|
59
|
+
<body>
|
60
|
+
<?php include "nav.inc"; ?>
|
61
|
+
<div id="chart" style="margin-top:20px; margin-left:20px; width:1000px; height:300px;"></div>
|
62
|
+
<div style="padding-top:20px"><button value="reset" type="button" onclick="$.jqplot.Cursor.resetZoom(plot)">Zoom Out</button></div>
|
63
|
+
</body>
|
64
|
+
</html>
|
@@ -0,0 +1,483 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html lang="en">
|
4
|
+
<head>
|
5
|
+
<!-- Use Compatibility mode in IE -->
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
8
|
+
<title>Theming Test</title>
|
9
|
+
<!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
|
10
|
+
|
11
|
+
<!-- <link rel="stylesheet" type="text/css" href="../themes/jqplot.brass.css" /> -->
|
12
|
+
<link rel="stylesheet" type="text/css" href="../jquery.jqplot.css" />
|
13
|
+
<link rel="stylesheet" type="text/css" href="examples.css" />
|
14
|
+
|
15
|
+
<!-- BEGIN: load jquery -->
|
16
|
+
<script language="javascript" type="text/javascript" src="../jquery-1.4.2.min.js"></script>
|
17
|
+
<!-- END: load jquery -->
|
18
|
+
|
19
|
+
<!-- BEGIN: load jqplot -->
|
20
|
+
<script language="javascript" type="text/javascript" src="../jquery.jqplot.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
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.donutRenderer.js"></script>
|
25
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.highlighter.js"></script>
|
26
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.cursor.js"></script>
|
27
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.funnelRenderer.js"></script>
|
28
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.js"></script>
|
29
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasAxisTickRenderer.js"></script>
|
30
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasAxisLabelRenderer.js"></script>
|
31
|
+
<!-- END: load jqplot -->
|
32
|
+
|
33
|
+
<style type="text/css">
|
34
|
+
.jqplot-target {
|
35
|
+
margin: 30px;
|
36
|
+
}
|
37
|
+
</style>
|
38
|
+
|
39
|
+
<script language="javascript" type="text/javascript">
|
40
|
+
$(document).ready(function(){
|
41
|
+
|
42
|
+
l1 = [['Seoul', 1], ['Paris', 7], ['Singapore',3], ['Hong Kong',5], ['Chicago', 2], ['New York', 9]];
|
43
|
+
l2 = [11, 9, 5, 12, 14];
|
44
|
+
l3 = [4, 8, 5, 3, 6];
|
45
|
+
l4 = [12, 6, 13, 11, 2];
|
46
|
+
l5 = [4, -3, 3, 6, 2, -2];
|
47
|
+
|
48
|
+
pop1980 = [7071639, 2968528, 3005072, 1595138, 789704, 1688210, 785940, 904599];
|
49
|
+
pop1990 = [7322564, 3485398, 2783726, 1630553, 983403, 1585577, 935933, 1006877];
|
50
|
+
pop2000 = [8008654, 3694644, 2896051, 1974152, 1322025, 1517550, 1160005, 1188603];
|
51
|
+
pop2008 = [8363710, 3833995, 2853114, 2242193, 1567924, 1447395, 1351305, 1279910];
|
52
|
+
|
53
|
+
ticks = ["New York", "Los Angeles", "Chicago", "Houston", "Phoenix", "Philadelphia", "San Antonio", "Dallas"];
|
54
|
+
|
55
|
+
plot1 = $.jqplot('chart1',[l2],{
|
56
|
+
title: 'Line Chart',
|
57
|
+
highlighter: {
|
58
|
+
show:true
|
59
|
+
},
|
60
|
+
cursor: {
|
61
|
+
show: true,
|
62
|
+
zoom: true
|
63
|
+
},
|
64
|
+
axes: {
|
65
|
+
xaxis: {
|
66
|
+
label: 'Sample'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
});
|
70
|
+
|
71
|
+
plot1b = $.jqplot('chart1b',[l2, l3, l4],{
|
72
|
+
stackSeries: true,
|
73
|
+
showMarker: false,
|
74
|
+
seriesDefaults: {
|
75
|
+
fill: true
|
76
|
+
}
|
77
|
+
});
|
78
|
+
|
79
|
+
plot2 = $.jqplot('chart2',[pop1980, pop1990, pop2000, pop2008],{
|
80
|
+
title: 'City Population',
|
81
|
+
legend: {
|
82
|
+
show: true
|
83
|
+
},
|
84
|
+
seriesDefaults: {
|
85
|
+
renderer: $.jqplot.BarRenderer,
|
86
|
+
rendererOptions: {
|
87
|
+
barPadding: 2
|
88
|
+
}
|
89
|
+
},
|
90
|
+
series: [
|
91
|
+
{label: '1980'},
|
92
|
+
{label: '1990'},
|
93
|
+
{label: '2000'},
|
94
|
+
{label: '2008 (est)'}
|
95
|
+
],
|
96
|
+
axes: {
|
97
|
+
xaxis: {
|
98
|
+
label: 'City',
|
99
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
100
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
101
|
+
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
|
102
|
+
ticks: ticks,
|
103
|
+
tickOptions: {
|
104
|
+
angle: -30
|
105
|
+
}
|
106
|
+
},
|
107
|
+
yaxis: {
|
108
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
109
|
+
max: 9000000,
|
110
|
+
min: 0,
|
111
|
+
tickOptions: {
|
112
|
+
formatString: '%d',
|
113
|
+
angle: -30
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
});
|
118
|
+
|
119
|
+
plot3 = $.jqplot('chart3',[l1],{
|
120
|
+
title: 'Global City Index',
|
121
|
+
legend: {
|
122
|
+
show: true,
|
123
|
+
rendererOptions: {
|
124
|
+
// numberColumns: 2,
|
125
|
+
fontSize: '10pt'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
seriesDefaults: {
|
129
|
+
renderer: $.jqplot.FunnelRenderer
|
130
|
+
}
|
131
|
+
});
|
132
|
+
|
133
|
+
plot5 = $.jqplot('chart5',[l1],{
|
134
|
+
title: 'Pie Chart',
|
135
|
+
seriesDefaults: {
|
136
|
+
renderer: $.jqplot.PieRenderer
|
137
|
+
},
|
138
|
+
legend: {
|
139
|
+
show: true
|
140
|
+
}
|
141
|
+
});
|
142
|
+
|
143
|
+
e1 = plot1.themeEngine;
|
144
|
+
brass = e1.copy('Default', 'brass');
|
145
|
+
brass.title.fontFamily = 'Copperplate, Impact';
|
146
|
+
brass.grid.backgroundColor = "rgb(216, 198, 114)";
|
147
|
+
brass.grid.drawGridlines = false;
|
148
|
+
brass.series[0].lineWidth = 6.5;
|
149
|
+
brass.series[0].markerOptions.show = false;
|
150
|
+
// brass.axes.xaxis.ticks.fontFamily = "Copperplate, Impact";
|
151
|
+
brass.axesStyles.label.fontFamily = "Copperplate, 'Copperplate Gothic Light', Impact";
|
152
|
+
brass.axesStyles.ticks.fontFamily = "Copperplate, 'Copperplate Gothic Light', Impact";
|
153
|
+
brass.axesStyles.label.fontSize = '14pt';
|
154
|
+
|
155
|
+
temp = {
|
156
|
+
grid: {
|
157
|
+
backgroundColor: "#593D2B",
|
158
|
+
gridLineColor: '#E8E8E8',
|
159
|
+
gridLineWidth: 3
|
160
|
+
},
|
161
|
+
title: {
|
162
|
+
fontFamily: '"Comic Sans MS", cursive',
|
163
|
+
fontSize: '18pt',
|
164
|
+
textColor: '#C7CC4E'
|
165
|
+
},
|
166
|
+
seriesStyles: {
|
167
|
+
color: "#DBBCAF",
|
168
|
+
lineWidth: 8,
|
169
|
+
markerOptions: {
|
170
|
+
show: false
|
171
|
+
}
|
172
|
+
},
|
173
|
+
axes: {
|
174
|
+
xaxis: {
|
175
|
+
label: {
|
176
|
+
fontFamily: '"Comic Sans MS", cursive',
|
177
|
+
textColor: '#C7CC4E'
|
178
|
+
}
|
179
|
+
}
|
180
|
+
}
|
181
|
+
};
|
182
|
+
|
183
|
+
chocolate = plot1.themeEngine.copy('Default', 'chocolate', temp);
|
184
|
+
|
185
|
+
gabe = {
|
186
|
+
series: [
|
187
|
+
{color: 'rgba(216, 159, 60, 0.6)'},
|
188
|
+
{color: 'rgba(159, 216, 60, 0.6)'},
|
189
|
+
{color: 'rgba(60, 159, 216, 0.6)'},
|
190
|
+
],
|
191
|
+
grid: {
|
192
|
+
backgroundColor: '#DEA493'
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
gabe = plot1b.themeEngine.newTheme('gabe', gabe);
|
197
|
+
|
198
|
+
oldstyle = {
|
199
|
+
title: {
|
200
|
+
fontFamily: 'Times New Roman',
|
201
|
+
textColor: 'black'
|
202
|
+
},
|
203
|
+
axesStyles: {
|
204
|
+
borderWidth: 0,
|
205
|
+
ticks: {
|
206
|
+
fontSize: '12pt',
|
207
|
+
fontFamily: 'Times New Roman',
|
208
|
+
textColor: 'black'
|
209
|
+
},
|
210
|
+
label: {
|
211
|
+
fontFamily: 'Times New Roman',
|
212
|
+
textColor: 'black'
|
213
|
+
}
|
214
|
+
},
|
215
|
+
grid: {
|
216
|
+
backgroundColor: 'white',
|
217
|
+
borderWidth: 0,
|
218
|
+
gridLineColor: 'black',
|
219
|
+
gridLineWidth: 2,
|
220
|
+
borderColor: 'black'
|
221
|
+
},
|
222
|
+
series: [
|
223
|
+
{color: 'red', highlightColors: ['aqua', 'black', 'blue', 'fuchsia', 'gray', 'green', 'lime', 'maroon', 'navy', 'olive', 'purple', 'red', 'silver', 'teal', 'white', 'yellow']},
|
224
|
+
{color: 'green', highlightColors: []},
|
225
|
+
{color: 'blue', highlightColors: []},
|
226
|
+
{color: 'yellow', highlightColors: 'rgb(255, 245, 185)'}
|
227
|
+
],
|
228
|
+
legend: {
|
229
|
+
background: 'white',
|
230
|
+
textColor: 'black',
|
231
|
+
fontFamily: 'Times New Roman',
|
232
|
+
border: '1px solid black'
|
233
|
+
}
|
234
|
+
};
|
235
|
+
|
236
|
+
plot2.themeEngine.newTheme('oldstyle', oldstyle);
|
237
|
+
|
238
|
+
temp = {
|
239
|
+
seriesStyles: {
|
240
|
+
seriesColors: ['red', 'orange', 'yellow', 'green', 'blue', 'indigo'],
|
241
|
+
highlightColors: ['lightpink', 'lightsalmon', 'lightyellow', 'lightgreen', 'lightblue', 'mediumslateblue']
|
242
|
+
},
|
243
|
+
legend: {
|
244
|
+
fontSize: '8pt'
|
245
|
+
},
|
246
|
+
title: {
|
247
|
+
fontSize: '18pt'
|
248
|
+
},
|
249
|
+
grid: {
|
250
|
+
backgroundColor: 'rgb(211, 233, 195)'
|
251
|
+
}
|
252
|
+
};
|
253
|
+
|
254
|
+
plot3.themeEngine.newTheme('uma', temp);
|
255
|
+
plot5.themeEngine.newTheme('uma', temp);
|
256
|
+
|
257
|
+
});
|
258
|
+
|
259
|
+
function switch1() {
|
260
|
+
var th = $('#p1switcher').val();
|
261
|
+
plot1.activateTheme(th);
|
262
|
+
}
|
263
|
+
|
264
|
+
function switch1b() {
|
265
|
+
var th = $('#p1bswitcher').val();
|
266
|
+
plot1b.activateTheme(th);
|
267
|
+
}
|
268
|
+
|
269
|
+
function switch2() {
|
270
|
+
var th = $('#p2switcher').val();
|
271
|
+
plot2.activateTheme(th);
|
272
|
+
}
|
273
|
+
|
274
|
+
function switch3() {
|
275
|
+
var th = $('#p3switcher').val();
|
276
|
+
plot3.activateTheme(th);
|
277
|
+
}
|
278
|
+
|
279
|
+
function switch5() {
|
280
|
+
var th = $('#p5switcher').val();
|
281
|
+
plot5.activateTheme(th);
|
282
|
+
}
|
283
|
+
|
284
|
+
function switch35() {
|
285
|
+
var th = $('#p35switcher').val();
|
286
|
+
plot3.activateTheme(th);
|
287
|
+
plot5.activateTheme(th);
|
288
|
+
}
|
289
|
+
|
290
|
+
|
291
|
+
</script>
|
292
|
+
</head>
|
293
|
+
<body>
|
294
|
+
<?php include "nav.inc"; ?>
|
295
|
+
<p>jqPlot has basic theming support for commonly styled atributes of plot elements. Upon creation, each plot will have a "themeEngine" that controls modificaition, adding, removing and activating of plot themes. In addition, each plot will have a "Default" theme which corresponds to the styling of the plot at plot creation.<p>
|
296
|
+
|
297
|
+
<p>Creation of new themes is easy. A "style" object is created with properties for the various plot elements to be styles. Attached to each of those is an ojbect with the actual styling properties. A simple style object might look like:</p>
|
298
|
+
|
299
|
+
<pre>
|
300
|
+
gabe = {
|
301
|
+
series: [
|
302
|
+
{color: 'rgba(216, 159, 60, 0.4)'},
|
303
|
+
{color: 'rgba(159, 216, 60, 0.4)'},
|
304
|
+
{color: 'rgba(60, 159, 216, 0.4)'},
|
305
|
+
],
|
306
|
+
grid: {
|
307
|
+
backgroundColor: '#DEA493'
|
308
|
+
}
|
309
|
+
}
|
310
|
+
</pre>
|
311
|
+
|
312
|
+
<p>This new style would then be added to the plot's themeEngine as a new theme. it can then be activated by calling the plot's <code>activateTheme</code> method.</p>
|
313
|
+
<pre>
|
314
|
+
plot1b.themeEngine.newTheme('gabe', gabe);
|
315
|
+
plot1b.activateTheme('gabe');
|
316
|
+
</pre>
|
317
|
+
|
318
|
+
<div id="chart1b" class="plot" style="width:400px;height:260px;"></div>
|
319
|
+
<p>Select Theme for area plot:
|
320
|
+
<select id="p1bswitcher" onchange="switch1b();">
|
321
|
+
<option value="Default" selected>Default</option>
|
322
|
+
<option value="gabe">gabe</option>
|
323
|
+
</select>
|
324
|
+
</p>
|
325
|
+
|
326
|
+
<p>Themes can be reused between plots. Here a style object is created and assigned to two different plots. For convenience, the theme is given the same name when added to each plot's themeEngine. Since each plot keeps it's own copy of the theme, the names do not need to be the same. Also note that themes are added as deep copies by value and not by reference. This avoids strange behavior due to the cascading nature of css related styles.</p>
|
327
|
+
|
328
|
+
<pre>
|
329
|
+
temp = {
|
330
|
+
seriesStyles: {
|
331
|
+
seriesColors: ['red', 'orange', 'yellow', 'green', 'blue', 'indigo'],
|
332
|
+
highlightColors: ['lightpink', 'lightsalmon', 'lightyellow', 'lightgreen', 'lightblue', 'mediumslateblue']
|
333
|
+
},
|
334
|
+
legend: {
|
335
|
+
fontSize: '8pt'
|
336
|
+
},
|
337
|
+
title: {
|
338
|
+
fontSize: '18pt'
|
339
|
+
},
|
340
|
+
grid: {
|
341
|
+
backgroundColor: 'rgb(211, 233, 195)'
|
342
|
+
}
|
343
|
+
};
|
344
|
+
|
345
|
+
plot3.themeEngine.newTheme('uma', temp);
|
346
|
+
plot5.themeEngine.newTheme('uma', temp);
|
347
|
+
</pre>
|
348
|
+
|
349
|
+
<p>Select Theme for funnel and pie charts at same time:
|
350
|
+
<select id="p35switcher" onchange="switch35();">
|
351
|
+
<option value="Default" selected>Default</option>
|
352
|
+
<option value="uma">uma</option>
|
353
|
+
</select>
|
354
|
+
</p>
|
355
|
+
|
356
|
+
<div id="chart3" class="plot" style="width:400px;height:320px;"></div>
|
357
|
+
|
358
|
+
<p>Select Theme for funnel plot:
|
359
|
+
<select id="p3switcher" onchange="switch3();">
|
360
|
+
<option value="Default" selected>Default</option>
|
361
|
+
<option value="uma">uma</option>
|
362
|
+
</select>
|
363
|
+
</p>
|
364
|
+
|
365
|
+
<div id="chart5" class="plot" style="width:400px;height:260px;"></div>
|
366
|
+
|
367
|
+
<p>Select Theme for pie chart:
|
368
|
+
<select id="p5switcher" onchange="switch5();">
|
369
|
+
<option value="Default" selected>Default</option>
|
370
|
+
<option value="uma">uma</option>
|
371
|
+
</select>
|
372
|
+
</p>
|
373
|
+
|
374
|
+
<p>There are various was to create and edit themes for a plot. Below are two different methods for creating additional themes for a line plot and adding them to the plots themeEngine. Here the <code>axesStyles</code> property is used to supply styling to all axes at one time. A similar property, <code>seriesStyles</code>, exists for styling all series of a plot at one time. Note, neither of these methods is as straightforward as using the <code>newTheme()</code> method of the plots themeEngine, but are included for illustrative purposes.</p>
|
375
|
+
|
376
|
+
<pre>
|
377
|
+
e1 = plot1.themeEngine;
|
378
|
+
brass = e1.copy('Default', 'brass');
|
379
|
+
brass.title.fontFamily = 'Copperplate, Impact';
|
380
|
+
brass.grid.backgroundColor = "rgb(216, 198, 114)";
|
381
|
+
brass.grid.drawGridlines = false;
|
382
|
+
brass.series[0].lineWidth = 6.5;
|
383
|
+
brass.series[0].markerOptions.show = false;
|
384
|
+
brass.axesStyles.label.fontFamily = "Copperplate, 'Copperplate Gothic Light', Impact";
|
385
|
+
brass.axesStyles.ticks.fontFamily = "Copperplate, 'Copperplate Gothic Light', Impact";
|
386
|
+
brass.axesStyles.label.fontSize = '14pt';
|
387
|
+
|
388
|
+
temp = {
|
389
|
+
grid: {
|
390
|
+
backgroundColor: "#593D2B",
|
391
|
+
gridLineColor: '#E8E8E8',
|
392
|
+
gridLineWidth: 3
|
393
|
+
},
|
394
|
+
title: {
|
395
|
+
fontFamily: '"Comic Sans MS", cursive',
|
396
|
+
fontSize: '18pt',
|
397
|
+
textColor: '#C7CC4E'
|
398
|
+
},
|
399
|
+
seriesStyles: {
|
400
|
+
color: "#DBBCAF",
|
401
|
+
lineWidth: 8,
|
402
|
+
markerOptions: {
|
403
|
+
show: false
|
404
|
+
}
|
405
|
+
},
|
406
|
+
axes: {
|
407
|
+
xaxis: {
|
408
|
+
label: {
|
409
|
+
fontFamily: '"Comic Sans MS", cursive',
|
410
|
+
textColor: '#C7CC4E'
|
411
|
+
}
|
412
|
+
}
|
413
|
+
}
|
414
|
+
};
|
415
|
+
|
416
|
+
chocolate = plot1.themeEngine.copy('Default', 'chocolate', temp);
|
417
|
+
</pre>
|
418
|
+
|
419
|
+
<div id="chart1" class="plot" style="width:400px;height:260px;"></div>
|
420
|
+
|
421
|
+
<p>Select theme for line chart:
|
422
|
+
<select id="p1switcher" onchange="switch1();">
|
423
|
+
<option value="Default" selected>Default</option>
|
424
|
+
<option value="brass">brass</option>
|
425
|
+
<option value="chocolate">chocolate</option>
|
426
|
+
</select>
|
427
|
+
</p>
|
428
|
+
|
429
|
+
<p>The example below shows more extensive use of the various styling options to give the chart a rather ugly and dated appearence. Note that, for bar (and funnel, pie and donut charts), <code>highlightColors</code> can be specified as an array of colors which will be applied to each bar individually, as a single string giving a color to apply to all bars, or as an empty array which will force jqPlot to auto calculate highlight colors based on the current bar color.<p>
|
430
|
+
|
431
|
+
<pre>
|
432
|
+
oldstyle = {
|
433
|
+
title: {
|
434
|
+
fontFamily: 'Times New Roman',
|
435
|
+
textColor: 'black'
|
436
|
+
},
|
437
|
+
axesStyles: {
|
438
|
+
borderWidth: 0,
|
439
|
+
ticks: {
|
440
|
+
fontSize: '12pt',
|
441
|
+
fontFamily: 'Times New Roman',
|
442
|
+
textColor: 'black'
|
443
|
+
},
|
444
|
+
label: {
|
445
|
+
fontFamily: 'Times New Roman',
|
446
|
+
textColor: 'black'
|
447
|
+
}
|
448
|
+
},
|
449
|
+
grid: {
|
450
|
+
backgroundColor: 'white',
|
451
|
+
borderWidth: 0,
|
452
|
+
gridLineColor: 'black',
|
453
|
+
gridLineWidth: 2,
|
454
|
+
borderColor: 'black'
|
455
|
+
},
|
456
|
+
series: [
|
457
|
+
{color: 'red', highlightColors: ['aqua', 'black', 'blue', 'fuchsia', 'gray', 'green', 'lime', 'maroon', 'navy', 'olive', 'purple', 'red', 'silver', 'teal', 'white', 'yellow']},
|
458
|
+
{color: 'green', highlightColors: []},
|
459
|
+
{color: 'blue', highlightColors: []},
|
460
|
+
{color: 'yellow', highlightColors: 'rgb(255, 245, 185)'}
|
461
|
+
],
|
462
|
+
legend: {
|
463
|
+
background: 'white',
|
464
|
+
textColor: 'black',
|
465
|
+
fontFamily: 'Times New Roman',
|
466
|
+
border: '1px solid black'
|
467
|
+
}
|
468
|
+
};
|
469
|
+
|
470
|
+
plot2.themeEngine.newTheme('oldstyle', oldstyle);
|
471
|
+
</pre>
|
472
|
+
|
473
|
+
<div id="chart2" class="plot" style="width:760px;height:360px;"></div>
|
474
|
+
|
475
|
+
<p>Select theme for bar chart:
|
476
|
+
<select id="p2switcher" onchange="switch2();">
|
477
|
+
<option value="Default" selected>Default</option>
|
478
|
+
<option value="oldstyle">oldstyle</option>
|
479
|
+
</select>
|
480
|
+
</p>
|
481
|
+
|
482
|
+
</body>
|
483
|
+
</html>
|