reportbuilder 1.2.5 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,35 @@
|
|
|
1
|
+
document.createElement("canvas").getContext||function(){function Z(){return this.context_||(this.context_=new C(this))}function $(a,b){var c=P.call(arguments,2);return function(){return a.apply(b,c.concat(P.call(arguments)))}}function Q(a){return String(a).replace(/&/g,"&").replace(/"/g,""")}function R(a,b,c){a.namespaces[b]||a.namespaces.add(b,c,"#default#VML")}function S(a){R(a,"g_vml_","urn:schemas-microsoft-com:vml");R(a,"g_o_","urn:schemas-microsoft-com:office:office");if(!a.styleSheets.ex_canvas_){a=
|
|
2
|
+
a.createStyleSheet();a.owningElement.id="ex_canvas_";a.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}}function aa(a){var b=a.srcElement;switch(a.propertyName){case "width":b.getContext().clearRect();b.style.width=b.attributes.width.nodeValue+"px";b.firstChild.style.width=b.clientWidth+"px";break;case "height":b.getContext().clearRect();b.style.height=b.attributes.height.nodeValue+"px";b.firstChild.style.height=b.clientHeight+"px";break}}function ba(a){a=
|
|
3
|
+
a.srcElement;if(a.firstChild){a.firstChild.style.width=a.clientWidth+"px";a.firstChild.style.height=a.clientHeight+"px"}}function D(){return[[1,0,0],[0,1,0],[0,0,1]]}function u(a,b){for(var c=D(),d=0;d<3;d++)for(var e=0;e<3;e++){for(var f=0,h=0;h<3;h++)f+=a[d][h]*b[h][e];c[d][e]=f}return c}function T(a,b){b.fillStyle=a.fillStyle;b.lineCap=a.lineCap;b.lineJoin=a.lineJoin;b.lineWidth=a.lineWidth;b.miterLimit=a.miterLimit;b.shadowBlur=a.shadowBlur;b.shadowColor=a.shadowColor;b.shadowOffsetX=a.shadowOffsetX;
|
|
4
|
+
b.shadowOffsetY=a.shadowOffsetY;b.strokeStyle=a.strokeStyle;b.globalAlpha=a.globalAlpha;b.font=a.font;b.textAlign=a.textAlign;b.textBaseline=a.textBaseline;b.arcScaleX_=a.arcScaleX_;b.arcScaleY_=a.arcScaleY_;b.lineScale_=a.lineScale_}function U(a){var b=a.indexOf("(",3),c=a.indexOf(")",b+1);b=a.substring(b+1,c).split(",");if(b.length!=4||a.charAt(3)!="a")b[3]=1;return b}function E(a){return parseFloat(a)/100}function F(a,b,c){return Math.min(c,Math.max(b,a))}function ca(a){var b,c;c=parseFloat(a[0])/
|
|
5
|
+
360%360;c<0&&c++;b=F(E(a[1]),0,1);a=F(E(a[2]),0,1);if(b==0)b=a=c=a;else{var d=a<0.5?a*(1+b):a+b-a*b,e=2*a-d;b=G(e,d,c+1/3);a=G(e,d,c);c=G(e,d,c-1/3)}return"#"+v[Math.floor(b*255)]+v[Math.floor(a*255)]+v[Math.floor(c*255)]}function G(a,b,c){c<0&&c++;c>1&&c--;return 6*c<1?a+(b-a)*6*c:2*c<1?b:3*c<2?a+(b-a)*(2/3-c)*6:a}function H(a){if(a in I)return I[a];var b,c=1;a=String(a);if(a.charAt(0)=="#")b=a;else if(/^rgb/.test(a)){c=U(a);b="#";for(var d,e=0;e<3;e++){d=c[e].indexOf("%")!=-1?Math.floor(E(c[e])*
|
|
6
|
+
255):+c[e];b+=v[F(d,0,255)]}c=+c[3]}else if(/^hsl/.test(a)){c=U(a);b=ca(c);c=c[3]}else b=da[a]||a;return I[a]={color:b,alpha:c}}function ea(a){if(J[a])return J[a];var b=document.createElement("div").style;try{b.font=a}catch(c){}return J[a]={style:b.fontStyle||w.style,variant:b.fontVariant||w.variant,weight:b.fontWeight||w.weight,size:b.fontSize||w.size,family:b.fontFamily||w.family}}function fa(a,b){var c={};for(var d in a)c[d]=a[d];b=parseFloat(b.currentStyle.fontSize);d=parseFloat(a.size);c.size=
|
|
7
|
+
typeof a.size=="number"?a.size:a.size.indexOf("px")!=-1?d:a.size.indexOf("em")!=-1?b*d:a.size.indexOf("%")!=-1?b/100*d:a.size.indexOf("pt")!=-1?d/0.75:b;c.size*=0.981;return c}function ga(a){return a.style+" "+a.variant+" "+a.weight+" "+a.size+"px "+a.family}function ha(a){return ia[a]||"square"}function C(a){this.m_=D();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.fillStyle=this.strokeStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=l*1;this.globalAlpha=
|
|
8
|
+
1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=a;var b="width:"+a.clientWidth+"px;height:"+a.clientHeight+"px;overflow:hidden;position:absolute",c=a.ownerDocument.createElement("div");c.style.cssText=b;a.appendChild(c);b=c.cloneNode(false);b.style.backgroundColor="red";b.style.filter="alpha(opacity=0)";a.appendChild(b);this.element_=c;this.lineScale_=this.arcScaleY_=this.arcScaleX_=1}function V(a,b,c,d){a.currentPath_.push({type:"bezierCurveTo",cp1x:b.x,
|
|
9
|
+
cp1y:b.y,cp2x:c.x,cp2y:c.y,x:d.x,y:d.y});a.currentX_=d.x;a.currentY_=d.y}function W(a,b){var c=H(a.strokeStyle),d=c.color;c=c.alpha*a.globalAlpha;var e=a.lineScale_*a.lineWidth;if(e<1)c*=e;b.push("<g_vml_:stroke",' opacity="',c,'"',' joinstyle="',a.lineJoin,'"',' miterlimit="',a.miterLimit,'"',' endcap="',ha(a.lineCap),'"',' weight="',e,'px"',' color="',d,'" />')}function X(a,b,c,d){var e=a.fillStyle,f=a.arcScaleX_,h=a.arcScaleY_,j=d.x-c.x,m=d.y-c.y;if(e instanceof x){var k=0;d={x:0,y:0};var q=0,
|
|
10
|
+
o=1;if(e.type_=="gradient"){k=e.x1_/f;c=e.y1_/h;var n=p(a,e.x0_/f,e.y0_/h);k=p(a,k,c);k=Math.atan2(k.x-n.x,k.y-n.y)*180/Math.PI;if(k<0)k+=360;if(k<1.0E-6)k=0}else{n=p(a,e.x0_,e.y0_);d={x:(n.x-c.x)/j,y:(n.y-c.y)/m};j/=f*l;m/=h*l;o=r.max(j,m);q=2*e.r0_/o;o=2*e.r1_/o-q}f=e.colors_;f.sort(function(A,ja){return A.offset-ja.offset});h=f.length;n=f[0].color;c=f[h-1].color;j=f[0].alpha*a.globalAlpha;a=f[h-1].alpha*a.globalAlpha;m=[];for(var s=0;s<h;s++){var y=f[s];m.push(y.offset*o+q+" "+y.color)}b.push('<g_vml_:fill type="',
|
|
11
|
+
e.type_,'"',' method="none" focus="100%"',' color="',n,'"',' color2="',c,'"',' colors="',m.join(","),'"',' opacity="',a,'"',' g_o_:opacity2="',j,'"',' angle="',k,'"',' focusposition="',d.x,",",d.y,'" />')}else if(e instanceof K)j&&m&&b.push("<g_vml_:fill",' position="',-c.x/j*f*f,",",-c.y/m*h*h,'"',' type="tile"',' src="',e.src_,'" />');else{e=H(a.fillStyle);b.push('<g_vml_:fill color="',e.color,'" opacity="',e.alpha*a.globalAlpha,'" />')}}function p(a,b,c){a=a.m_;return{x:l*(b*a[0][0]+c*a[1][0]+
|
|
12
|
+
a[2][0])-t,y:l*(b*a[0][1]+c*a[1][1]+a[2][1])-t}}function ka(a){return isFinite(a[0][0])&&isFinite(a[0][1])&&isFinite(a[1][0])&&isFinite(a[1][1])&&isFinite(a[2][0])&&isFinite(a[2][1])}function z(a,b,c){if(ka(b)){a.m_=b;if(c)a.lineScale_=la(ma(b[0][0]*b[1][1]-b[0][1]*b[1][0]))}}function x(a){this.type_=a;this.r1_=this.y1_=this.x1_=this.r0_=this.y0_=this.x0_=0;this.colors_=[]}function K(a,b){na(a);switch(b){case "repeat":case null:case "":this.repetition_="repeat";break;case "repeat-x":case "repeat-y":case "no-repeat":this.repetition_=
|
|
13
|
+
b;break;default:L("SYNTAX_ERR")}this.src_=a.src;this.width_=a.width;this.height_=a.height}function L(a){throw new M(a);}function na(a){if(!a||a.nodeType!=1||a.tagName!="IMG")L("TYPE_MISMATCH_ERR");a.readyState!="complete"&&L("INVALID_STATE_ERR")}function M(a){this.code=this[a];this.message=a+": DOM Exception "+this.code}var r=Math,i=r.round,N=r.sin,O=r.cos,ma=r.abs,la=r.sqrt,l=10,t=l/2;navigator.userAgent.match(/MSIE ([\d.]+)?/);var P=Array.prototype.slice;S(document);var Y={init:function(a){a=a||
|
|
14
|
+
document;a.createElement("canvas");a.attachEvent("onreadystatechange",$(this.init_,this,a))},init_:function(a){a=a.getElementsByTagName("canvas");for(var b=0;b<a.length;b++)this.initElement(a[b])},initElement:function(a){if(!a.getContext){a.getContext=Z;S(a.ownerDocument);a.innerHTML="";a.attachEvent("onpropertychange",aa);a.attachEvent("onresize",ba);var b=a.attributes;if(b.width&&b.width.specified)a.style.width=b.width.nodeValue+"px";else a.width=a.clientWidth;if(b.height&&b.height.specified)a.style.height=
|
|
15
|
+
b.height.nodeValue+"px";else a.height=a.clientHeight}return a}};Y.init();for(var v=[],g=0;g<16;g++)for(var B=0;B<16;B++)v[g*16+B]=g.toString(16)+B.toString(16);var da={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",
|
|
16
|
+
cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",
|
|
17
|
+
firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",grey:"#808080",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgreen:"#90EE90",lightgrey:"#D3D3D3",
|
|
18
|
+
lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",
|
|
19
|
+
mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",oldlace:"#FDF5E6",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",
|
|
20
|
+
skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",whitesmoke:"#F5F5F5",yellowgreen:"#9ACD32"},I={},w={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"},J={},ia={butt:"flat",round:"round"};g=C.prototype;g.clearRect=function(){if(this.textMeasureEl_){this.textMeasureEl_.removeNode(true);this.textMeasureEl_=
|
|
21
|
+
null}this.element_.innerHTML=""};g.beginPath=function(){this.currentPath_=[]};g.moveTo=function(a,b){a=p(this,a,b);this.currentPath_.push({type:"moveTo",x:a.x,y:a.y});this.currentX_=a.x;this.currentY_=a.y};g.lineTo=function(a,b){a=p(this,a,b);this.currentPath_.push({type:"lineTo",x:a.x,y:a.y});this.currentX_=a.x;this.currentY_=a.y};g.bezierCurveTo=function(a,b,c,d,e,f){e=p(this,e,f);a=p(this,a,b);c=p(this,c,d);V(this,a,c,e)};g.quadraticCurveTo=function(a,b,c,d){a=p(this,a,b);c=p(this,c,d);d={x:this.currentX_+
|
|
22
|
+
2/3*(a.x-this.currentX_),y:this.currentY_+2/3*(a.y-this.currentY_)};V(this,d,{x:d.x+(c.x-this.currentX_)/3,y:d.y+(c.y-this.currentY_)/3},c)};g.arc=function(a,b,c,d,e,f){c*=l;var h=f?"at":"wa",j=a+O(d)*c-t,m=b+N(d)*c-t;d=a+O(e)*c-t;e=b+N(e)*c-t;if(j==d&&!f)j+=0.125;a=p(this,a,b);j=p(this,j,m);d=p(this,d,e);this.currentPath_.push({type:h,x:a.x,y:a.y,radius:c,xStart:j.x,yStart:j.y,xEnd:d.x,yEnd:d.y})};g.rect=function(a,b,c,d){this.moveTo(a,b);this.lineTo(a+c,b);this.lineTo(a+c,b+d);this.lineTo(a,b+d);
|
|
23
|
+
this.closePath()};g.strokeRect=function(a,b,c,d){var e=this.currentPath_;this.beginPath();this.moveTo(a,b);this.lineTo(a+c,b);this.lineTo(a+c,b+d);this.lineTo(a,b+d);this.closePath();this.stroke();this.currentPath_=e};g.fillRect=function(a,b,c,d){var e=this.currentPath_;this.beginPath();this.moveTo(a,b);this.lineTo(a+c,b);this.lineTo(a+c,b+d);this.lineTo(a,b+d);this.closePath();this.fill();this.currentPath_=e};g.createLinearGradient=function(a,b,c,d){var e=new x("gradient");e.x0_=a;e.y0_=b;e.x1_=
|
|
24
|
+
c;e.y1_=d;return e};g.createRadialGradient=function(a,b,c,d,e,f){var h=new x("gradientradial");h.x0_=a;h.y0_=b;h.r0_=c;h.x1_=d;h.y1_=e;h.r1_=f;return h};g.drawImage=function(a){var b,c,d,e,f,h,j,m;d=a.runtimeStyle.width;e=a.runtimeStyle.height;a.runtimeStyle.width="auto";a.runtimeStyle.height="auto";var k=a.width,q=a.height;a.runtimeStyle.width=d;a.runtimeStyle.height=e;if(arguments.length==3){b=arguments[1];c=arguments[2];f=h=0;j=d=k;m=e=q}else if(arguments.length==5){b=arguments[1];c=arguments[2];
|
|
25
|
+
d=arguments[3];e=arguments[4];f=h=0;j=k;m=q}else if(arguments.length==9){f=arguments[1];h=arguments[2];j=arguments[3];m=arguments[4];b=arguments[5];c=arguments[6];d=arguments[7];e=arguments[8]}else throw Error("Invalid number of arguments");var o=p(this,b,c),n=[];n.push(" <g_vml_:group",' coordsize="',l*10,",",l*10,'"',' coordorigin="0,0"',' style="width:',10,"px;height:",10,"px;position:absolute;");if(this.m_[0][0]!=1||this.m_[0][1]||this.m_[1][1]!=1||this.m_[1][0]){var s=[];s.push("M11=",this.m_[0][0],
|
|
26
|
+
",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",i(o.x/l),",","Dy=",i(o.y/l),"");var y=p(this,b+d,c),A=p(this,b,c+e);b=p(this,b+d,c+e);o.x=r.max(o.x,y.x,A.x,b.x);o.y=r.max(o.y,y.y,A.y,b.y);n.push("padding:0 ",i(o.x/l),"px ",i(o.y/l),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",s.join(""),", sizingmethod='clip');")}else n.push("top:",i(o.y/l),"px;left:",i(o.x/l),"px;");n.push(' ">','<g_vml_:image src="',a.src,'"',' style="width:',l*d,"px;"," height:",
|
|
27
|
+
l*e,'px"',' cropleft="',f/k,'"',' croptop="',h/q,'"',' cropright="',(k-f-j)/k,'"',' cropbottom="',(q-h-m)/q,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",n.join(""))};g.stroke=function(a){var b=[];b.push("<g_vml_:shape",' filled="',!!a,'"',' style="position:absolute;width:',10,"px;height:",10,'px;"',' coordorigin="0,0"',' coordsize="',l*10,",",l*10,'"',' stroked="',!a,'"',' path="');for(var c={x:null,y:null},d={x:null,y:null},e=0;e<this.currentPath_.length;e++){var f=this.currentPath_[e];
|
|
28
|
+
switch(f.type){case "moveTo":b.push(" m ",i(f.x),",",i(f.y));break;case "lineTo":b.push(" l ",i(f.x),",",i(f.y));break;case "close":b.push(" x ");f=null;break;case "bezierCurveTo":b.push(" c ",i(f.cp1x),",",i(f.cp1y),",",i(f.cp2x),",",i(f.cp2y),",",i(f.x),",",i(f.y));break;case "at":case "wa":b.push(" ",f.type," ",i(f.x-this.arcScaleX_*f.radius),",",i(f.y-this.arcScaleY_*f.radius)," ",i(f.x+this.arcScaleX_*f.radius),",",i(f.y+this.arcScaleY_*f.radius)," ",i(f.xStart),",",i(f.yStart)," ",i(f.xEnd),
|
|
29
|
+
",",i(f.yEnd));break}if(f){if(c.x==null||f.x<c.x)c.x=f.x;if(d.x==null||f.x>d.x)d.x=f.x;if(c.y==null||f.y<c.y)c.y=f.y;if(d.y==null||f.y>d.y)d.y=f.y}}b.push(' ">');a?X(this,b,c,d):W(this,b);b.push("</g_vml_:shape>");this.element_.insertAdjacentHTML("beforeEnd",b.join(""))};g.fill=function(){this.stroke(true)};g.closePath=function(){this.currentPath_.push({type:"close"})};g.save=function(){var a={};T(this,a);this.aStack_.push(a);this.mStack_.push(this.m_);this.m_=u(D(),this.m_)};g.restore=function(){if(this.aStack_.length){T(this.aStack_.pop(),
|
|
30
|
+
this);this.m_=this.mStack_.pop()}};g.translate=function(a,b){z(this,u([[1,0,0],[0,1,0],[a,b,1]],this.m_),false)};g.rotate=function(a){var b=O(a);a=N(a);z(this,u([[b,a,0],[-a,b,0],[0,0,1]],this.m_),false)};g.scale=function(a,b){this.arcScaleX_*=a;this.arcScaleY_*=b;z(this,u([[a,0,0],[0,b,0],[0,0,1]],this.m_),true)};g.transform=function(a,b,c,d,e,f){z(this,u([[a,b,0],[c,d,0],[e,f,1]],this.m_),true)};g.setTransform=function(a,b,c,d,e,f){z(this,[[a,b,0],[c,d,0],[e,f,1]],true)};g.drawText_=function(a,
|
|
31
|
+
b,c,d,e){var f=this.m_;d=0;var h=1E3,j={x:0,y:0},m=[],k=fa(ea(this.font),this.element_),q=ga(k),o=this.element_.currentStyle,n=this.textAlign.toLowerCase();switch(n){case "left":case "center":case "right":break;case "end":n=o.direction=="ltr"?"right":"left";break;case "start":n=o.direction=="rtl"?"right":"left";break;default:n="left"}switch(this.textBaseline){case "hanging":case "top":j.y=k.size/1.75;break;case "middle":break;default:case null:case "alphabetic":case "ideographic":case "bottom":j.y=
|
|
32
|
+
-k.size/2.25;break}switch(n){case "right":d=1E3;h=0.05;break;case "center":d=h=500;break}b=p(this,b+j.x,c+j.y);m.push('<g_vml_:line from="',-d,' 0" to="',h,' 0.05" ',' coordsize="100 100" coordorigin="0 0"',' filled="',!e,'" stroked="',!!e,'" style="position:absolute;width:1px;height:1px;">');e?W(this,m):X(this,m,{x:-d,y:0},{x:h,y:k.size});e=f[0][0].toFixed(3)+","+f[1][0].toFixed(3)+","+f[0][1].toFixed(3)+","+f[1][1].toFixed(3)+",0,0";b=i(b.x/l)+","+i(b.y/l);m.push('<g_vml_:skew on="t" matrix="',
|
|
33
|
+
e,'" ',' offset="',b,'" origin="',d,' 0" />','<g_vml_:path textpathok="true" />','<g_vml_:textpath on="true" string="',Q(a),'" style="v-text-align:',n,";font:",Q(q),'" /></g_vml_:line>');this.element_.insertAdjacentHTML("beforeEnd",m.join(""))};g.fillText=function(a,b,c,d){this.drawText_(a,b,c,d,false)};g.strokeText=function(a,b,c,d){this.drawText_(a,b,c,d,true)};g.measureText=function(a){if(!this.textMeasureEl_){this.element_.insertAdjacentHTML("beforeEnd",'<span style="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;"></span>');
|
|
34
|
+
this.textMeasureEl_=this.element_.lastChild}var b=this.element_.ownerDocument;this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(b.createTextNode(a));return{width:this.textMeasureEl_.offsetWidth}};g.clip=function(){};g.arcTo=function(){};g.createPattern=function(a,b){return new K(a,b)};x.prototype.addColorStop=function(a,b){b=H(b);this.colors_.push({offset:a,color:b.color,alpha:b.alpha})};g=M.prototype=new Error;g.INDEX_SIZE_ERR=1;g.DOMSTRING_SIZE_ERR=
|
|
35
|
+
2;g.HIERARCHY_REQUEST_ERR=3;g.WRONG_DOCUMENT_ERR=4;g.INVALID_CHARACTER_ERR=5;g.NO_DATA_ALLOWED_ERR=6;g.NO_MODIFICATION_ALLOWED_ERR=7;g.NOT_FOUND_ERR=8;g.NOT_SUPPORTED_ERR=9;g.INUSE_ATTRIBUTE_ERR=10;g.INVALID_STATE_ERR=11;g.SYNTAX_ERR=12;g.INVALID_MODIFICATION_ERR=13;g.NAMESPACE_ERR=14;g.INVALID_ACCESS_ERR=15;g.VALIDATION_ERR=16;g.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=Y;CanvasRenderingContext2D=C;CanvasGradient=x;CanvasPattern=K;DOMException=M}();
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
Title: GPL Version 2
|
|
2
|
+
|
|
3
|
+
GNU GENERAL PUBLIC LICENSE
|
|
4
|
+
Version 2, June 1991
|
|
5
|
+
|
|
6
|
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
|
7
|
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
8
|
+
Everyone is permitted to copy and distribute verbatim copies
|
|
9
|
+
of this license document, but changing it is not allowed.
|
|
10
|
+
|
|
11
|
+
Preamble
|
|
12
|
+
|
|
13
|
+
The licenses for most software are designed to take away your
|
|
14
|
+
freedom to share and change it. By contrast, the GNU General Public
|
|
15
|
+
License is intended to guarantee your freedom to share and change free
|
|
16
|
+
software--to make sure the software is free for all its users. This
|
|
17
|
+
General Public License applies to most of the Free Software
|
|
18
|
+
Foundation's software and to any other program whose authors commit to
|
|
19
|
+
using it. (Some other Free Software Foundation software is covered by
|
|
20
|
+
the GNU Lesser General Public License instead.) You can apply it to
|
|
21
|
+
your programs, too.
|
|
22
|
+
|
|
23
|
+
When we speak of free software, we are referring to freedom, not
|
|
24
|
+
price. Our General Public Licenses are designed to make sure that you
|
|
25
|
+
have the freedom to distribute copies of free software (and charge for
|
|
26
|
+
this service if you wish), that you receive source code or can get it
|
|
27
|
+
if you want it, that you can change the software or use pieces of it
|
|
28
|
+
in new free programs; and that you know you can do these things.
|
|
29
|
+
|
|
30
|
+
To protect your rights, we need to make restrictions that forbid
|
|
31
|
+
anyone to deny you these rights or to ask you to surrender the rights.
|
|
32
|
+
These restrictions translate to certain responsibilities for you if you
|
|
33
|
+
distribute copies of the software, or if you modify it.
|
|
34
|
+
|
|
35
|
+
For example, if you distribute copies of such a program, whether
|
|
36
|
+
gratis or for a fee, you must give the recipients all the rights that
|
|
37
|
+
you have. You must make sure that they, too, receive or can get the
|
|
38
|
+
source code. And you must show them these terms so they know their
|
|
39
|
+
rights.
|
|
40
|
+
|
|
41
|
+
We protect your rights with two steps: (1) copyright the software, and
|
|
42
|
+
(2) offer you this license which gives you legal permission to copy,
|
|
43
|
+
distribute and/or modify the software.
|
|
44
|
+
|
|
45
|
+
Also, for each author's protection and ours, we want to make certain
|
|
46
|
+
that everyone understands that there is no warranty for this free
|
|
47
|
+
software. If the software is modified by someone else and passed on, we
|
|
48
|
+
want its recipients to know that what they have is not the original, so
|
|
49
|
+
that any problems introduced by others will not reflect on the original
|
|
50
|
+
authors' reputations.
|
|
51
|
+
|
|
52
|
+
Finally, any free program is threatened constantly by software
|
|
53
|
+
patents. We wish to avoid the danger that redistributors of a free
|
|
54
|
+
program will individually obtain patent licenses, in effect making the
|
|
55
|
+
program proprietary. To prevent this, we have made it clear that any
|
|
56
|
+
patent must be licensed for everyone's free use or not licensed at all.
|
|
57
|
+
|
|
58
|
+
The precise terms and conditions for copying, distribution and
|
|
59
|
+
modification follow.
|
|
60
|
+
|
|
61
|
+
GNU GENERAL PUBLIC LICENSE
|
|
62
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
63
|
+
|
|
64
|
+
0. This License applies to any program or other work which contains
|
|
65
|
+
a notice placed by the copyright holder saying it may be distributed
|
|
66
|
+
under the terms of this General Public License. The "Program", below,
|
|
67
|
+
refers to any such program or work, and a "work based on the Program"
|
|
68
|
+
means either the Program or any derivative work under copyright law:
|
|
69
|
+
that is to say, a work containing the Program or a portion of it,
|
|
70
|
+
either verbatim or with modifications and/or translated into another
|
|
71
|
+
language. (Hereinafter, translation is included without limitation in
|
|
72
|
+
the term "modification".) Each licensee is addressed as "you".
|
|
73
|
+
|
|
74
|
+
Activities other than copying, distribution and modification are not
|
|
75
|
+
covered by this License; they are outside its scope. The act of
|
|
76
|
+
running the Program is not restricted, and the output from the Program
|
|
77
|
+
is covered only if its contents constitute a work based on the
|
|
78
|
+
Program (independent of having been made by running the Program).
|
|
79
|
+
Whether that is true depends on what the Program does.
|
|
80
|
+
|
|
81
|
+
1. You may copy and distribute verbatim copies of the Program's
|
|
82
|
+
source code as you receive it, in any medium, provided that you
|
|
83
|
+
conspicuously and appropriately publish on each copy an appropriate
|
|
84
|
+
copyright notice and disclaimer of warranty; keep intact all the
|
|
85
|
+
notices that refer to this License and to the absence of any warranty;
|
|
86
|
+
and give any other recipients of the Program a copy of this License
|
|
87
|
+
along with the Program.
|
|
88
|
+
|
|
89
|
+
You may charge a fee for the physical act of transferring a copy, and
|
|
90
|
+
you may at your option offer warranty protection in exchange for a fee.
|
|
91
|
+
|
|
92
|
+
2. You may modify your copy or copies of the Program or any portion
|
|
93
|
+
of it, thus forming a work based on the Program, and copy and
|
|
94
|
+
distribute such modifications or work under the terms of Section 1
|
|
95
|
+
above, provided that you also meet all of these conditions:
|
|
96
|
+
|
|
97
|
+
a) You must cause the modified files to carry prominent notices
|
|
98
|
+
stating that you changed the files and the date of any change.
|
|
99
|
+
|
|
100
|
+
b) You must cause any work that you distribute or publish, that in
|
|
101
|
+
whole or in part contains or is derived from the Program or any
|
|
102
|
+
part thereof, to be licensed as a whole at no charge to all third
|
|
103
|
+
parties under the terms of this License.
|
|
104
|
+
|
|
105
|
+
c) If the modified program normally reads commands interactively
|
|
106
|
+
when run, you must cause it, when started running for such
|
|
107
|
+
interactive use in the most ordinary way, to print or display an
|
|
108
|
+
announcement including an appropriate copyright notice and a
|
|
109
|
+
notice that there is no warranty (or else, saying that you provide
|
|
110
|
+
a warranty) and that users may redistribute the program under
|
|
111
|
+
these conditions, and telling the user how to view a copy of this
|
|
112
|
+
License. (Exception: if the Program itself is interactive but
|
|
113
|
+
does not normally print such an announcement, your work based on
|
|
114
|
+
the Program is not required to print an announcement.)
|
|
115
|
+
|
|
116
|
+
These requirements apply to the modified work as a whole. If
|
|
117
|
+
identifiable sections of that work are not derived from the Program,
|
|
118
|
+
and can be reasonably considered independent and separate works in
|
|
119
|
+
themselves, then this License, and its terms, do not apply to those
|
|
120
|
+
sections when you distribute them as separate works. But when you
|
|
121
|
+
distribute the same sections as part of a whole which is a work based
|
|
122
|
+
on the Program, the distribution of the whole must be on the terms of
|
|
123
|
+
this License, whose permissions for other licensees extend to the
|
|
124
|
+
entire whole, and thus to each and every part regardless of who wrote it.
|
|
125
|
+
|
|
126
|
+
Thus, it is not the intent of this section to claim rights or contest
|
|
127
|
+
your rights to work written entirely by you; rather, the intent is to
|
|
128
|
+
exercise the right to control the distribution of derivative or
|
|
129
|
+
collective works based on the Program.
|
|
130
|
+
|
|
131
|
+
In addition, mere aggregation of another work not based on the Program
|
|
132
|
+
with the Program (or with a work based on the Program) on a volume of
|
|
133
|
+
a storage or distribution medium does not bring the other work under
|
|
134
|
+
the scope of this License.
|
|
135
|
+
|
|
136
|
+
3. You may copy and distribute the Program (or a work based on it,
|
|
137
|
+
under Section 2) in object code or executable form under the terms of
|
|
138
|
+
Sections 1 and 2 above provided that you also do one of the following:
|
|
139
|
+
|
|
140
|
+
a) Accompany it with the complete corresponding machine-readable
|
|
141
|
+
source code, which must be distributed under the terms of Sections
|
|
142
|
+
1 and 2 above on a medium customarily used for software interchange; or,
|
|
143
|
+
|
|
144
|
+
b) Accompany it with a written offer, valid for at least three
|
|
145
|
+
years, to give any third party, for a charge no more than your
|
|
146
|
+
cost of physically performing source distribution, a complete
|
|
147
|
+
machine-readable copy of the corresponding source code, to be
|
|
148
|
+
distributed under the terms of Sections 1 and 2 above on a medium
|
|
149
|
+
customarily used for software interchange; or,
|
|
150
|
+
|
|
151
|
+
c) Accompany it with the information you received as to the offer
|
|
152
|
+
to distribute corresponding source code. (This alternative is
|
|
153
|
+
allowed only for noncommercial distribution and only if you
|
|
154
|
+
received the program in object code or executable form with such
|
|
155
|
+
an offer, in accord with Subsection b above.)
|
|
156
|
+
|
|
157
|
+
The source code for a work means the preferred form of the work for
|
|
158
|
+
making modifications to it. For an executable work, complete source
|
|
159
|
+
code means all the source code for all modules it contains, plus any
|
|
160
|
+
associated interface definition files, plus the scripts used to
|
|
161
|
+
control compilation and installation of the executable. However, as a
|
|
162
|
+
special exception, the source code distributed need not include
|
|
163
|
+
anything that is normally distributed (in either source or binary
|
|
164
|
+
form) with the major components (compiler, kernel, and so on) of the
|
|
165
|
+
operating system on which the executable runs, unless that component
|
|
166
|
+
itself accompanies the executable.
|
|
167
|
+
|
|
168
|
+
If distribution of executable or object code is made by offering
|
|
169
|
+
access to copy from a designated place, then offering equivalent
|
|
170
|
+
access to copy the source code from the same place counts as
|
|
171
|
+
distribution of the source code, even though third parties are not
|
|
172
|
+
compelled to copy the source along with the object code.
|
|
173
|
+
|
|
174
|
+
4. You may not copy, modify, sublicense, or distribute the Program
|
|
175
|
+
except as expressly provided under this License. Any attempt
|
|
176
|
+
otherwise to copy, modify, sublicense or distribute the Program is
|
|
177
|
+
void, and will automatically terminate your rights under this License.
|
|
178
|
+
However, parties who have received copies, or rights, from you under
|
|
179
|
+
this License will not have their licenses terminated so long as such
|
|
180
|
+
parties remain in full compliance.
|
|
181
|
+
|
|
182
|
+
5. You are not required to accept this License, since you have not
|
|
183
|
+
signed it. However, nothing else grants you permission to modify or
|
|
184
|
+
distribute the Program or its derivative works. These actions are
|
|
185
|
+
prohibited by law if you do not accept this License. Therefore, by
|
|
186
|
+
modifying or distributing the Program (or any work based on the
|
|
187
|
+
Program), you indicate your acceptance of this License to do so, and
|
|
188
|
+
all its terms and conditions for copying, distributing or modifying
|
|
189
|
+
the Program or works based on it.
|
|
190
|
+
|
|
191
|
+
6. Each time you redistribute the Program (or any work based on the
|
|
192
|
+
Program), the recipient automatically receives a license from the
|
|
193
|
+
original licensor to copy, distribute or modify the Program subject to
|
|
194
|
+
these terms and conditions. You may not impose any further
|
|
195
|
+
restrictions on the recipients' exercise of the rights granted herein.
|
|
196
|
+
You are not responsible for enforcing compliance by third parties to
|
|
197
|
+
this License.
|
|
198
|
+
|
|
199
|
+
7. If, as a consequence of a court judgment or allegation of patent
|
|
200
|
+
infringement or for any other reason (not limited to patent issues),
|
|
201
|
+
conditions are imposed on you (whether by court order, agreement or
|
|
202
|
+
otherwise) that contradict the conditions of this License, they do not
|
|
203
|
+
excuse you from the conditions of this License. If you cannot
|
|
204
|
+
distribute so as to satisfy simultaneously your obligations under this
|
|
205
|
+
License and any other pertinent obligations, then as a consequence you
|
|
206
|
+
may not distribute the Program at all. For example, if a patent
|
|
207
|
+
license would not permit royalty-free redistribution of the Program by
|
|
208
|
+
all those who receive copies directly or indirectly through you, then
|
|
209
|
+
the only way you could satisfy both it and this License would be to
|
|
210
|
+
refrain entirely from distribution of the Program.
|
|
211
|
+
|
|
212
|
+
If any portion of this section is held invalid or unenforceable under
|
|
213
|
+
any particular circumstance, the balance of the section is intended to
|
|
214
|
+
apply and the section as a whole is intended to apply in other
|
|
215
|
+
circumstances.
|
|
216
|
+
|
|
217
|
+
It is not the purpose of this section to induce you to infringe any
|
|
218
|
+
patents or other property right claims or to contest validity of any
|
|
219
|
+
such claims; this section has the sole purpose of protecting the
|
|
220
|
+
integrity of the free software distribution system, which is
|
|
221
|
+
implemented by public license practices. Many people have made
|
|
222
|
+
generous contributions to the wide range of software distributed
|
|
223
|
+
through that system in reliance on consistent application of that
|
|
224
|
+
system; it is up to the author/donor to decide if he or she is willing
|
|
225
|
+
to distribute software through any other system and a licensee cannot
|
|
226
|
+
impose that choice.
|
|
227
|
+
|
|
228
|
+
This section is intended to make thoroughly clear what is believed to
|
|
229
|
+
be a consequence of the rest of this License.
|
|
230
|
+
|
|
231
|
+
8. If the distribution and/or use of the Program is restricted in
|
|
232
|
+
certain countries either by patents or by copyrighted interfaces, the
|
|
233
|
+
original copyright holder who places the Program under this License
|
|
234
|
+
may add an explicit geographical distribution limitation excluding
|
|
235
|
+
those countries, so that distribution is permitted only in or among
|
|
236
|
+
countries not thus excluded. In such case, this License incorporates
|
|
237
|
+
the limitation as if written in the body of this License.
|
|
238
|
+
|
|
239
|
+
9. The Free Software Foundation may publish revised and/or new versions
|
|
240
|
+
of the General Public License from time to time. Such new versions will
|
|
241
|
+
be similar in spirit to the present version, but may differ in detail to
|
|
242
|
+
address new problems or concerns.
|
|
243
|
+
|
|
244
|
+
Each version is given a distinguishing version number. If the Program
|
|
245
|
+
specifies a version number of this License which applies to it and "any
|
|
246
|
+
later version", you have the option of following the terms and conditions
|
|
247
|
+
either of that version or of any later version published by the Free
|
|
248
|
+
Software Foundation. If the Program does not specify a version number of
|
|
249
|
+
this License, you may choose any version ever published by the Free Software
|
|
250
|
+
Foundation.
|
|
251
|
+
|
|
252
|
+
10. If you wish to incorporate parts of the Program into other free
|
|
253
|
+
programs whose distribution conditions are different, write to the author
|
|
254
|
+
to ask for permission. For software which is copyrighted by the Free
|
|
255
|
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
|
256
|
+
make exceptions for this. Our decision will be guided by the two goals
|
|
257
|
+
of preserving the free status of all derivatives of our free software and
|
|
258
|
+
of promoting the sharing and reuse of software generally.
|
|
259
|
+
|
|
260
|
+
NO WARRANTY
|
|
261
|
+
|
|
262
|
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
|
263
|
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
|
264
|
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
|
265
|
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
|
266
|
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
267
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
|
268
|
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
|
269
|
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
|
270
|
+
REPAIR OR CORRECTION.
|
|
271
|
+
|
|
272
|
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
273
|
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
|
274
|
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
|
275
|
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
|
276
|
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
|
277
|
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
|
278
|
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
|
279
|
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
|
280
|
+
POSSIBILITY OF SUCH DAMAGES.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Title: jqPlot CSS Customization
|
|
2
|
+
|
|
3
|
+
Much of the styling of jqPlot is done by css. The jqPlot css file is, unremarkably,
|
|
4
|
+
jquery.jqplot.css and resides in the same directory as jqPlot itself.
|
|
5
|
+
|
|
6
|
+
There exist some styling related javascript properties on the plot objects themselves
|
|
7
|
+
(like fontStyle, fontSize, etc.). These can be set with the options object at plot creation.
|
|
8
|
+
Generally, setting these options is *NOT* the preferred way to customize the look of the
|
|
9
|
+
plot. Use the css file instead. *These options are deprecated and may disappear*. The
|
|
10
|
+
exceptions are certain background and color options which control attributes of something
|
|
11
|
+
renderered on a canvas. This would be line color, grid background, etc. These must
|
|
12
|
+
be set by the options object. For a list of available options, see <jqPlot Options>.
|
|
13
|
+
|
|
14
|
+
Objects in the plot that can be customized by css are given a css class like ".jqplot-*".
|
|
15
|
+
For example, the plot title will have a ".jqplot-title" class, the axes ".jqplot-axis", etc.
|
|
16
|
+
|
|
17
|
+
Currently assigned classes in jqPlot
|
|
18
|
+
are as follows:
|
|
19
|
+
|
|
20
|
+
.jqplot-target - Styles for the plot target div. These will be cascaded down
|
|
21
|
+
to all plot elements according to css rules.
|
|
22
|
+
|
|
23
|
+
.jqplot-axis - Styles for all axes
|
|
24
|
+
|
|
25
|
+
.jqplot-xaxis - Styles applied to the primary x axis only.
|
|
26
|
+
|
|
27
|
+
.jqplot-yaxis - Styles applied to the primary y axis only.
|
|
28
|
+
|
|
29
|
+
.jqplot-x2axis, .jqplot-x3axis, ... - Styles applied to the 2nd, 3rd, etc. x axis only.
|
|
30
|
+
|
|
31
|
+
.jqplot-y2axis, .jqplot-y3axis, ... - Styles applied to the 2nd, 3rd, etc.y axis only.
|
|
32
|
+
|
|
33
|
+
.jqplot-axis-tick - Styles applied to all axis ticks
|
|
34
|
+
|
|
35
|
+
.jqplot-xaxis-tick - Styles applied to primary x axis ticks only.
|
|
36
|
+
|
|
37
|
+
.jqplot-x2axis-tick - Styles applied to secondary x axis ticks only.
|
|
38
|
+
|
|
39
|
+
.jqplot-yaxis-tick - Styles applied to primary y axis ticks only.
|
|
40
|
+
|
|
41
|
+
.jqplot-y2axis-tick - Styles applied to secondary y axis ticks only.
|
|
42
|
+
|
|
43
|
+
table.jqplot-table-legend - Styles applied to the legend box table.
|
|
44
|
+
|
|
45
|
+
.jqplot-title - Styles applied to the title.
|
|
46
|
+
|
|
47
|
+
.jqplot-cursor-tooltip - Styles applied to the cursor tooltip
|
|
48
|
+
|
|
49
|
+
.jqplot-highlighter-tooltip - Styles applied to the highlighter tooltip.
|
|
50
|
+
|
|
51
|
+
div.jqplot-table-legend-swatch - the div element used for the colored swatch on the legend.
|
|
52
|
+
|
|
53
|
+
Note that axes will be assigned 2 classes like: class=".jqplot-axis .jqplot-xaxis".
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
Title: jqPlot Options
|
|
2
|
+
|
|
3
|
+
**This document is out of date. While the options described here should still be
|
|
4
|
+
relavent and valid, it has not been updated for many new options. Sorry for
|
|
5
|
+
this inconvenience.**
|
|
6
|
+
|
|
7
|
+
This document describes the options available to jqPlot. These are set with the
|
|
8
|
+
third argument to the $.jqplot('target', data, options) function. Options are
|
|
9
|
+
using the following convention:
|
|
10
|
+
|
|
11
|
+
{{{
|
|
12
|
+
property: default, // notes
|
|
13
|
+
}}}
|
|
14
|
+
|
|
15
|
+
This document is not complete! Not all options are shown! Also, Options marked
|
|
16
|
+
with ** in the notes are post 0.7.1 additions. They will be available in the next
|
|
17
|
+
release. Further information about the options can be found in the online API
|
|
18
|
+
documentation. For details on how the options relate to the API documentation,
|
|
19
|
+
see the <Options Tutorial> in the optionsTutorial.txt file.
|
|
20
|
+
|
|
21
|
+
{{{
|
|
22
|
+
options =
|
|
23
|
+
{
|
|
24
|
+
seriesColors: [ "#4bb2c5", "#c5b47f", "#EAA228", "#579575", "#839557", "#958c12",
|
|
25
|
+
"#953579", "#4b5de4", "#d8b83f", "#ff5800", "#0085cc"], // colors that will
|
|
26
|
+
// be assigned to the series. If there are more series than colors, colors
|
|
27
|
+
// will wrap around and start at the beginning again.
|
|
28
|
+
|
|
29
|
+
stackSeries: false, // if true, will create a stack plot.
|
|
30
|
+
// Currently supported by line and bar graphs.
|
|
31
|
+
|
|
32
|
+
title: '', // Title for the plot. Can also be specified as an object like:
|
|
33
|
+
|
|
34
|
+
title: {
|
|
35
|
+
text: '', // title for the plot,
|
|
36
|
+
show: true,
|
|
37
|
+
},
|
|
38
|
+
|
|
39
|
+
axesDefaults: {
|
|
40
|
+
show: false, // wether or not to renderer the axis. Determined automatically.
|
|
41
|
+
min: null, // minimum numerical value of the axis. Determined automatically.
|
|
42
|
+
max: null, // maximum numverical value of the axis. Determined automatically.
|
|
43
|
+
pad: 1.2, // a factor multiplied by the data range on the axis to give the
|
|
44
|
+
// axis range so that data points don't fall on the edges of the axis.
|
|
45
|
+
ticks: [], // a 1D [val1, val2, ...], or 2D [[val, label], [val, label], ...]
|
|
46
|
+
// array of ticks to use. Computed automatically.
|
|
47
|
+
numberTicks: undefined,
|
|
48
|
+
renderer: $.jqplot.LinearAxisRenderer, // renderer to use to draw the axis,
|
|
49
|
+
rendererOptions: {}, // options to pass to the renderer. LinearAxisRenderer
|
|
50
|
+
// has no options,
|
|
51
|
+
tickOptions: {
|
|
52
|
+
mark: 'outside', // Where to put the tick mark on the axis
|
|
53
|
+
// 'outside', 'inside' or 'cross',
|
|
54
|
+
showMark: true,
|
|
55
|
+
showGridline: true, // wether to draw a gridline (across the whole grid) at this tick,
|
|
56
|
+
markSize: 4, // length the tick will extend beyond the grid in pixels. For
|
|
57
|
+
// 'cross', length will be added above and below the grid boundary,
|
|
58
|
+
show: true, // wether to show the tick (mark and label),
|
|
59
|
+
showLabel: true, // wether to show the text label at the tick,
|
|
60
|
+
formatString: '', // format string to use with the axis tick formatter
|
|
61
|
+
}
|
|
62
|
+
showTicks: true, // wether or not to show the tick labels,
|
|
63
|
+
showTickMarks: true, // wether or not to show the tick marks
|
|
64
|
+
},
|
|
65
|
+
|
|
66
|
+
axes: {
|
|
67
|
+
xaxis: {
|
|
68
|
+
// same options as axesDefaults
|
|
69
|
+
},
|
|
70
|
+
yaxis: {
|
|
71
|
+
// same options as axesDefaults
|
|
72
|
+
},
|
|
73
|
+
x2axis: {
|
|
74
|
+
// same options as axesDefaults
|
|
75
|
+
},
|
|
76
|
+
y2axis: {
|
|
77
|
+
// same options as axesDefaults
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
|
|
81
|
+
seriesDefaults: {
|
|
82
|
+
show: true, // wether to render the series.
|
|
83
|
+
xaxis: 'xaxis', // either 'xaxis' or 'x2axis'.
|
|
84
|
+
yaxis: 'yaxis', // either 'yaxis' or 'y2axis'.
|
|
85
|
+
label: '', // label to use in the legend for this line.
|
|
86
|
+
color: '', // CSS color spec to use for the line. Determined automatically.
|
|
87
|
+
lineWidth: 2.5, // Width of the line in pixels.
|
|
88
|
+
shadow: true, // show shadow or not.
|
|
89
|
+
shadowAngle: 45, // angle (degrees) of the shadow, clockwise from x axis.
|
|
90
|
+
shadowOffset: 1.25, // offset from the line of the shadow.
|
|
91
|
+
shadowDepth: 3, // Number of strokes to make when drawing shadow. Each
|
|
92
|
+
// stroke offset by shadowOffset from the last.
|
|
93
|
+
shadowAlpha: 0.1, // Opacity of the shadow.
|
|
94
|
+
showLine: true, // whether to render the line segments or not.
|
|
95
|
+
showMarker: true, // render the data point markers or not.
|
|
96
|
+
fill: false, // fill under the line,
|
|
97
|
+
fillAndStroke: false, // **stroke a line at top of fill area.
|
|
98
|
+
fillColor: undefined, // **custom fill color for filled lines (default is line color).
|
|
99
|
+
fillAlpha: undefined, // **custom alpha to apply to fillColor.
|
|
100
|
+
renderer: $.jqplot.LineRenderer], // renderer used to draw the series.
|
|
101
|
+
rendererOptions: {}, // options passed to the renderer. LineRenderer has no options.
|
|
102
|
+
markerRenderer: $.jqplot.MarkerRenderer, // renderer to use to draw the data
|
|
103
|
+
// point markers.
|
|
104
|
+
markerOptions: {
|
|
105
|
+
show: true, // wether to show data point markers.
|
|
106
|
+
style: 'filledCircle', // circle, diamond, square, filledCircle.
|
|
107
|
+
// filledDiamond or filledSquare.
|
|
108
|
+
lineWidth: 2, // width of the stroke drawing the marker.
|
|
109
|
+
size: 9, // size (diameter, edge length, etc.) of the marker.
|
|
110
|
+
color: '#666666' // color of marker, set to color of line by default.
|
|
111
|
+
shadow: true, // wether to draw shadow on marker or not.
|
|
112
|
+
shadowAngle: 45, // angle of the shadow. Clockwise from x axis.
|
|
113
|
+
shadowOffset: 1, // offset from the line of the shadow,
|
|
114
|
+
shadowDepth: 3, // Number of strokes to make when drawing shadow. Each stroke
|
|
115
|
+
// offset by shadowOffset from the last.
|
|
116
|
+
shadowAlpha: 0.07 // Opacity of the shadow
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
series:[
|
|
121
|
+
{Each series has same options as seriesDefaults},
|
|
122
|
+
{You can override each series individually here}
|
|
123
|
+
],
|
|
124
|
+
|
|
125
|
+
legend: {
|
|
126
|
+
show: false,
|
|
127
|
+
location: 'ne', // compass direction, nw, n, ne, e, se, s, sw, w.
|
|
128
|
+
xoffset: 12, // pixel offset of the legend box from the x (or x2) axis.
|
|
129
|
+
yoffset: 12, // pixel offset of the legend box from the y (or y2) axis.
|
|
130
|
+
},
|
|
131
|
+
|
|
132
|
+
grid: {
|
|
133
|
+
drawGridLines: true, // wether to draw lines across the grid or not.
|
|
134
|
+
gridLineColor: '#cccccc' // **Color of the grid lines.
|
|
135
|
+
background: '#fffdf6', // CSS color spec for background color of grid.
|
|
136
|
+
borderColor: '#999999', // CSS color spec for border around grid.
|
|
137
|
+
borderWidth: 2.0, // pixel width of border around grid.
|
|
138
|
+
shadow: true, // draw a shadow for grid.
|
|
139
|
+
shadowAngle: 45, // angle of the shadow. Clockwise from x axis.
|
|
140
|
+
shadowOffset: 1.5, // offset from the line of the shadow.
|
|
141
|
+
shadowWidth: 3, // width of the stroke for the shadow.
|
|
142
|
+
shadowDepth: 3, // Number of strokes to make when drawing shadow.
|
|
143
|
+
// Each stroke offset by shadowOffset from the last.
|
|
144
|
+
shadowAlpha: 0.07 // Opacity of the shadow
|
|
145
|
+
renderer: $.jqplot.CanvasGridRenderer, // renderer to use to draw the grid.
|
|
146
|
+
rendererOptions: {} // options to pass to the renderer. Note, the default
|
|
147
|
+
// CanvasGridRenderer takes no additional options.
|
|
148
|
+
},
|
|
149
|
+
|
|
150
|
+
// Plugin and renderer options.
|
|
151
|
+
|
|
152
|
+
// BarRenderer.
|
|
153
|
+
// With BarRenderer, you can specify additional options in the rendererOptions object
|
|
154
|
+
// on the series or on the seriesDefaults object. Note, some options are respecified
|
|
155
|
+
// (like shadowDepth) to override lineRenderer defaults from which BarRenderer inherits.
|
|
156
|
+
|
|
157
|
+
seriesDefaults: {
|
|
158
|
+
rendererOptions: {
|
|
159
|
+
barPadding: 8, // number of pixels between adjacent bars in the same
|
|
160
|
+
// group (same category or bin).
|
|
161
|
+
barMargin: 10, // number of pixels between adjacent groups of bars.
|
|
162
|
+
barDirection: 'vertical', // vertical or horizontal.
|
|
163
|
+
barWidth: null, // width of the bars. null to calculate automatically.
|
|
164
|
+
shadowOffset: 2, // offset from the bar edge to stroke the shadow.
|
|
165
|
+
shadowDepth: 5, // nuber of strokes to make for the shadow.
|
|
166
|
+
shadowAlpha: 0.8, // transparency of the shadow.
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
|
|
170
|
+
// Cursor
|
|
171
|
+
// Options are passed to the cursor plugin through the "cursor" object at the top
|
|
172
|
+
// level of the options object.
|
|
173
|
+
|
|
174
|
+
cursor: {
|
|
175
|
+
style: 'crosshair', // A CSS spec for the cursor type to change the
|
|
176
|
+
// cursor to when over plot.
|
|
177
|
+
show: true,
|
|
178
|
+
showTooltip: true, // show a tooltip showing cursor position.
|
|
179
|
+
followMouse: false, // wether tooltip should follow the mouse or be stationary.
|
|
180
|
+
tooltipLocation: 'se', // location of the tooltip either relative to the mouse
|
|
181
|
+
// (followMouse=true) or relative to the plot. One of
|
|
182
|
+
// the compass directions, n, ne, e, se, etc.
|
|
183
|
+
tooltipOffset: 6, // pixel offset of the tooltip from the mouse or the axes.
|
|
184
|
+
showTooltipGridPosition: false, // show the grid pixel coordinates of the mouse
|
|
185
|
+
// in the tooltip.
|
|
186
|
+
showTooltipUnitPosition: true, // show the coordinates in data units of the mouse
|
|
187
|
+
// in the tooltip.
|
|
188
|
+
tooltipFormatString: '%.4P', // sprintf style format string for tooltip values.
|
|
189
|
+
useAxesFormatters: true, // wether to use the same formatter and formatStrings
|
|
190
|
+
// as used by the axes, or to use the formatString
|
|
191
|
+
// specified on the cursor with sprintf.
|
|
192
|
+
tooltipAxesGroups: [], // show only specified axes groups in tooltip. Would specify like:
|
|
193
|
+
// [['xaxis', 'yaxis'], ['xaxis', 'y2axis']]. By default, all axes
|
|
194
|
+
// combinations with for the series in the plot are shown.
|
|
195
|
+
|
|
196
|
+
},
|
|
197
|
+
|
|
198
|
+
// Dragable
|
|
199
|
+
// Dragable options are specified with the "dragable" object at the top level
|
|
200
|
+
// of the options object.
|
|
201
|
+
|
|
202
|
+
dragable: {
|
|
203
|
+
color: undefined, // custom color to use for the dragged point and dragged line
|
|
204
|
+
// section. default will use a transparent variant of the line color.
|
|
205
|
+
constrainTo: 'none', // Constrain dragging motion to an axis: 'x', 'y', or 'none'.
|
|
206
|
+
},
|
|
207
|
+
|
|
208
|
+
// Highlighter
|
|
209
|
+
// Highlighter options are specified with the "highlighter" object at the top level
|
|
210
|
+
// of the options object.
|
|
211
|
+
|
|
212
|
+
highlighter: {
|
|
213
|
+
lineWidthAdjust: 2.5, // pixels to add to the size line stroking the data point marker
|
|
214
|
+
// when showing highlight. Only affects non filled data point markers.
|
|
215
|
+
sizeAdjust: 5, // pixels to add to the size of filled markers when drawing highlight.
|
|
216
|
+
showTooltip: true, // show a tooltip with data point values.
|
|
217
|
+
tooltipLocation: 'nw', // location of tooltip: n, ne, e, se, s, sw, w, nw.
|
|
218
|
+
fadeTooltip: true, // use fade effect to show/hide tooltip.
|
|
219
|
+
tooltipFadeSpeed: "fast"// slow, def, fast, or a number of milliseconds.
|
|
220
|
+
tooltipOffset: 2, // pixel offset of tooltip from the highlight.
|
|
221
|
+
tooltipAxes: 'both', // which axis values to display in the tooltip, x, y or both.
|
|
222
|
+
tooltipSeparator: ', ' // separator between values in the tooltip.
|
|
223
|
+
useAxesFormatters: true // use the same format string and formatters as used in the axes to
|
|
224
|
+
// display values in the tooltip.
|
|
225
|
+
tooltipFormatString: '%.5P' // sprintf format string for the tooltip. only used if
|
|
226
|
+
// useAxesFormatters is false. Will use sprintf formatter with
|
|
227
|
+
// this string, not the axes formatters.
|
|
228
|
+
},
|
|
229
|
+
|
|
230
|
+
// LogAxisRenderer
|
|
231
|
+
// LogAxisRenderer add 2 options to the axes object. These options are specified directly on
|
|
232
|
+
// the axes or axesDefaults object.
|
|
233
|
+
|
|
234
|
+
axesDefaults: {
|
|
235
|
+
base: 10, // the logarithmic base.
|
|
236
|
+
tickDistribution: 'even', // 'even' or 'power'. 'even' will produce with even visiual (pixel)
|
|
237
|
+
// spacing on the axis. 'power' will produce ticks spaced by
|
|
238
|
+
// increasing powers of the log base.
|
|
239
|
+
},
|
|
240
|
+
|
|
241
|
+
// PieRenderer
|
|
242
|
+
// PieRenderer accepts options from the rendererOptions object of the series or seriesDefaults object.
|
|
243
|
+
|
|
244
|
+
seriesDefaults: {
|
|
245
|
+
rendererOptions: {
|
|
246
|
+
diameter: undefined, // diameter of pie, auto computed by default.
|
|
247
|
+
padding: 20, // padding between pie and neighboring legend or plot margin.
|
|
248
|
+
sliceMargin: 0, // gap between slices.
|
|
249
|
+
fill: true, // render solid (filled) slices.
|
|
250
|
+
shadowOffset: 2, // offset of the shadow from the chart.
|
|
251
|
+
shadowDepth: 5, // Number of strokes to make when drawing shadow. Each stroke
|
|
252
|
+
// offset by shadowOffset from the last.
|
|
253
|
+
shadowAlpha: 0.07 // Opacity of the shadow
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
|
|
257
|
+
// Trendline
|
|
258
|
+
// Trendline takes options on the trendline object of the series or seriesDefaults object.
|
|
259
|
+
|
|
260
|
+
seriesDefaults: {
|
|
261
|
+
trendline: {
|
|
262
|
+
show: true, // show the trend line
|
|
263
|
+
color: '#666666', // CSS color spec for the trend line.
|
|
264
|
+
label: '', // label for the trend line.
|
|
265
|
+
type: 'linear', // 'linear', 'exponential' or 'exp'
|
|
266
|
+
shadow: true, // show the trend line shadow.
|
|
267
|
+
lineWidth: 1.5, // width of the trend line.
|
|
268
|
+
shadowAngle: 45, // angle of the shadow. Clockwise from x axis.
|
|
269
|
+
shadowOffset: 1.5, // offset from the line of the shadow.
|
|
270
|
+
shadowDepth: 3, // Number of strokes to make when drawing shadow.
|
|
271
|
+
// Each stroke offset by shadowOffset from the last.
|
|
272
|
+
shadowAlpha: 0.07 // Opacity of the shadow
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}}}
|