jqplot_rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +2 -0
- data/LICENSE +0 -0
- data/README.rdoc +1 -0
- data/files/dist/MIT-LICENSE.txt +21 -0
- data/files/dist/README.txt +77 -0
- data/files/dist/changes.txt +395 -0
- data/files/dist/copyright.txt +56 -0
- data/files/dist/docs/files/MIT-LICENSE-txt.html +39 -0
- data/files/dist/docs/files/changes-txt.html +39 -0
- data/files/dist/docs/files/gpl-2-0-txt.html +39 -0
- data/files/dist/docs/files/images/background.jpg +0 -0
- data/files/dist/docs/files/images/basicline.png +0 -0
- data/files/dist/docs/files/images/basiclogaxis.png +0 -0
- data/files/dist/docs/files/images/basiclogoptions.png +0 -0
- data/files/dist/docs/files/images/basicoptions.png +0 -0
- data/files/dist/docs/files/images/dualaxis.png +0 -0
- data/files/dist/docs/files/images/logo.jpg +0 -0
- data/files/dist/docs/files/images/navdocs.png +0 -0
- data/files/dist/docs/files/images/navdocsover.png +0 -0
- data/files/dist/docs/files/images/navdownload.png +0 -0
- data/files/dist/docs/files/images/navdownloadover.png +0 -0
- data/files/dist/docs/files/images/navexamples.png +0 -0
- data/files/dist/docs/files/images/navexamplesover.png +0 -0
- data/files/dist/docs/files/images/navhome.png +0 -0
- data/files/dist/docs/files/images/navhomeover.png +0 -0
- data/files/dist/docs/files/images/new.png +0 -0
- data/files/dist/docs/files/images/sample3.png +0 -0
- data/files/dist/docs/files/images/samplesm.png +0 -0
- data/files/dist/docs/files/jqPlotCssStyling-txt.html +39 -0
- data/files/dist/docs/files/jqPlotOptions-txt.html +292 -0
- data/files/dist/docs/files/jqplot-axisLabelRenderer-js.html +47 -0
- data/files/dist/docs/files/jqplot-axisTickRenderer-js.html +71 -0
- data/files/dist/docs/files/jqplot-canvasGridRenderer-js.html +39 -0
- data/files/dist/docs/files/jqplot-core-js.html +385 -0
- data/files/dist/docs/files/jqplot-divTitleRenderer-js.html +39 -0
- data/files/dist/docs/files/jqplot-lineRenderer-js.html +69 -0
- data/files/dist/docs/files/jqplot-linearAxisRenderer-js.html +61 -0
- data/files/dist/docs/files/jqplot-markerRenderer-js.html +65 -0
- data/files/dist/docs/files/jqplot-shadowRenderer-js.html +61 -0
- data/files/dist/docs/files/jqplot-shapeRenderer-js.html +65 -0
- data/files/dist/docs/files/jqplot-themeEngine-js.html +191 -0
- data/files/dist/docs/files/jqplot-toImage-js.html +39 -0
- data/files/dist/docs/files/optionsTutorial-txt.html +120 -0
- data/files/dist/docs/files/plugins/jqplot-BezierCurveRenderer-js.html +45 -0
- data/files/dist/docs/files/plugins/jqplot-barRenderer-js.html +69 -0
- data/files/dist/docs/files/plugins/jqplot-blockRenderer-js.html +53 -0
- data/files/dist/docs/files/plugins/jqplot-bubbleRenderer-js.html +71 -0
- data/files/dist/docs/files/plugins/jqplot-canvasAxisLabelRenderer-js.html +63 -0
- data/files/dist/docs/files/plugins/jqplot-canvasAxisTickRenderer-js.html +79 -0
- data/files/dist/docs/files/plugins/jqplot-canvasOverlay-js.html +113 -0
- data/files/dist/docs/files/plugins/jqplot-categoryAxisRenderer-js.html +46 -0
- data/files/dist/docs/files/plugins/jqplot-ciParser-js.html +39 -0
- data/files/dist/docs/files/plugins/jqplot-cursor-js.html +93 -0
- data/files/dist/docs/files/plugins/jqplot-dateAxisRenderer-js.html +101 -0
- data/files/dist/docs/files/plugins/jqplot-donutRenderer-js.html +98 -0
- data/files/dist/docs/files/plugins/jqplot-dragable-js.html +45 -0
- data/files/dist/docs/files/plugins/jqplot-enhancedLegendRenderer-js.html +49 -0
- data/files/dist/docs/files/plugins/jqplot-funnelRenderer-js.html +87 -0
- data/files/dist/docs/files/plugins/jqplot-highlighter-js.html +80 -0
- data/files/dist/docs/files/plugins/jqplot-logAxisRenderer-js.html +47 -0
- data/files/dist/docs/files/plugins/jqplot-mekkoAxisRenderer-js.html +49 -0
- data/files/dist/docs/files/plugins/jqplot-mekkoRenderer-js.html +62 -0
- data/files/dist/docs/files/plugins/jqplot-meterGaugeRenderer-js.html +103 -0
- data/files/dist/docs/files/plugins/jqplot-ohlcRenderer-js.html +65 -0
- data/files/dist/docs/files/plugins/jqplot-pieRenderer-js.html +93 -0
- data/files/dist/docs/files/plugins/jqplot-pointLabels-js.html +72 -0
- data/files/dist/docs/files/plugins/jqplot-pyramidAxisRenderer-js.html +49 -0
- data/files/dist/docs/files/plugins/jqplot-pyramidGridRenderer-js.html +39 -0
- data/files/dist/docs/files/plugins/jqplot-pyramidRenderer-js.html +53 -0
- data/files/dist/docs/files/plugins/jqplot-trendline-js.html +67 -0
- data/files/dist/docs/files/usage-txt.html +58 -0
- data/files/dist/docs/index/Classes.html +70 -0
- data/files/dist/docs/index/Files.html +34 -0
- data/files/dist/docs/index/Functions.html +66 -0
- data/files/dist/docs/index/General.html +42 -0
- data/files/dist/docs/index/General2.html +42 -0
- data/files/dist/docs/index/General3.html +42 -0
- data/files/dist/docs/index/General4.html +46 -0
- data/files/dist/docs/index/General5.html +46 -0
- data/files/dist/docs/index/General6.html +34 -0
- data/files/dist/docs/index/General7.html +58 -0
- data/files/dist/docs/index/Hooks.html +46 -0
- data/files/dist/docs/index/Properties.html +42 -0
- data/files/dist/docs/index/Properties2.html +42 -0
- data/files/dist/docs/index/Properties3.html +46 -0
- data/files/dist/docs/index/Properties4.html +50 -0
- data/files/dist/docs/index/Properties5.html +34 -0
- data/files/dist/docs/index/Properties6.html +58 -0
- data/files/dist/docs/index.html +1 -0
- data/files/dist/docs/javascript/main.js +836 -0
- data/files/dist/docs/javascript/searchdata.js +182 -0
- data/files/dist/docs/search/ClassesA.html +20 -0
- data/files/dist/docs/search/ClassesD.html +20 -0
- data/files/dist/docs/search/ClassesG.html +20 -0
- data/files/dist/docs/search/ClassesH.html +20 -0
- data/files/dist/docs/search/ClassesJ.html +20 -0
- data/files/dist/docs/search/ClassesL.html +20 -0
- data/files/dist/docs/search/ClassesS.html +20 -0
- data/files/dist/docs/search/ClassesSymbols.html +20 -0
- data/files/dist/docs/search/ClassesT.html +20 -0
- data/files/dist/docs/search/ClassesV.html +20 -0
- data/files/dist/docs/search/FilesJ.html +20 -0
- data/files/dist/docs/search/FunctionsC.html +20 -0
- data/files/dist/docs/search/FunctionsD.html +20 -0
- data/files/dist/docs/search/FunctionsG.html +20 -0
- data/files/dist/docs/search/FunctionsI.html +20 -0
- data/files/dist/docs/search/FunctionsM.html +20 -0
- data/files/dist/docs/search/FunctionsN.html +20 -0
- data/files/dist/docs/search/FunctionsR.html +20 -0
- data/files/dist/docs/search/FunctionsS.html +20 -0
- data/files/dist/docs/search/FunctionsZ.html +20 -0
- data/files/dist/docs/search/GeneralA.html +20 -0
- data/files/dist/docs/search/GeneralB.html +20 -0
- data/files/dist/docs/search/GeneralC.html +20 -0
- data/files/dist/docs/search/GeneralD.html +20 -0
- data/files/dist/docs/search/GeneralE.html +20 -0
- data/files/dist/docs/search/GeneralF.html +20 -0
- data/files/dist/docs/search/GeneralG.html +20 -0
- data/files/dist/docs/search/GeneralH.html +20 -0
- data/files/dist/docs/search/GeneralI.html +20 -0
- data/files/dist/docs/search/GeneralJ.html +20 -0
- data/files/dist/docs/search/GeneralL.html +20 -0
- data/files/dist/docs/search/GeneralM.html +20 -0
- data/files/dist/docs/search/GeneralN.html +20 -0
- data/files/dist/docs/search/GeneralO.html +20 -0
- data/files/dist/docs/search/GeneralP.html +20 -0
- data/files/dist/docs/search/GeneralR.html +20 -0
- data/files/dist/docs/search/GeneralS.html +20 -0
- data/files/dist/docs/search/GeneralSymbols.html +20 -0
- data/files/dist/docs/search/GeneralT.html +20 -0
- data/files/dist/docs/search/GeneralU.html +20 -0
- data/files/dist/docs/search/GeneralV.html +20 -0
- data/files/dist/docs/search/GeneralW.html +20 -0
- data/files/dist/docs/search/GeneralX.html +20 -0
- data/files/dist/docs/search/GeneralY.html +20 -0
- data/files/dist/docs/search/GeneralZ.html +20 -0
- data/files/dist/docs/search/HooksA.html +20 -0
- data/files/dist/docs/search/HooksE.html +20 -0
- data/files/dist/docs/search/HooksJ.html +20 -0
- data/files/dist/docs/search/HooksP.html +20 -0
- data/files/dist/docs/search/NoResults.html +15 -0
- data/files/dist/docs/search/PropertiesA.html +20 -0
- data/files/dist/docs/search/PropertiesB.html +20 -0
- data/files/dist/docs/search/PropertiesC.html +20 -0
- data/files/dist/docs/search/PropertiesD.html +20 -0
- data/files/dist/docs/search/PropertiesE.html +20 -0
- data/files/dist/docs/search/PropertiesF.html +20 -0
- data/files/dist/docs/search/PropertiesG.html +20 -0
- data/files/dist/docs/search/PropertiesH.html +20 -0
- data/files/dist/docs/search/PropertiesI.html +20 -0
- data/files/dist/docs/search/PropertiesL.html +20 -0
- data/files/dist/docs/search/PropertiesM.html +20 -0
- data/files/dist/docs/search/PropertiesN.html +20 -0
- data/files/dist/docs/search/PropertiesO.html +20 -0
- data/files/dist/docs/search/PropertiesP.html +20 -0
- data/files/dist/docs/search/PropertiesR.html +20 -0
- data/files/dist/docs/search/PropertiesS.html +20 -0
- data/files/dist/docs/search/PropertiesT.html +20 -0
- data/files/dist/docs/search/PropertiesU.html +20 -0
- data/files/dist/docs/search/PropertiesV.html +20 -0
- data/files/dist/docs/search/PropertiesW.html +20 -0
- data/files/dist/docs/search/PropertiesX.html +20 -0
- data/files/dist/docs/search/PropertiesY.html +20 -0
- data/files/dist/docs/search/PropertiesZ.html +20 -0
- data/files/dist/docs/styles/1.css +767 -0
- data/files/dist/docs/styles/2.css +174 -0
- data/files/dist/docs/styles/main.css +2 -0
- data/files/dist/examples/KCPsample4.csv +25 -0
- data/files/dist/examples/ajax-loader.gif +0 -0
- data/files/dist/examples/area.html +139 -0
- data/files/dist/examples/axisLabelTests.html +157 -0
- data/files/dist/examples/axisLabelsRotatedText.html +229 -0
- data/files/dist/examples/axisScalingForceTickAt.html +242 -0
- data/files/dist/examples/bandedLine.html +310 -0
- data/files/dist/examples/bar-charts.html +219 -0
- data/files/dist/examples/barLineAnimated.html +165 -0
- data/files/dist/examples/barTest.html +299 -0
- data/files/dist/examples/bezierCurve.html +125 -0
- data/files/dist/examples/blockPlot.html +197 -0
- data/files/dist/examples/bubble-plots.html +213 -0
- data/files/dist/examples/bubbleChart.html +264 -0
- data/files/dist/examples/candlestick-charts.html +209 -0
- data/files/dist/examples/candlestick.html +322 -0
- data/files/dist/examples/cursor-highlighter.html +137 -0
- data/files/dist/examples/customHighlighterCursorTrendline.html +104 -0
- data/files/dist/examples/dashboardWidget.html +212 -0
- data/files/dist/examples/dashedLines.html +227 -0
- data/files/dist/examples/data-renderers.html +144 -0
- data/files/dist/examples/date-axes.html +107 -0
- data/files/dist/examples/dateAxisLogAxisZooming.html +105 -0
- data/files/dist/examples/dateAxisRenderer.html +292 -0
- data/files/dist/examples/example.js +114 -0
- data/files/dist/examples/example.min.js +1 -0
- data/files/dist/examples/examples.css +135 -0
- data/files/dist/examples/examples.min.css +1 -0
- data/files/dist/examples/fillBetweenLines.html +134 -0
- data/files/dist/examples/hiddenPlotsInTabs.html +225 -0
- data/files/dist/examples/images/logo.jpg +0 -0
- data/files/dist/examples/index.html +100 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-icons_454545_256x240.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-icons_888888_256x240.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/jquery-ui.css +612 -0
- data/files/dist/examples/jquery-ui/css/ui-lightness/jquery-ui.min.css +10 -0
- data/files/dist/examples/jquery-ui/js/jquery-ui.min.js +473 -0
- data/files/dist/examples/jquery-ui/js/jquery.effects.blind.js +80 -0
- data/files/dist/examples/jquery-ui/js/jquery.effects.blind.min.js +14 -0
- data/files/dist/examples/jquery-ui/js/jquery.effects.core.js +890 -0
- data/files/dist/examples/jquery-ui/js/jquery.effects.core.min.js +32 -0
- data/files/dist/examples/jsondata.txt +1 -0
- data/files/dist/examples/kcp_area.html +250 -0
- data/files/dist/examples/kcp_cdf.html +351 -0
- data/files/dist/examples/kcp_engel.html +244 -0
- data/files/dist/examples/kcp_lorenz.html +510 -0
- data/files/dist/examples/kcp_pdf.html +387 -0
- data/files/dist/examples/kcp_pyramid.html +580 -0
- data/files/dist/examples/kcp_pyramid2.html +568 -0
- data/files/dist/examples/line-charts.html +193 -0
- data/files/dist/examples/mekkoCharts.html +269 -0
- data/files/dist/examples/meterGauge.html +179 -0
- data/files/dist/examples/nav.inc +40 -0
- data/files/dist/examples/pie-donut-charts.html +160 -0
- data/files/dist/examples/pieTest.html +187 -0
- data/files/dist/examples/pieTest2.js +80 -0
- data/files/dist/examples/pieTest4.html +258 -0
- data/files/dist/examples/point-labels.html +193 -0
- data/files/dist/examples/resizablePlot.html +196 -0
- data/files/dist/examples/rotated-tick-labels.html +216 -0
- data/files/dist/examples/rotatedTickLabelsZoom.html +118 -0
- data/files/dist/examples/smoothedLine.html +137 -0
- data/files/dist/examples/syntaxhighlighter/LGPL-LICENSE +165 -0
- data/files/dist/examples/syntaxhighlighter/MIT-LICENSE +20 -0
- data/files/dist/examples/syntaxhighlighter/scripts/shAutoloader.js +17 -0
- data/files/dist/examples/syntaxhighlighter/scripts/shAutoloader.min.js +1 -0
- data/files/dist/examples/syntaxhighlighter/scripts/shBrushJScript.js +52 -0
- data/files/dist/examples/syntaxhighlighter/scripts/shBrushJScript.min.js +1 -0
- data/files/dist/examples/syntaxhighlighter/scripts/shBrushXml.js +69 -0
- data/files/dist/examples/syntaxhighlighter/scripts/shBrushXml.min.js +1 -0
- data/files/dist/examples/syntaxhighlighter/scripts/shCore.js +17 -0
- data/files/dist/examples/syntaxhighlighter/scripts/shCore.min.js +1 -0
- data/files/dist/examples/syntaxhighlighter/styles/shCore.css +226 -0
- data/files/dist/examples/syntaxhighlighter/styles/shCore.min.css +1 -0
- data/files/dist/examples/syntaxhighlighter/styles/shCoreDefault.css +328 -0
- data/files/dist/examples/syntaxhighlighter/styles/shCoreDefault.min.css +1 -0
- data/files/dist/examples/syntaxhighlighter/styles/shThemeDefault.css +117 -0
- data/files/dist/examples/syntaxhighlighter/styles/shThemeDefault.min.css +1 -0
- data/files/dist/examples/syntaxhighlighter/styles/shThemejqPlot.css +138 -0
- data/files/dist/examples/syntaxhighlighter/styles/shThemejqPlot.min.css +1 -0
- data/files/dist/examples/theming.html +519 -0
- data/files/dist/examples/topbanner.inc +9 -0
- data/files/dist/examples/waterfall.html +162 -0
- data/files/dist/examples/waterfall2.html +231 -0
- data/files/dist/examples/yahooData.js +1807 -0
- data/files/dist/examples/yahooData.min.js +1 -0
- data/files/dist/examples/zoom1.html +149 -0
- data/files/dist/examples/zoomOptions.html +176 -0
- data/files/dist/examples/zoomProxy.html +110 -0
- data/files/dist/examples/zooming.html +209 -0
- data/files/dist/excanvas.js +1438 -0
- data/files/dist/excanvas.min.js +57 -0
- data/files/dist/gpl-2.0.txt +280 -0
- data/files/dist/jqPlotCssStyling.txt +53 -0
- data/files/dist/jqPlotOptions.txt +276 -0
- data/files/dist/jquery.jqplot.css +259 -0
- data/files/dist/jquery.jqplot.js +10901 -0
- data/files/dist/jquery.jqplot.min.css +1 -0
- data/files/dist/jquery.js +9046 -0
- data/files/dist/jquery.min.js +4 -0
- data/files/dist/optionsTutorial.txt +240 -0
- data/files/dist/plugins/jqplot.BezierCurveRenderer.js +312 -0
- data/files/dist/plugins/jqplot.BezierCurveRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.barRenderer.js +747 -0
- data/files/dist/plugins/jqplot.barRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.blockRenderer.js +234 -0
- data/files/dist/plugins/jqplot.blockRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.bubbleRenderer.js +754 -0
- data/files/dist/plugins/jqplot.bubbleRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.canvasAxisLabelRenderer.js +202 -0
- data/files/dist/plugins/jqplot.canvasAxisLabelRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.canvasAxisTickRenderer.js +242 -0
- data/files/dist/plugins/jqplot.canvasAxisTickRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.canvasOverlay.js +864 -0
- data/files/dist/plugins/jqplot.canvasOverlay.min.js +57 -0
- data/files/dist/plugins/jqplot.canvasTextRenderer.js +448 -0
- data/files/dist/plugins/jqplot.canvasTextRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.categoryAxisRenderer.js +636 -0
- data/files/dist/plugins/jqplot.categoryAxisRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.ciParser.js +115 -0
- data/files/dist/plugins/jqplot.ciParser.min.js +57 -0
- data/files/dist/plugins/jqplot.cursor.js +1093 -0
- data/files/dist/plugins/jqplot.cursor.min.js +57 -0
- data/files/dist/plugins/jqplot.dateAxisRenderer.js +702 -0
- data/files/dist/plugins/jqplot.dateAxisRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.donutRenderer.js +800 -0
- data/files/dist/plugins/jqplot.donutRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.dragable.js +224 -0
- data/files/dist/plugins/jqplot.dragable.min.js +57 -0
- data/files/dist/plugins/jqplot.enhancedLegendRenderer.js +241 -0
- data/files/dist/plugins/jqplot.enhancedLegendRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.funnelRenderer.js +938 -0
- data/files/dist/plugins/jqplot.funnelRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.highlighter.js +454 -0
- data/files/dist/plugins/jqplot.highlighter.min.js +57 -0
- data/files/dist/plugins/jqplot.json2.js +475 -0
- data/files/dist/plugins/jqplot.json2.min.js +57 -0
- data/files/dist/plugins/jqplot.logAxisRenderer.js +528 -0
- data/files/dist/plugins/jqplot.logAxisRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.mekkoAxisRenderer.js +610 -0
- data/files/dist/plugins/jqplot.mekkoAxisRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.mekkoRenderer.js +436 -0
- data/files/dist/plugins/jqplot.mekkoRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.meterGaugeRenderer.js +1029 -0
- data/files/dist/plugins/jqplot.meterGaugeRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.ohlcRenderer.js +372 -0
- data/files/dist/plugins/jqplot.ohlcRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.pieRenderer.js +899 -0
- data/files/dist/plugins/jqplot.pieRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.pointLabels.js +362 -0
- data/files/dist/plugins/jqplot.pointLabels.min.js +57 -0
- data/files/dist/plugins/jqplot.pyramidAxisRenderer.js +730 -0
- data/files/dist/plugins/jqplot.pyramidAxisRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.pyramidGridRenderer.js +423 -0
- data/files/dist/plugins/jqplot.pyramidGridRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.pyramidRenderer.js +490 -0
- data/files/dist/plugins/jqplot.pyramidRenderer.min.js +57 -0
- data/files/dist/plugins/jqplot.trendline.js +222 -0
- data/files/dist/plugins/jqplot.trendline.min.js +57 -0
- data/files/dist/usage.txt +126 -0
- data/files/javascripts/excanvas.min.js +57 -0
- data/files/javascripts/jquery.jqplot.min.js +57 -0
- data/files/javascripts/plugins/jqplot.BezierCurveRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.barRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.blockRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.bubbleRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.canvasAxisLabelRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.canvasAxisTickRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.canvasOverlay.min.js +57 -0
- data/files/javascripts/plugins/jqplot.canvasTextRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.categoryAxisRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.ciParser.min.js +57 -0
- data/files/javascripts/plugins/jqplot.cursor.min.js +57 -0
- data/files/javascripts/plugins/jqplot.dateAxisRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.donutRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.dragable.min.js +57 -0
- data/files/javascripts/plugins/jqplot.enhancedLegendRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.funnelRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.highlighter.min.js +57 -0
- data/files/javascripts/plugins/jqplot.json2.min.js +57 -0
- data/files/javascripts/plugins/jqplot.logAxisRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.mekkoAxisRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.mekkoRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.meterGaugeRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.ohlcRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.pieRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.pointLabels.min.js +57 -0
- data/files/javascripts/plugins/jqplot.pyramidAxisRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.pyramidGridRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.pyramidRenderer.min.js +57 -0
- data/files/javascripts/plugins/jqplot.trendline.min.js +57 -0
- data/files/stylesheets/jqplot_rails_overrides.css +3 -0
- data/files/stylesheets/jquery.jqplot.min.css +1 -0
- data/lib/jqplot_rails/jqplot_action_view.rb +106 -0
- data/lib/jqplot_rails/railtie.rb +29 -0
- data/lib/jqplot_rails/tasks.rb +58 -0
- data/lib/jqplot_rails/version.rb +17 -0
- data/lib/jqplot_rails.rb +5 -0
- metadata +473 -0
@@ -0,0 +1,310 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Error Bands and Confidence Intervals</title>
|
7
|
+
|
8
|
+
<link class="include" rel="stylesheet" type="text/css" href="../jquery.jqplot.min.css" />
|
9
|
+
<link rel="stylesheet" type="text/css" href="examples.min.css" />
|
10
|
+
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shCoreDefault.min.css" />
|
11
|
+
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shThemejqPlot.min.css" />
|
12
|
+
|
13
|
+
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
|
14
|
+
<script class="include" type="text/javascript" src="../jquery.min.js"></script>
|
15
|
+
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div class="logo">
|
20
|
+
<div class="nav">
|
21
|
+
<a class="nav" href="../../../index.php"><span>></span>Home</a>
|
22
|
+
<a class="nav" href="../../../docs/"><span>></span>Docs</a>
|
23
|
+
<a class="nav" href="../../download/"><span>></span>Download</a>
|
24
|
+
<a class="nav" href="../../../info.php"><span>></span>Info</a>
|
25
|
+
<a class="nav" href="../../../donate.php"><span>></span>Donate</a>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<div class="example-content">
|
29
|
+
|
30
|
+
<div class="example-nav">
|
31
|
+
<a href="axisScalingForceTickAt.html">Previous</a> <a href="./">Examples</a> <a href="bar-charts.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
<p>Bands (like confidence intervals or error bands) can be added to line charts through the "bands" option of the line renderer. The band data can be automatically computed or manually assigned. If assigned manually, the simpliest approach is to set the "rendererOptions: { bandData: [] }" array on the series. Note that band data is taken into account when axes scale themselves so bands will not get clipped.</p>
|
36
|
+
|
37
|
+
|
38
|
+
<p>Band data can be supplied as arrays of [x,y] values. One array for the upper band line and one for the lower band line.</p>
|
39
|
+
|
40
|
+
<div id="chart01" style="height:300px; width:600px;"></div>
|
41
|
+
<pre class="code brush:js"></pre>
|
42
|
+
|
43
|
+
|
44
|
+
<p>The number of points in the band data arrays does not have to correspond to the number of points in the data series. Also, band data will be drawn as smoothed lines if the data series is smoothed.</p>
|
45
|
+
|
46
|
+
<div id="chart02" style="height:300px; width:600px;"></div>
|
47
|
+
<pre class="code brush:js"></pre>
|
48
|
+
|
49
|
+
<p>In this example, band data is supplied as an array of arrays of y values for the low and hi bands. X values for the bands are taken from the x values of the series. The band data is of the form: [ [y low 1, y hi 1], [y low 2, y hi 2], ... ] and there must be a corresponding array of low/hi y values for each x value in the data series.</p>
|
50
|
+
|
51
|
+
<div id="chart1" style="height:300px; width:600px;"></div>
|
52
|
+
<pre class="code brush:js"></pre>
|
53
|
+
|
54
|
+
<p>The band data can also be supplied as an array of [low y values], [hi y values]. In this case there must also be an equal number of low y values and hi y values as there are data points in the series. X values for the low and hi bands will be taken from the series data. Additionally, the order of low/hi values does not matter as long as they are consistent. jqPlot will figure out which is the low values and which are the high values.</p>
|
55
|
+
|
56
|
+
<div id="chart2" style="height:300px; width:600px;"></div>
|
57
|
+
<pre class="code brush:js"></pre>
|
58
|
+
|
59
|
+
<p>Band data does not have to be provided. By default, jqPlot will compute +/- 3% band intervals if the "rendererOptions: { bands: { show: true } }" option is set. The band intervals can be customized as well through the "rendererOptions: { bands: { interval: [number|string|arry] } }" option. Valid intervals are:</p>
|
60
|
+
|
61
|
+
<ul>
|
62
|
+
<li> '1.7' - will add bands at y +/- 1.7 above and below the line.</li>
|
63
|
+
<li> '10%' - will compute +/- 10% interval bands.</li>
|
64
|
+
<li> [3, '-10%'] - will add bands at y + 3 and y - 10% above and below the line.</li>
|
65
|
+
</ul>
|
66
|
+
|
67
|
+
<p>Examples of such interval specifications are shown below:</p>
|
68
|
+
|
69
|
+
<div id="chart3" style="height:300px; width:600px;"></div>
|
70
|
+
<pre class="code brush:js"></pre>
|
71
|
+
<div id="chart4" style="height:300px; width:600px;"></div>
|
72
|
+
<pre class="code brush:js"></pre>
|
73
|
+
|
74
|
+
<div id="chart5" style="height:300px; width:600px;"></div>
|
75
|
+
<pre class="code brush:js"></pre>
|
76
|
+
|
77
|
+
<p>You can also customize the fill color of the bands and turn on/off band lines. By default, bands respond to the mouse over event, but they can be set to respond to mouse down as well.</p>
|
78
|
+
<div id="chart6" style="height:300px; width:600px;"></div>
|
79
|
+
<pre class="code brush:js"></pre>
|
80
|
+
|
81
|
+
<p>Note, the plots on this page all extend the following pre-defined theme:</p>
|
82
|
+
|
83
|
+
<pre class="code brush:js"></pre>
|
84
|
+
|
85
|
+
|
86
|
+
<script class="code" type="text/javascript">
|
87
|
+
$(document).ready(function(){
|
88
|
+
// Band data in arrays of [x,y] values.
|
89
|
+
bdat = [[['7/1/2011', 8], ['7/2/2011', 9], ['7/3/2011', 8], ['7/4/2011', 13], ['7/5/2011', 11], ['7/6/2011', 13]],
|
90
|
+
[['7/1/2011', 12], ['7/2/2011', 13], ['7/3/2011', 12], ['7/4/2011', 17], ['7/5/2011', 15], ['7/6/2011', 17]]];
|
91
|
+
|
92
|
+
dat = [['7/1/2011', 10], ['7/2/2011', 11], ['7/3/2011', 10], ['7/4/2011', 15], ['7/5/2011', 13], ['7/6/2011', 15]];
|
93
|
+
|
94
|
+
plot01 = $.jqplot('chart01', [dat], $.extend(true, {}, myTheme, {
|
95
|
+
series: [{
|
96
|
+
rendererOptions: {
|
97
|
+
bandData: bdat
|
98
|
+
}
|
99
|
+
}],
|
100
|
+
axes: {
|
101
|
+
xaxis: {
|
102
|
+
renderer: $.jqplot.DateAxisRenderer,
|
103
|
+
min: '7/1/2011',
|
104
|
+
max: '7/6/2011',
|
105
|
+
tickInterval: '1 day'
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}));
|
109
|
+
});
|
110
|
+
</script>
|
111
|
+
|
112
|
+
<script class="code" type="text/javascript">
|
113
|
+
$(document).ready(function(){
|
114
|
+
// Band data in arrays of [x,y] values.
|
115
|
+
// Here the low band line (1st array) has 5 points and the hi band line has 4 points.
|
116
|
+
bdat = [[['7/1/2011', 9], ['7/3/2011', 7], ['7/4/2011', 13], ['7/5/2011', 11], ['7/6/2011', 13]],
|
117
|
+
[['7/1/2011', 12], ['7/3/2011', 14], ['7/4/2011', 18], ['7/6/2011', 16]]];
|
118
|
+
|
119
|
+
dat = [['7/1/2011', 10], ['7/2/2011', 11], ['7/3/2011', 10], ['7/4/2011', 15], ['7/5/2011', 13], ['7/6/2011', 15]];
|
120
|
+
|
121
|
+
plot02 = $.jqplot('chart02', [dat], $.extend(true, {}, myTheme, {
|
122
|
+
series: [{
|
123
|
+
rendererOptions: {
|
124
|
+
bandData: bdat,
|
125
|
+
|
126
|
+
// turn on smoothing
|
127
|
+
smooth: true
|
128
|
+
}
|
129
|
+
}],
|
130
|
+
axes: {
|
131
|
+
xaxis: {
|
132
|
+
renderer: $.jqplot.DateAxisRenderer,
|
133
|
+
min: '7/1/2011',
|
134
|
+
max: '7/6/2011',
|
135
|
+
tickInterval: '1 day'
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}));
|
139
|
+
});
|
140
|
+
</script>
|
141
|
+
|
142
|
+
<script class="code" type="text/javascript">
|
143
|
+
$(document).ready(function(){
|
144
|
+
// data points for line.
|
145
|
+
dat = [[0, 10], [1, 11], [2, 10], [3, 15], [4, 13], [5, 15]];
|
146
|
+
|
147
|
+
// band data in [[low_y_1, hi_y_1], [low_y_2, hi_y_2],...] format
|
148
|
+
bdat = [[7, 13], [8, 14], [7, 13], [12, 18], [10, 16], [12, 18]];
|
149
|
+
|
150
|
+
plot1 = $.jqplot('chart1', [dat], $.extend(true, {}, myTheme, {
|
151
|
+
series: [{
|
152
|
+
rendererOptions: {
|
153
|
+
// Set the band data on the series.
|
154
|
+
// Bands will be turned on automatically if
|
155
|
+
// valid band data is present.
|
156
|
+
bandData: bdat,
|
157
|
+
smooth: true
|
158
|
+
}
|
159
|
+
}]
|
160
|
+
}));
|
161
|
+
});
|
162
|
+
|
163
|
+
</script>
|
164
|
+
|
165
|
+
|
166
|
+
<script class="code" type="text/javascript">
|
167
|
+
|
168
|
+
$(document).ready(function(){
|
169
|
+
// here band data specified as an array of [low y values] and [hi y values]
|
170
|
+
bdat = [[7, 8, 7, 12, 10, 12], [13, 14, 13, 18, 16, 18]];
|
171
|
+
|
172
|
+
// Same plot as before with different band data specification and smoothed lines.
|
173
|
+
plot2 = $.jqplot('chart2', [dat], $.extend(true, {}, myTheme, {
|
174
|
+
series: [
|
175
|
+
{
|
176
|
+
rendererOptions: {
|
177
|
+
bandData: bdat,
|
178
|
+
smooth: true
|
179
|
+
}
|
180
|
+
}]
|
181
|
+
}));
|
182
|
+
});
|
183
|
+
|
184
|
+
</script>
|
185
|
+
|
186
|
+
<script class="code" type="text/javascript">
|
187
|
+
$(document).ready(function(){
|
188
|
+
plot3 = $.jqplot('chart3', [dat], $.extend(true, {}, myTheme, {
|
189
|
+
series: [{
|
190
|
+
rendererOptions: {
|
191
|
+
bands: {
|
192
|
+
// draw bands at 1.7 "units" above and below line.
|
193
|
+
interval: 1.7
|
194
|
+
},
|
195
|
+
smooth: true
|
196
|
+
}
|
197
|
+
}]
|
198
|
+
}));
|
199
|
+
});
|
200
|
+
|
201
|
+
</script>
|
202
|
+
|
203
|
+
<script class="code" type="text/javascript">
|
204
|
+
$(document).ready(function(){
|
205
|
+
plot4 = $.jqplot('chart4', [dat], $.extend(true, {}, myTheme, {
|
206
|
+
series: [{
|
207
|
+
rendererOptions: {
|
208
|
+
bands: {
|
209
|
+
// draw interval at 10% above and below line.
|
210
|
+
interval: '10%'
|
211
|
+
},
|
212
|
+
smooth: true
|
213
|
+
}
|
214
|
+
}]
|
215
|
+
}));
|
216
|
+
});
|
217
|
+
</script>
|
218
|
+
|
219
|
+
<script class="code" type="text/javascript">
|
220
|
+
$(document).ready(function(){
|
221
|
+
plot5 = $.jqplot('chart5', [dat], $.extend(true, {}, myTheme, {
|
222
|
+
series: [{
|
223
|
+
rendererOptions: {
|
224
|
+
bands: {
|
225
|
+
// draw interval at 3 units above and 10% below line.
|
226
|
+
interval: [3, '-10%']
|
227
|
+
},
|
228
|
+
smooth: true
|
229
|
+
}
|
230
|
+
}]
|
231
|
+
}));
|
232
|
+
});
|
233
|
+
</script>
|
234
|
+
|
235
|
+
<script class="code" type="text/javascript">
|
236
|
+
$(document).ready(function(){
|
237
|
+
plot6 = $.jqplot('chart6', [dat], $.extend(true, {}, myTheme, {
|
238
|
+
series: [{
|
239
|
+
rendererOptions: {
|
240
|
+
bands: {
|
241
|
+
// draw interval at 3 units above and 10% below line.
|
242
|
+
interval: 4,
|
243
|
+
fillColor: 'rgba(198, 88, 88, 0.6)',
|
244
|
+
showLines: true
|
245
|
+
},
|
246
|
+
|
247
|
+
// highlight the band on mouse down, not on mouse over.
|
248
|
+
highlightMouseDown: true,
|
249
|
+
smooth: true
|
250
|
+
}
|
251
|
+
}]
|
252
|
+
}));
|
253
|
+
});
|
254
|
+
</script>
|
255
|
+
|
256
|
+
<script class="code" type="text/javascript">
|
257
|
+
///////
|
258
|
+
// A default set of reusable plot options. Note that line
|
259
|
+
// smoothing is turned on. Bands will be drawn with the same
|
260
|
+
// smoothing as the line.
|
261
|
+
//////
|
262
|
+
myTheme = {
|
263
|
+
grid: {
|
264
|
+
drawBorder: false,
|
265
|
+
shadow: false,
|
266
|
+
background: 'rgba(255, 255, 255, 0.0)'
|
267
|
+
},
|
268
|
+
seriesDefaults: {
|
269
|
+
shadow: false,
|
270
|
+
showMarker: false
|
271
|
+
},
|
272
|
+
axes: {
|
273
|
+
xaxis: {
|
274
|
+
pad: 1.0,
|
275
|
+
tickOptions: {
|
276
|
+
showGridline: false
|
277
|
+
}
|
278
|
+
},
|
279
|
+
yaxis: {
|
280
|
+
pad: 1.05
|
281
|
+
}
|
282
|
+
}
|
283
|
+
};
|
284
|
+
</script>
|
285
|
+
<!-- End example scripts -->
|
286
|
+
|
287
|
+
<!-- Don't touch this! -->
|
288
|
+
|
289
|
+
|
290
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
291
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
292
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
293
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
294
|
+
<!-- Additional plugins go here -->
|
295
|
+
|
296
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.highlighter.min.js"></script>
|
297
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.cursor.min.js"></script>
|
298
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.pointLabels.min.js"></script>
|
299
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.min.js"></script>
|
300
|
+
|
301
|
+
<!-- End additional plugins -->
|
302
|
+
|
303
|
+
|
304
|
+
</div>
|
305
|
+
<script type="text/javascript" src="example.min.js"></script>
|
306
|
+
|
307
|
+
</body>
|
308
|
+
|
309
|
+
|
310
|
+
</html>
|
@@ -0,0 +1,219 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Vertical and Horizontal Bar Charts</title>
|
7
|
+
|
8
|
+
<link class="include" rel="stylesheet" type="text/css" href="../jquery.jqplot.min.css" />
|
9
|
+
<link rel="stylesheet" type="text/css" href="examples.min.css" />
|
10
|
+
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shCoreDefault.min.css" />
|
11
|
+
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shThemejqPlot.min.css" />
|
12
|
+
|
13
|
+
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
|
14
|
+
<script class="include" type="text/javascript" src="../jquery.min.js"></script>
|
15
|
+
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div class="logo">
|
20
|
+
<div class="nav">
|
21
|
+
<a class="nav" href="../../../index.php"><span>></span>Home</a>
|
22
|
+
<a class="nav" href="../../../docs/"><span>></span>Docs</a>
|
23
|
+
<a class="nav" href="../../download/"><span>></span>Download</a>
|
24
|
+
<a class="nav" href="../../../info.php"><span>></span>Info</a>
|
25
|
+
<a class="nav" href="../../../donate.php"><span>></span>Donate</a>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<div class="example-content">
|
29
|
+
|
30
|
+
<div class="example-nav">
|
31
|
+
<a href="bandedLine.html">Previous</a> <a href="./">Examples</a> <a href="barLineAnimated.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
|
37
|
+
<style type="text/css">
|
38
|
+
|
39
|
+
.note {
|
40
|
+
font-size: 0.8em;
|
41
|
+
}
|
42
|
+
.jqplot-yaxis-tick {
|
43
|
+
white-space: nowrap;
|
44
|
+
}
|
45
|
+
</style>
|
46
|
+
|
47
|
+
<div id="chart1" style="width:600px; height:250px;"></div>
|
48
|
+
|
49
|
+
<pre class="code brush: js"></pre>
|
50
|
+
|
51
|
+
<div id="chart2" style="width:400px; height:300px;"></div>
|
52
|
+
|
53
|
+
<pre class="code brush: js"></pre>
|
54
|
+
|
55
|
+
<p class="text">Click on a bar in the plot below to update the text box.</p>
|
56
|
+
<p class="text">You Clicked:
|
57
|
+
<span id="info3">Nothing yet.</span>
|
58
|
+
</p>
|
59
|
+
<div id="chart3" style="width:400px; height:300px;"></div>
|
60
|
+
|
61
|
+
<pre class="code brush: js"></pre>
|
62
|
+
|
63
|
+
<script class="code" type="text/javascript">
|
64
|
+
$(document).ready(function(){
|
65
|
+
var s1 = [200, 600, 700, 1000];
|
66
|
+
var s2 = [460, -210, 690, 820];
|
67
|
+
var s3 = [-260, -440, 320, 200];
|
68
|
+
// Can specify a custom tick Array.
|
69
|
+
// Ticks should match up one for each y value (category) in the series.
|
70
|
+
var ticks = ['May', 'June', 'July', 'August'];
|
71
|
+
|
72
|
+
var plot1 = $.jqplot('chart1', [s1, s2, s3], {
|
73
|
+
// The "seriesDefaults" option is an options object that will
|
74
|
+
// be applied to all series in the chart.
|
75
|
+
seriesDefaults:{
|
76
|
+
renderer:$.jqplot.BarRenderer,
|
77
|
+
rendererOptions: {fillToZero: true}
|
78
|
+
},
|
79
|
+
// Custom labels for the series are specified with the "label"
|
80
|
+
// option on the series option. Here a series option object
|
81
|
+
// is specified for each series.
|
82
|
+
series:[
|
83
|
+
{label:'Hotel'},
|
84
|
+
{label:'Event Regristration'},
|
85
|
+
{label:'Airfare'}
|
86
|
+
],
|
87
|
+
// Show the legend and put it outside the grid, but inside the
|
88
|
+
// plot container, shrinking the grid to accomodate the legend.
|
89
|
+
// A value of "outside" would not shrink the grid and allow
|
90
|
+
// the legend to overflow the container.
|
91
|
+
legend: {
|
92
|
+
show: true,
|
93
|
+
placement: 'outsideGrid'
|
94
|
+
},
|
95
|
+
axes: {
|
96
|
+
// Use a category axis on the x axis and use our custom ticks.
|
97
|
+
xaxis: {
|
98
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
99
|
+
ticks: ticks
|
100
|
+
},
|
101
|
+
// Pad the y axis just a little so bars can get close to, but
|
102
|
+
// not touch, the grid boundaries. 1.2 is the default padding.
|
103
|
+
yaxis: {
|
104
|
+
pad: 1.05,
|
105
|
+
tickOptions: {formatString: '$%d'}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
});
|
109
|
+
});
|
110
|
+
</script>
|
111
|
+
|
112
|
+
|
113
|
+
<script class="code" type="text/javascript">
|
114
|
+
$(document).ready(function(){
|
115
|
+
// For horizontal bar charts, x an y values must will be "flipped"
|
116
|
+
// from their vertical bar counterpart.
|
117
|
+
var plot2 = $.jqplot('chart2', [
|
118
|
+
[[2,1], [4,2], [6,3], [3,4]],
|
119
|
+
[[5,1], [1,2], [3,3], [4,4]],
|
120
|
+
[[4,1], [7,2], [1,3], [2,4]]], {
|
121
|
+
seriesDefaults: {
|
122
|
+
renderer:$.jqplot.BarRenderer,
|
123
|
+
// Show point labels to the right ('e'ast) of each bar.
|
124
|
+
// edgeTolerance of -15 allows labels flow outside the grid
|
125
|
+
// up to 15 pixels. If they flow out more than that, they
|
126
|
+
// will be hidden.
|
127
|
+
pointLabels: { show: true, location: 'e', edgeTolerance: -15 },
|
128
|
+
// Rotate the bar shadow as if bar is lit from top right.
|
129
|
+
shadowAngle: 135,
|
130
|
+
// Here's where we tell the chart it is oriented horizontally.
|
131
|
+
rendererOptions: {
|
132
|
+
barDirection: 'horizontal'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
axes: {
|
136
|
+
yaxis: {
|
137
|
+
renderer: $.jqplot.CategoryAxisRenderer
|
138
|
+
}
|
139
|
+
}
|
140
|
+
});
|
141
|
+
});
|
142
|
+
</script>
|
143
|
+
|
144
|
+
<script class="code" type="text/javascript">
|
145
|
+
$(document).ready(function(){
|
146
|
+
var s1 = [2, 6, 7, 10];
|
147
|
+
var s2 = [7, 5, 3, 4];
|
148
|
+
var s3 = [14, 9, 3, 8];
|
149
|
+
plot3 = $.jqplot('chart3', [s1, s2, s3], {
|
150
|
+
// Tell the plot to stack the bars.
|
151
|
+
stackSeries: true,
|
152
|
+
captureRightClick: true,
|
153
|
+
seriesDefaults:{
|
154
|
+
renderer:$.jqplot.BarRenderer,
|
155
|
+
rendererOptions: {
|
156
|
+
// Put a 30 pixel margin between bars.
|
157
|
+
barMargin: 30,
|
158
|
+
// Highlight bars when mouse button pressed.
|
159
|
+
// Disables default highlighting on mouse over.
|
160
|
+
highlightMouseDown: true
|
161
|
+
},
|
162
|
+
pointLabels: {show: true}
|
163
|
+
},
|
164
|
+
axes: {
|
165
|
+
xaxis: {
|
166
|
+
renderer: $.jqplot.CategoryAxisRenderer
|
167
|
+
},
|
168
|
+
yaxis: {
|
169
|
+
// Don't pad out the bottom of the data range. By default,
|
170
|
+
// axes scaled as if data extended 10% above and below the
|
171
|
+
// actual range to prevent data points right on grid boundaries.
|
172
|
+
// Don't want to do that here.
|
173
|
+
padMin: 0
|
174
|
+
}
|
175
|
+
},
|
176
|
+
legend: {
|
177
|
+
show: true,
|
178
|
+
location: 'e',
|
179
|
+
placement: 'outside'
|
180
|
+
}
|
181
|
+
});
|
182
|
+
// Bind a listener to the "jqplotDataClick" event. Here, simply change
|
183
|
+
// the text of the info3 element to show what series and ponit were
|
184
|
+
// clicked along with the data for that point.
|
185
|
+
$('#chart3').bind('jqplotDataClick',
|
186
|
+
function (ev, seriesIndex, pointIndex, data) {
|
187
|
+
$('#info3').html('series: '+seriesIndex+', point: '+pointIndex+', data: '+data);
|
188
|
+
}
|
189
|
+
);
|
190
|
+
});
|
191
|
+
</script>
|
192
|
+
|
193
|
+
<!-- End example scripts -->
|
194
|
+
|
195
|
+
<!-- Don't touch this! -->
|
196
|
+
|
197
|
+
|
198
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
199
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
200
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
201
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
202
|
+
<!-- End Don't touch this! -->
|
203
|
+
|
204
|
+
<!-- Additional plugins go here -->
|
205
|
+
|
206
|
+
<script class="include" language="javascript" type="text/javascript" src="../plugins/jqplot.barRenderer.min.js"></script>
|
207
|
+
<script class="include" language="javascript" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.min.js"></script>
|
208
|
+
<script class="include" language="javascript" type="text/javascript" src="../plugins/jqplot.pointLabels.min.js"></script>
|
209
|
+
|
210
|
+
<!-- End additional plugins -->
|
211
|
+
|
212
|
+
|
213
|
+
</div>
|
214
|
+
<script type="text/javascript" src="example.min.js"></script>
|
215
|
+
|
216
|
+
</body>
|
217
|
+
|
218
|
+
|
219
|
+
</html>
|