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,174 @@
|
|
1
|
+
html, body {
|
2
|
+
height: 100%;
|
3
|
+
}
|
4
|
+
|
5
|
+
/*
|
6
|
+
div.Firefox {
|
7
|
+
height: 100%;
|
8
|
+
}
|
9
|
+
*/
|
10
|
+
|
11
|
+
.MTitle {
|
12
|
+
font-variant: normal;
|
13
|
+
}
|
14
|
+
|
15
|
+
.MLink {
|
16
|
+
font-style: normal;
|
17
|
+
}
|
18
|
+
|
19
|
+
.CBody {
|
20
|
+
margin-left: 30px;
|
21
|
+
margin-right: 30px;
|
22
|
+
}
|
23
|
+
|
24
|
+
p {
|
25
|
+
text-indent: 0;
|
26
|
+
margin-bottom: 1em;
|
27
|
+
}
|
28
|
+
|
29
|
+
.CBody p {
|
30
|
+
/*
|
31
|
+
padding-top: 4px;
|
32
|
+
padding-bottom: 4px;
|
33
|
+
*/
|
34
|
+
}
|
35
|
+
|
36
|
+
#Menu {
|
37
|
+
margin-top: 94px;
|
38
|
+
border: 0px;
|
39
|
+
}
|
40
|
+
|
41
|
+
body.ContentPage {
|
42
|
+
background-image: url('../../images/background.jpg');
|
43
|
+
background-color: #818181;
|
44
|
+
background-position: left top;
|
45
|
+
background-repeat: repeat-x;
|
46
|
+
}
|
47
|
+
|
48
|
+
.MGroup a:link,
|
49
|
+
.MGroup a:hover,
|
50
|
+
.MGroup a:visited { color: #bfbfbf; margin-right: 10px }
|
51
|
+
.MGroup a:active { color: #f58f07; margin-right: 10px }
|
52
|
+
|
53
|
+
|
54
|
+
.MEntry a:link,
|
55
|
+
.MEntry a:hover,
|
56
|
+
.MEntry a:visited { color: #bfbfbf; margin-right: 0 }
|
57
|
+
.MEntry a:active { color: #f58f07; margin-right: 0 }
|
58
|
+
|
59
|
+
#Footer {
|
60
|
+
color: #bfbfbf;
|
61
|
+
}
|
62
|
+
|
63
|
+
#Footer a:link, #Footer a:hover, #Footer a:visited {
|
64
|
+
color: #5c93f0;
|
65
|
+
}
|
66
|
+
|
67
|
+
#MainTopic div.CTitle.logo {
|
68
|
+
color: #292929;
|
69
|
+
font-size: 0px;
|
70
|
+
font-style: normal;
|
71
|
+
font-weight: normal;
|
72
|
+
border-width: 0px;
|
73
|
+
padding: 0px;
|
74
|
+
margin: 0px;
|
75
|
+
background-position: left top;
|
76
|
+
background-repeat: no-repeat;
|
77
|
+
background-image: url('../../images/logo.jpg');
|
78
|
+
background-color: #292929;
|
79
|
+
height: 94px;
|
80
|
+
position: relative;
|
81
|
+
|
82
|
+
}
|
83
|
+
|
84
|
+
#MainTopic h1.CTitle a {
|
85
|
+
display: none;
|
86
|
+
}
|
87
|
+
|
88
|
+
|
89
|
+
#MainTopic div.CBody p:first-child {
|
90
|
+
margin-top: 24px;
|
91
|
+
}
|
92
|
+
|
93
|
+
.ContentPage #Content {
|
94
|
+
border: 0px;
|
95
|
+
/* height: 100%; */
|
96
|
+
}
|
97
|
+
|
98
|
+
#IPageLogo {
|
99
|
+
width: 780px;
|
100
|
+
color: #292929;
|
101
|
+
font-style: normal;
|
102
|
+
font-weight: normal;
|
103
|
+
border-width: 0px;
|
104
|
+
padding: 0px;
|
105
|
+
margin: 0px;
|
106
|
+
background-position: left top;
|
107
|
+
background-repeat: no-repeat;
|
108
|
+
background-image: url('../../images/logo.jpg');
|
109
|
+
background-color: #292929;
|
110
|
+
height: 94px;
|
111
|
+
position: relative;
|
112
|
+
left: 27ex;
|
113
|
+
}
|
114
|
+
|
115
|
+
#Menu, #IPageLogo {
|
116
|
+
font-size: 9pt;
|
117
|
+
}
|
118
|
+
|
119
|
+
body.IndexPage {
|
120
|
+
background-image: url('../../images/background.jpg');
|
121
|
+
}
|
122
|
+
|
123
|
+
/*#IPageLogo:hover {
|
124
|
+
cursor: pointer;
|
125
|
+
}*/
|
126
|
+
|
127
|
+
.IPageTitle {
|
128
|
+
background-color:#FFFFF0;
|
129
|
+
color: #333333;
|
130
|
+
border: 0px;
|
131
|
+
}
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
div.nav {
|
136
|
+
position:relative;
|
137
|
+
top: 70px;
|
138
|
+
text-align: right;
|
139
|
+
}
|
140
|
+
|
141
|
+
a.nav span {
|
142
|
+
font-size: 11px;
|
143
|
+
position: relative;
|
144
|
+
bottom: 2px;
|
145
|
+
}
|
146
|
+
|
147
|
+
a.nav:visited {
|
148
|
+
text-decoration: none;
|
149
|
+
border: 0px;
|
150
|
+
color: #aaaaaa;
|
151
|
+
}
|
152
|
+
|
153
|
+
a.nav, a.nav:link {
|
154
|
+
border: 0px;
|
155
|
+
text-decoration: none;
|
156
|
+
font-family: Tahoma, "Helvetica Neue", "Trebuchet MS", Verdana, Arial, sans-serif;
|
157
|
+
font-size: 16px;
|
158
|
+
color: #aaaaaa;
|
159
|
+
margin-right: 11px;
|
160
|
+
}
|
161
|
+
|
162
|
+
a.nav:hover {
|
163
|
+
text-decoration: none;
|
164
|
+
border: 0px;
|
165
|
+
color: #E0771C;
|
166
|
+
}
|
167
|
+
|
168
|
+
a.nav:active {
|
169
|
+
text-decoration: none;
|
170
|
+
border: 0px;
|
171
|
+
color: #E0771C;
|
172
|
+
}
|
173
|
+
|
174
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
AddType application/x-httpd-php .php .html .htm
|
@@ -0,0 +1,333 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/html4/loose.dtd">
|
3
|
+
|
4
|
+
<html lang="en">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
8
|
+
<title>OHLC Charts</title>
|
9
|
+
<!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
|
10
|
+
|
11
|
+
<link rel="stylesheet" type="text/css" href="../jquery.jqplot.css" />
|
12
|
+
<link rel="stylesheet" type="text/css" href="examples.css" />
|
13
|
+
|
14
|
+
<!-- BEGIN: load jquery -->
|
15
|
+
<script language="javascript" type="text/javascript" src="../jquery-1.4.2.min.js"></script>
|
16
|
+
<!-- END: load jquery -->
|
17
|
+
|
18
|
+
<!-- BEGIN: load jqplot -->
|
19
|
+
<script language="javascript" type="text/javascript" src="../jquery.jqplot.js"></script>
|
20
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.js"></script>
|
21
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.js"></script>
|
22
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.ohlcRenderer.js"></script>
|
23
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.highlighter.js"></script>
|
24
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.cursor.js"></script>
|
25
|
+
|
26
|
+
|
27
|
+
<style type="text/css">
|
28
|
+
.jqplot-target {
|
29
|
+
margin-bottom: 2em;
|
30
|
+
}
|
31
|
+
|
32
|
+
pre {
|
33
|
+
background: #D8F4DC;
|
34
|
+
border: 1px solid rgb(200, 200, 200);
|
35
|
+
padding-top: 1em;
|
36
|
+
padding-left: 3em;
|
37
|
+
padding-bottom: 1em;
|
38
|
+
margin-top: 1em;
|
39
|
+
margin-bottom: 4em;
|
40
|
+
|
41
|
+
}
|
42
|
+
|
43
|
+
p {
|
44
|
+
margin: 2em 0;
|
45
|
+
}
|
46
|
+
|
47
|
+
.note {
|
48
|
+
font-size: 0.8em;
|
49
|
+
}
|
50
|
+
</style>
|
51
|
+
|
52
|
+
<!-- END: load jqplot -->
|
53
|
+
|
54
|
+
<script class="common" type="text/javascript">
|
55
|
+
$.jqplot.config.enablePlugins = true;
|
56
|
+
|
57
|
+
ohlc = [['07/06/09', 138.7, 139.68, 135.18, 135.4],
|
58
|
+
['06/29/09', 143.46, 144.66, 139.79, 140.02],
|
59
|
+
['06/22/09', 140.67, 143.56, 132.88, 142.44],
|
60
|
+
['06/15/09', 136.01, 139.5, 134.53, 139.48],
|
61
|
+
['06/08/09', 143.82, 144.56, 136.04, 136.97],
|
62
|
+
['06/01/09', 136.47, 146.4, 136, 144.67],
|
63
|
+
['05/26/09', 124.76, 135.9, 124.55, 135.81],
|
64
|
+
['05/18/09', 123.73, 129.31, 121.57, 122.5],
|
65
|
+
['05/11/09', 127.37, 130.96, 119.38, 122.42],
|
66
|
+
['05/04/09', 128.24, 133.5, 126.26, 129.19],
|
67
|
+
['04/27/09', 122.9, 127.95, 122.66, 127.24],
|
68
|
+
['04/20/09', 121.73, 127.2, 118.6, 123.9],
|
69
|
+
['04/13/09', 120.01, 124.25, 115.76, 123.42],
|
70
|
+
['04/06/09', 114.94, 120, 113.28, 119.57],
|
71
|
+
['03/30/09', 104.51, 116.13, 102.61, 115.99],
|
72
|
+
['03/23/09', 102.71, 109.98, 101.75, 106.85],
|
73
|
+
['03/16/09', 96.53, 103.48, 94.18, 101.59],
|
74
|
+
['03/09/09', 84.18, 97.2, 82.57, 95.93],
|
75
|
+
['03/02/09', 88.12, 92.77, 82.33, 85.3],
|
76
|
+
['02/23/09', 91.65, 92.92, 86.51, 89.31],
|
77
|
+
['02/17/09', 96.87, 97.04, 89, 91.2],
|
78
|
+
['02/09/09', 100, 103, 95.77, 99.16],
|
79
|
+
['02/02/09', 89.1, 100, 88.9, 99.72],
|
80
|
+
['01/26/09', 88.86, 95, 88.3, 90.13],
|
81
|
+
['01/20/09', 81.93, 90, 78.2, 88.36],
|
82
|
+
['01/12/09', 90.46, 90.99, 80.05, 82.33],
|
83
|
+
['01/05/09', 93.17, 97.17, 90.04, 90.58],
|
84
|
+
['12/29/08', 86.52, 91.04, 84.72, 90.75],
|
85
|
+
['12/22/08', 90.02, 90.03, 84.55, 85.81],
|
86
|
+
['12/15/08', 95.99, 96.48, 88.02, 90],
|
87
|
+
['12/08/08', 97.28, 103.6, 92.53, 98.27],
|
88
|
+
['12/01/08', 91.3, 96.23, 86.5, 94],
|
89
|
+
['11/24/08', 85.21, 95.25, 84.84, 92.67],
|
90
|
+
['11/17/08', 88.48, 91.58, 79.14, 82.58],
|
91
|
+
['11/10/08', 100.17, 100.4, 86.02, 90.24],
|
92
|
+
['11/03/08', 105.93, 111.79, 95.72, 98.24],
|
93
|
+
['10/27/08', 95.07, 112.19, 91.86, 107.59],
|
94
|
+
['10/20/08', 99.78, 101.25, 90.11, 96.38],
|
95
|
+
['10/13/08', 104.55, 116.4, 85.89, 97.4],
|
96
|
+
['10/06/08', 91.96, 101.5, 85, 96.8],
|
97
|
+
['09/29/08', 119.62, 119.68, 94.65, 97.07],
|
98
|
+
['09/22/08', 139.94, 140.25, 123, 128.24],
|
99
|
+
['09/15/08', 142.03, 147.69, 120.68, 140.91],
|
100
|
+
['09/08/08', 164.57, 164.89, 146, 148.94]
|
101
|
+
];
|
102
|
+
|
103
|
+
ohlc_b = [['07/06/09', 138.7, 139.68, 135.18, 135.4, 'j'],
|
104
|
+
['06/29/09', 143.46, 144.66, 139.79, 140.02, 'q'],
|
105
|
+
['06/22/09', 140.67, 143.56, 132.88, 142.44, 'p'],
|
106
|
+
['06/15/09', 136.01, 139.5, 134.53, 139.48, 'l'],
|
107
|
+
['06/08/09', 143.82, 144.56, 136.04, 136.97, 'o'],
|
108
|
+
['06/01/09', 136.47, 146.4, 136, 144.67, 't'],
|
109
|
+
['05/26/09', 124.76, 135.9, 124.55, 135.81, '_'],
|
110
|
+
['05/18/09', 123.73, 129.31, 121.57, 122.5, 'c'],
|
111
|
+
['05/11/09', 127.37, 130.96, 119.38, 122.42, 'h'],
|
112
|
+
['05/04/09', 128.24, 133.5, 126.26, 129.19, 'a'],
|
113
|
+
['04/27/09', 122.9, 127.95, 122.66, 127.24, 'r'],
|
114
|
+
['04/20/09', 121.73, 127.2, 118.6, 123.9, 't'],
|
115
|
+
['04/13/09', 120.01, 124.25, 115.76, 123.42, 's']
|
116
|
+
];
|
117
|
+
|
118
|
+
hlc = [['07/06/09', 139.68, 135.18, 135.4],
|
119
|
+
['06/29/09', 144.66, 139.79, 140.02],
|
120
|
+
['06/22/09', 143.56, 132.88, 142.44],
|
121
|
+
['06/15/09', 139.5, 134.53, 139.48],
|
122
|
+
['06/08/09', 144.56, 136.04, 136.97],
|
123
|
+
['06/01/09', 146.4, 136, 144.67],
|
124
|
+
['05/26/09', 135.9, 124.55, 135.81],
|
125
|
+
['05/18/09', 129.31, 121.57, 122.5],
|
126
|
+
['05/11/09', 130.96, 119.38, 122.42],
|
127
|
+
['05/04/09', 133.5, 126.26, 129.19],
|
128
|
+
['04/27/09', 127.95, 122.66, 127.24],
|
129
|
+
['04/20/09', 127.2, 118.6, 123.9],
|
130
|
+
['04/13/09', 124.25, 115.76, 123.42],
|
131
|
+
['04/06/09', 120, 113.28, 119.57],
|
132
|
+
['03/30/09', 116.13, 102.61, 115.99],
|
133
|
+
['03/23/09', 109.98, 101.75, 106.85],
|
134
|
+
['03/16/09', 103.48, 94.18, 101.59],
|
135
|
+
['03/09/09', 97.2, 82.57, 95.93],
|
136
|
+
['03/02/09', 92.77, 82.33, 85.3],
|
137
|
+
['02/23/09', 92.92, 86.51, 89.31],
|
138
|
+
['02/17/09', 97.04, 89, 91.2],
|
139
|
+
['02/09/09', 103, 95.77, 99.16],
|
140
|
+
['02/02/09', 100, 88.9, 99.72],
|
141
|
+
['01/26/09', 95, 88.3, 90.13],
|
142
|
+
['01/20/09', 90, 78.2, 88.36],
|
143
|
+
['01/12/09', 90.99, 80.05, 82.33],
|
144
|
+
['01/05/09', 97.17, 90.04, 90.58],
|
145
|
+
['12/29/08', 91.04, 84.72, 90.75],
|
146
|
+
['12/22/08', 90.03, 84.55, 85.81],
|
147
|
+
['12/15/08', 96.48, 88.02, 90],
|
148
|
+
['12/08/08', 103.6, 92.53, 98.27],
|
149
|
+
['12/01/08', 96.23, 86.5, 94],
|
150
|
+
['11/24/08', 95.25, 84.84, 92.67],
|
151
|
+
['11/17/08', 91.58, 79.14, 82.58],
|
152
|
+
['11/10/08', 100.4, 86.02, 90.24],
|
153
|
+
['11/03/08', 111.79, 95.72, 98.24],
|
154
|
+
['10/27/08', 112.19, 91.86, 107.59],
|
155
|
+
['10/20/08', 101.25, 90.11, 96.38],
|
156
|
+
['10/13/08', 116.4, 85.89, 97.4],
|
157
|
+
['10/06/08', 101.5, 85, 96.8],
|
158
|
+
['09/29/08', 119.68, 94.65, 97.07],
|
159
|
+
['09/22/08', 140.25, 123, 128.24],
|
160
|
+
['09/15/08', 147.69, 120.68, 140.91],
|
161
|
+
['09/08/08', 164.89, 146, 148.94]
|
162
|
+
];
|
163
|
+
|
164
|
+
</script>
|
165
|
+
|
166
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
167
|
+
plot1 = $.jqplot('chart1',[ohlc],{
|
168
|
+
title: 'Chart',
|
169
|
+
axesDefaults:{},
|
170
|
+
axes: {
|
171
|
+
xaxis: {
|
172
|
+
renderer:$.jqplot.DateAxisRenderer,
|
173
|
+
tickOptions:{formatString:'%y.%m'}
|
174
|
+
},
|
175
|
+
yaxis: {
|
176
|
+
tickOptions:{formatString:'%.2f'}
|
177
|
+
}
|
178
|
+
},
|
179
|
+
series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{}}],
|
180
|
+
cursor:{
|
181
|
+
zoom:true,
|
182
|
+
tooltipOffset: 10,
|
183
|
+
tooltipLocation: 'nw'
|
184
|
+
}
|
185
|
+
});
|
186
|
+
});</script>
|
187
|
+
|
188
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
189
|
+
plot2 = $.jqplot('chart2',[ohlc],{
|
190
|
+
title: 'Chart',
|
191
|
+
axesDefaults:{},
|
192
|
+
axes: {
|
193
|
+
xaxis: {
|
194
|
+
renderer:$.jqplot.DateAxisRenderer,
|
195
|
+
tickOptions:{formatString:'%y.%m'}
|
196
|
+
},
|
197
|
+
yaxis: {
|
198
|
+
tickOptions:{formatString:'%.2f'}
|
199
|
+
}
|
200
|
+
},
|
201
|
+
series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{candleStick:true}}],
|
202
|
+
cursor:{
|
203
|
+
zoom:true,
|
204
|
+
tooltipOffset: 10,
|
205
|
+
tooltipLocation: 'nw'
|
206
|
+
},
|
207
|
+
highlighter: {
|
208
|
+
showMarker:false,
|
209
|
+
tooltipAxes: 'xy',
|
210
|
+
yvalues: 4,
|
211
|
+
formatString:'<table class="jqplot-highlighter"> \
|
212
|
+
<tr><td>date:</td><td>%s</td></tr> \
|
213
|
+
<tr><td>open:</td><td>%s</td></tr> \
|
214
|
+
<tr><td>hi:</td><td>%s</td></tr> \
|
215
|
+
<tr><td>low:</td><td>%s</td></tr> \
|
216
|
+
<tr><td>close:</td><td>%s</td></tr></table>'
|
217
|
+
}
|
218
|
+
});
|
219
|
+
});</script>
|
220
|
+
|
221
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
222
|
+
plot2b = $.jqplot('chart2b',[ohlc_b],{
|
223
|
+
title: 'Chart',
|
224
|
+
axesDefaults:{},
|
225
|
+
axes: {
|
226
|
+
xaxis: {
|
227
|
+
renderer:$.jqplot.DateAxisRenderer,
|
228
|
+
tickOptions:{formatString:'%y.%m'}
|
229
|
+
},
|
230
|
+
yaxis: {
|
231
|
+
tickOptions:{formatString:'%.2f'}
|
232
|
+
}
|
233
|
+
},
|
234
|
+
series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{candleStick:true}}],
|
235
|
+
cursor:{
|
236
|
+
zoom:true,
|
237
|
+
tooltipOffset: 10,
|
238
|
+
tooltipLocation: 'nw'
|
239
|
+
},
|
240
|
+
highlighter: {
|
241
|
+
showMarker:false,
|
242
|
+
tooltipAxes: 'xy',
|
243
|
+
yvalues: 5,
|
244
|
+
formatString:'<table class="jqplot-highlighter"> \
|
245
|
+
<tr><td>date:</td><td>%s</td></tr> \
|
246
|
+
<tr><td>open:</td><td>%s</td></tr> \
|
247
|
+
<tr><td>hi:</td><td>%s</td></tr> \
|
248
|
+
<tr><td>low:</td><td>%s</td></tr> \
|
249
|
+
<tr><td>close:</td><td>%s</td></tr> \
|
250
|
+
<tr><td>letter:</td><td>%s</td></tr></table>'
|
251
|
+
}
|
252
|
+
});
|
253
|
+
});</script>
|
254
|
+
|
255
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
256
|
+
plot3 = $.jqplot('chart3',[hlc],{
|
257
|
+
title: 'Chart',
|
258
|
+
axesDefaults:{},
|
259
|
+
axes: {
|
260
|
+
xaxis: {
|
261
|
+
renderer:$.jqplot.DateAxisRenderer,
|
262
|
+
tickOptions:{formatString:'%Y.%m'}
|
263
|
+
},
|
264
|
+
yaxis: {
|
265
|
+
tickOptions:{formatString:'%.2f'}
|
266
|
+
}
|
267
|
+
},
|
268
|
+
series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{}}],
|
269
|
+
cursor:{
|
270
|
+
zoom:true,
|
271
|
+
tooltipOffset: 10,
|
272
|
+
tooltipLocation: 'nw'
|
273
|
+
}
|
274
|
+
});
|
275
|
+
});</script>
|
276
|
+
|
277
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
278
|
+
var catOHLC = [[1, 138.7, 139.68, 135.18, 135.4],
|
279
|
+
[2, 143.46, 144.66, 139.79, 140.02],
|
280
|
+
[3, 140.67, 143.56, 132.88, 142.44],
|
281
|
+
[4, 136.01, 139.5, 134.53, 139.48],
|
282
|
+
[5, 143.82, 144.56, 136.04, 136.97],
|
283
|
+
[6, 136.47, 146.4, 136, 144.67],
|
284
|
+
[7, 124.76, 135.9, 124.55, 135.81],
|
285
|
+
[8, 123.73, 129.31, 121.57, 122.5]];
|
286
|
+
|
287
|
+
var ticks = ['Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun', 'Mon', 'Tue'];
|
288
|
+
|
289
|
+
plot4 = $.jqplot('chart4',[catOHLC],{
|
290
|
+
axes: {
|
291
|
+
xaxis: {
|
292
|
+
renderer:$.jqplot.CategoryAxisRenderer,
|
293
|
+
ticks:ticks
|
294
|
+
},
|
295
|
+
yaxis: {
|
296
|
+
tickOptions:{formatString:'$%.2f'}
|
297
|
+
}
|
298
|
+
},
|
299
|
+
series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{candleStick:true}}]
|
300
|
+
});
|
301
|
+
});</script>
|
302
|
+
|
303
|
+
|
304
|
+
<script type="text/javascript">
|
305
|
+
$(document).ready(function(){
|
306
|
+
|
307
|
+
$('script.code').each(function(index) {
|
308
|
+
$('pre.code').eq(index).text($(this).html());
|
309
|
+
});
|
310
|
+
$('script.common').each(function(index) {
|
311
|
+
$('pre.common').eq(index).html($(this).html());
|
312
|
+
});
|
313
|
+
$(document).unload(function() {$('*').unbind(); });
|
314
|
+
});
|
315
|
+
</script>
|
316
|
+
|
317
|
+
</head>
|
318
|
+
<body>
|
319
|
+
<?php include "nav.inc"; ?>
|
320
|
+
<div id="chart1" class="code" style="margin:20px;height:240px; width:640px;"></div>
|
321
|
+
<pre class="code"></pre>
|
322
|
+
<div id="chart2" class="code" style="margin:20px;height:240px; width:640px;"></div>
|
323
|
+
<pre class="code"></pre>
|
324
|
+
<div id="chart2b" class="code" style="margin:20px;height:240px; width:640px;"></div>
|
325
|
+
<pre class="code"></pre>
|
326
|
+
<div id="chart3" class="code" style="margin:20px;height:240px; width:640px;"></div>
|
327
|
+
<pre class="code"></pre>
|
328
|
+
<div id="chart4" class="code" style="margin:20px;height:320px; width:500px;"></div>
|
329
|
+
<pre class="code"></pre>
|
330
|
+
<p>The examples below use the folowing code:</p>
|
331
|
+
<pre class="common"></pre>
|
332
|
+
</body>
|
333
|
+
</html>
|