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,193 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Line Charts and Options</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="kcp_pyramid2.html">Previous</a> <a href="./">Examples</a> <a href="mekkoCharts.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
<p>The most basic jqPlot chart takes a series of data and plots a line. No options need to be supplied. Data is passed in as an array of series. A series can be either an array of y values or an array of [x,y] data pairs. If y values only, x values are assigned like 1, 2, 3, ... Note, for this plot you don't need any plugins.</p>
|
37
|
+
|
38
|
+
<div id="chart1" style="height:300px; width:500px;"></div>
|
39
|
+
|
40
|
+
<pre class="code prettyprint brush: js"></pre>
|
41
|
+
|
42
|
+
|
43
|
+
<p>The following plot uses a number of options to set the title, add axis labels, and shows how to use the canvasAxisLabelRenderer plugin to provide rotated axis labels.</p>
|
44
|
+
|
45
|
+
<div id="chart2" style="height:300px; width:500px;"></div>
|
46
|
+
|
47
|
+
<pre class="code prettyprint brush: js"></pre>
|
48
|
+
|
49
|
+
|
50
|
+
<p>There are numerous line style options to control how the lines and markers are displayed.</p>
|
51
|
+
|
52
|
+
<div id="chart3" style="height:300px; width:500px;"></div>
|
53
|
+
|
54
|
+
<pre class="code prettyprint brush: js"></pre>
|
55
|
+
|
56
|
+
|
57
|
+
<script class="code" type="text/javascript">
|
58
|
+
$(document).ready(function(){
|
59
|
+
var plot1 = $.jqplot ('chart1', [[3,7,9,1,5,3,8,2,5]]);
|
60
|
+
});
|
61
|
+
</script>
|
62
|
+
|
63
|
+
<script class="code" type="text/javascript">
|
64
|
+
$(document).ready(function(){
|
65
|
+
var plot2 = $.jqplot ('chart2', [[3,7,9,1,5,3,8,2,5]], {
|
66
|
+
// Give the plot a title.
|
67
|
+
title: 'Plot With Options',
|
68
|
+
// You can specify options for all axes on the plot at once with
|
69
|
+
// the axesDefaults object. Here, we're using a canvas renderer
|
70
|
+
// to draw the axis label which allows rotated text.
|
71
|
+
axesDefaults: {
|
72
|
+
labelRenderer: $.jqplot.CanvasAxisLabelRenderer
|
73
|
+
},
|
74
|
+
// Likewise, seriesDefaults specifies default options for all
|
75
|
+
// series in a plot. Options specified in seriesDefaults or
|
76
|
+
// axesDefaults can be overridden by individual series or
|
77
|
+
// axes options.
|
78
|
+
// Here we turn on smoothing for the line.
|
79
|
+
seriesDefaults: {
|
80
|
+
rendererOptions: {
|
81
|
+
smooth: true
|
82
|
+
}
|
83
|
+
},
|
84
|
+
// An axes object holds options for all axes.
|
85
|
+
// Allowable axes are xaxis, x2axis, yaxis, y2axis, y3axis, ...
|
86
|
+
// Up to 9 y axes are supported.
|
87
|
+
axes: {
|
88
|
+
// options for each axis are specified in seperate option objects.
|
89
|
+
xaxis: {
|
90
|
+
label: "X Axis",
|
91
|
+
// Turn off "padding". This will allow data point to lie on the
|
92
|
+
// edges of the grid. Default padding is 1.2 and will keep all
|
93
|
+
// points inside the bounds of the grid.
|
94
|
+
pad: 0
|
95
|
+
},
|
96
|
+
yaxis: {
|
97
|
+
label: "Y Axis"
|
98
|
+
}
|
99
|
+
}
|
100
|
+
});
|
101
|
+
});
|
102
|
+
</script>
|
103
|
+
|
104
|
+
<script class="code" type="text/javascript">
|
105
|
+
$(document).ready(function(){
|
106
|
+
// Some simple loops to build up data arrays.
|
107
|
+
var cosPoints = [];
|
108
|
+
for (var i=0; i<2*Math.PI; i+=1){
|
109
|
+
cosPoints.push([i, Math.cos(i)]);
|
110
|
+
}
|
111
|
+
|
112
|
+
var sinPoints = [];
|
113
|
+
for (var i=0; i<2*Math.PI; i+=0.4){
|
114
|
+
sinPoints.push([i, 2*Math.sin(i-.8)]);
|
115
|
+
}
|
116
|
+
|
117
|
+
var powPoints1 = [];
|
118
|
+
for (var i=0; i<2*Math.PI; i+=1) {
|
119
|
+
powPoints1.push([i, 2.5 + Math.pow(i/4, 2)]);
|
120
|
+
}
|
121
|
+
|
122
|
+
var powPoints2 = [];
|
123
|
+
for (var i=0; i<2*Math.PI; i+=1) {
|
124
|
+
powPoints2.push([i, -2.5 - Math.pow(i/4, 2)]);
|
125
|
+
}
|
126
|
+
|
127
|
+
var plot3 = $.jqplot('chart3', [cosPoints, sinPoints, powPoints1, powPoints2],
|
128
|
+
{
|
129
|
+
title:'Line Style Options',
|
130
|
+
// Set default options on all series, turn on smoothing.
|
131
|
+
seriesDefaults: {
|
132
|
+
rendererOptions: {
|
133
|
+
smooth: true
|
134
|
+
}
|
135
|
+
},
|
136
|
+
// Series options are specified as an array of objects, one object
|
137
|
+
// for each series.
|
138
|
+
series:[
|
139
|
+
{
|
140
|
+
// Change our line width and use a diamond shaped marker.
|
141
|
+
lineWidth:2,
|
142
|
+
markerOptions: { style:'dimaond' }
|
143
|
+
},
|
144
|
+
{
|
145
|
+
// Don't show a line, just show markers.
|
146
|
+
// Make the markers 7 pixels with an 'x' style
|
147
|
+
showLine:false,
|
148
|
+
markerOptions: { size: 7, style:"x" }
|
149
|
+
},
|
150
|
+
{
|
151
|
+
// Use (open) circlular markers.
|
152
|
+
markerOptions: { style:"circle" }
|
153
|
+
},
|
154
|
+
{
|
155
|
+
// Use a thicker, 5 pixel line and 10 pixel
|
156
|
+
// filled square markers.
|
157
|
+
lineWidth:5,
|
158
|
+
markerOptions: { style:"filledSquare", size:10 }
|
159
|
+
}
|
160
|
+
]
|
161
|
+
}
|
162
|
+
);
|
163
|
+
|
164
|
+
});
|
165
|
+
</script>
|
166
|
+
|
167
|
+
|
168
|
+
<!-- End example scripts -->
|
169
|
+
|
170
|
+
<!-- Don't touch this! -->
|
171
|
+
|
172
|
+
|
173
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
174
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
175
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
176
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
177
|
+
<!-- End Don't touch this! -->
|
178
|
+
|
179
|
+
<!-- Additional plugins go here -->
|
180
|
+
|
181
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.min.js"></script>
|
182
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.canvasAxisLabelRenderer.min.js"></script>
|
183
|
+
|
184
|
+
<!-- End additional plugins -->
|
185
|
+
|
186
|
+
|
187
|
+
</div>
|
188
|
+
<script type="text/javascript" src="example.min.js"></script>
|
189
|
+
|
190
|
+
</body>
|
191
|
+
|
192
|
+
|
193
|
+
</html>
|
@@ -0,0 +1,269 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>jqPlot Charts and Graphs</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="line-charts.html">Previous</a> <a href="./">Examples</a> <a href="meterGauge.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
<style type="text/css" media="screen">
|
36
|
+
body {
|
37
|
+
margin: 15px;
|
38
|
+
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
39
|
+
}
|
40
|
+
|
41
|
+
p {
|
42
|
+
margin-top: 20px;
|
43
|
+
margin-bottom: 20px;
|
44
|
+
}
|
45
|
+
|
46
|
+
.jqplot-target {
|
47
|
+
margin: 60px;
|
48
|
+
}
|
49
|
+
|
50
|
+
pre {
|
51
|
+
padding: 10px;
|
52
|
+
background-color: #efead9;
|
53
|
+
margin: 10px;
|
54
|
+
}
|
55
|
+
.jqplot-axis {
|
56
|
+
font-size: 0.8em;
|
57
|
+
}
|
58
|
+
|
59
|
+
.jqplot-mekko-barLabel {
|
60
|
+
font-size: 1em;
|
61
|
+
}
|
62
|
+
|
63
|
+
#chart2 .jqplot-axis {
|
64
|
+
font-size: 0.7em;
|
65
|
+
}
|
66
|
+
|
67
|
+
#chart3 .jqplot-title {
|
68
|
+
padding-bottom: 40px;
|
69
|
+
}
|
70
|
+
</style>
|
71
|
+
<p>Data is specified per bar in the chart. You can specify data as an array of y values, or as an array of [label, value] pairs. Note that labels are used only on the first series. Labels on subsequent series are ignored:</p>
|
72
|
+
<pre>
|
73
|
+
bar1 = [['shirts', 8],['hats', 14],['shoes', 6],['gloves', 16],['dolls', 12]];
|
74
|
+
bar2 = [15,6,9,13,6];
|
75
|
+
bar3 = [['grumpy',4],['sneezy',2],['happy',7],['sleepy',9],['doc',7]];
|
76
|
+
</pre>
|
77
|
+
|
78
|
+
<p>If you want to place labels for each bar under the axis, you use the barLabels option on the axes. The bar labels can be styled with the ".jqplot-mekko-barLabel" css class.</p>
|
79
|
+
<pre>
|
80
|
+
barLabels = ['Mickey Mouse', 'Donald Duck', 'Goofy'];
|
81
|
+
axes:{xaxis:{barLabels:barLabels}}
|
82
|
+
</pre>
|
83
|
+
|
84
|
+
<div id="chart1" style="width:500px; height:300px;"></div>
|
85
|
+
|
86
|
+
<p>You can add a secondary x axes, and the tick spacing of the axes can be separately controlled with the "tickMode" option. "bar" will produce tics at bar boundaries, "even" will produce evenly spaced ticks. If you set the axes max greater than the sum of the data range (the maximum x value), the plot will be padded. Note that you should set the max on both axes to the same value.</p>
|
87
|
+
|
88
|
+
<pre>
|
89
|
+
axes:{
|
90
|
+
xaxis:{
|
91
|
+
barLabels:barLabels,
|
92
|
+
max: 175
|
93
|
+
},
|
94
|
+
x2axis:{
|
95
|
+
show:true,
|
96
|
+
tickMode:'even',
|
97
|
+
max: 175
|
98
|
+
}
|
99
|
+
}
|
100
|
+
</pre>
|
101
|
+
|
102
|
+
<p>Here the borders between chart areas have been given a custom color using the "borderColor" option on the series renderer.</p>
|
103
|
+
|
104
|
+
<pre>
|
105
|
+
seriesDefaults:{renderer:$.jqplot.MekkoRenderer, rendererOptions: {borderColor: '#dddddd'}}
|
106
|
+
</pre>
|
107
|
+
|
108
|
+
<p>Additionally, the legend can be placed "outside" (the default for a mekko chart) or "inside" of the grid area with the "placement" option on the legend renderer.</p>
|
109
|
+
|
110
|
+
<pre>
|
111
|
+
legend:{
|
112
|
+
show:true,
|
113
|
+
rendererOptions:{placement: "insideGrid"},
|
114
|
+
location:'e'
|
115
|
+
},
|
116
|
+
</pre>
|
117
|
+
|
118
|
+
<div id="chart2" style="width:500px; height:300px;"></div>
|
119
|
+
|
120
|
+
<p>Legend labels can be specified independently of the series with the "labels" option on the legend. These will override any labels specified with the series. There are also options to control the number of rows and number of columns in the legend as well as placement.</p>
|
121
|
+
|
122
|
+
<p>Here the legend is positioned to the "north" and set to render 1 row tall (number of columns determined automatically). Note that an extra css specification was added to pad the bottom of the title of this chart to give room for the legend above the plot.</p>
|
123
|
+
|
124
|
+
<pre>
|
125
|
+
legendLabels = ['hotels', 'rides', 'buses', 'instruments', 'totes'];
|
126
|
+
|
127
|
+
legend:{
|
128
|
+
show:true,
|
129
|
+
location: 'n',
|
130
|
+
labels: legendLabels,
|
131
|
+
rendererOptions:{numberRows: 1, placement: "outside"}
|
132
|
+
},
|
133
|
+
</pre>
|
134
|
+
|
135
|
+
<p>Also, the borders between the chart areas have been turned off with the "showBorders: false" option.</p>
|
136
|
+
|
137
|
+
<pre>
|
138
|
+
seriesDefaults:{renderer:$.jqplot.MekkoRenderer, rendererOptions: {showBorders: false}}
|
139
|
+
</pre>
|
140
|
+
|
141
|
+
<div id="chart3" style="width:500px; height:300px;"></div>
|
142
|
+
|
143
|
+
<script type="text/javascript" class="code">
|
144
|
+
$(document).ready(function(){
|
145
|
+
var bar1 = [['shirts', 8],['hats', 14],['shoes', 6],['gloves', 16],['dolls', 12]];
|
146
|
+
var bar2 = [15,6,9,13,6];
|
147
|
+
var bar3 = [['grumpy',4],['sneezy',2],['happy',7],['sleepy',9],['doc',7]];
|
148
|
+
var barLabels = ['Mickey Mouse', 'Donald Duck', 'Goofy'];
|
149
|
+
|
150
|
+
var plot1 = $.jqplot('chart1', [bar1, bar2, bar3], {
|
151
|
+
title: 'Revenue Breakdown per Character',
|
152
|
+
seriesDefaults:{renderer:$.jqplot.MekkoRenderer},
|
153
|
+
legend:{show:true},
|
154
|
+
axesDefaults:{
|
155
|
+
renderer:$.jqplot.MekkoAxisRenderer
|
156
|
+
},
|
157
|
+
axes:{
|
158
|
+
xaxis:{
|
159
|
+
barLabels:barLabels,
|
160
|
+
tickOptions:{formatString:'$%dM'}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
});
|
164
|
+
});
|
165
|
+
</script>
|
166
|
+
|
167
|
+
<script type="text/javascript" class="code">
|
168
|
+
$(document).ready(function(){
|
169
|
+
var bar1 = [['shirts', 8],['hats', 14],['shoes', 6],['gloves', 16],['dolls', 12]];
|
170
|
+
var bar2 = [15,6,9,13,6];
|
171
|
+
var bar3 = [['grumpy',4],['sneezy',2],['happy',7],['sleepy',9],['doc',7]];
|
172
|
+
var barLabels = ['Mickey Mouse', 'Donald Duck', 'Goofy'];
|
173
|
+
|
174
|
+
var plot2 = $.jqplot('chart2', [bar1, bar2, bar3], {
|
175
|
+
title: 'Revenue Breakdown per Character',
|
176
|
+
seriesDefaults:{renderer:$.jqplot.MekkoRenderer, rendererOptions: {borderColor: '#dddddd'}},
|
177
|
+
legend:{
|
178
|
+
show:true,
|
179
|
+
rendererOptions:{placement: "insideGrid"},
|
180
|
+
location:'e'
|
181
|
+
},
|
182
|
+
axesDefaults:{
|
183
|
+
renderer:$.jqplot.MekkoAxisRenderer,
|
184
|
+
tickOptions:{}
|
185
|
+
},
|
186
|
+
axes:{
|
187
|
+
xaxis:{
|
188
|
+
barLabels:barLabels,
|
189
|
+
rendererOptions: {
|
190
|
+
barLabelOptions: {
|
191
|
+
angle: -35
|
192
|
+
},
|
193
|
+
barLabelRenderer: $.jqplot.CanvasAxisLabelRenderer
|
194
|
+
},
|
195
|
+
max: 175,
|
196
|
+
tickOptions:{formatString:'$%dM'}
|
197
|
+
},
|
198
|
+
x2axis:{
|
199
|
+
show:true,
|
200
|
+
tickMode:'even',
|
201
|
+
max: 175,
|
202
|
+
tickOptions:{formatString:'$%dM'}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
});
|
206
|
+
});
|
207
|
+
</script>
|
208
|
+
|
209
|
+
<script type="text/javascript" class="code">
|
210
|
+
$(document).ready(function(){
|
211
|
+
var bar1 = [['shirts', 8],['hats', 14],['shoes', 6],['gloves', 16],['dolls', 12]];
|
212
|
+
var bar2 = [15,6,9,13,6];
|
213
|
+
var bar3 = [['grumpy',4],['sneezy',2],['happy',7],['sleepy',9],['doc',7]];
|
214
|
+
var barLabels = ['Mickey Mouse', 'Donald Duck', 'Goofy'];
|
215
|
+
|
216
|
+
var legendLabels = ['hotels', 'rides', 'buses', 'instruments', 'totes'];
|
217
|
+
|
218
|
+
var plot3 = $.jqplot('chart3', [bar1, bar2, bar3], {
|
219
|
+
title: 'Revenue Breakdown per Character',
|
220
|
+
seriesDefaults:{renderer:$.jqplot.MekkoRenderer, rendererOptions: {showBorders: false}},
|
221
|
+
legend:{
|
222
|
+
show:true,
|
223
|
+
location: 'n',
|
224
|
+
labels: legendLabels,
|
225
|
+
rendererOptions:{numberRows: 1, placement: "outside"}
|
226
|
+
},
|
227
|
+
axesDefaults:{
|
228
|
+
renderer:$.jqplot.MekkoAxisRenderer,
|
229
|
+
tickOptions:{showGridline:false}
|
230
|
+
},
|
231
|
+
axes:{
|
232
|
+
xaxis:{
|
233
|
+
tickMode:"bar",
|
234
|
+
tickOptions:{formatString:'$%dM'}
|
235
|
+
}
|
236
|
+
}
|
237
|
+
});
|
238
|
+
});
|
239
|
+
</script>
|
240
|
+
|
241
|
+
<!-- End example scripts -->
|
242
|
+
|
243
|
+
<!-- Don't touch this! -->
|
244
|
+
|
245
|
+
|
246
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
247
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
248
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
249
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
250
|
+
<!-- End Don't touch this! -->
|
251
|
+
|
252
|
+
<!-- Additional plugins go here -->
|
253
|
+
|
254
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
255
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.mekkoRenderer.min.js"></script>
|
256
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.mekkoAxisRenderer.min.js"></script>
|
257
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.min.js"></script>
|
258
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.canvasAxisLabelRenderer.min.js"></script>
|
259
|
+
|
260
|
+
<!-- End additional plugins -->
|
261
|
+
|
262
|
+
|
263
|
+
</div>
|
264
|
+
<script type="text/javascript" src="example.min.js"></script>
|
265
|
+
|
266
|
+
</body>
|
267
|
+
|
268
|
+
|
269
|
+
</html>
|
@@ -0,0 +1,179 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>jqPlot Meter Gauge</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="mekkoCharts.html">Previous</a> <a href="./">Examples</a> <a href="pie-donut-charts.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
|
37
|
+
<style type="text/css">
|
38
|
+
|
39
|
+
.plot {
|
40
|
+
margin-bottom: 30px;
|
41
|
+
margin-left: auto;
|
42
|
+
margin-right: auto;
|
43
|
+
}
|
44
|
+
|
45
|
+
#chart0 .jqplot-meterGauge-label {
|
46
|
+
font-size: 10pt;
|
47
|
+
}
|
48
|
+
|
49
|
+
#chart1 .jqplot-meterGauge-tick {
|
50
|
+
font-size: 6pt;
|
51
|
+
}
|
52
|
+
|
53
|
+
#chart2 .jqplot-meterGauge-tick {
|
54
|
+
font-size: 8pt;
|
55
|
+
}
|
56
|
+
|
57
|
+
#chart3 .jqplot-meterGauge-tick, #chart0 .jqplot-meterGauge-tic {
|
58
|
+
font-size: 10pt;
|
59
|
+
}
|
60
|
+
|
61
|
+
#chart4 .jqplot-meterGauge-tick, #chart4 .jqplot-meterGauge-label {
|
62
|
+
font-size: 12pt;
|
63
|
+
}
|
64
|
+
</style>
|
65
|
+
|
66
|
+
|
67
|
+
<p>A meter gauge plot shows a data value in a speedometer style gauge. The "series" in consists of a single data value that positions the needle on the gauge. The span of the gauge will be automatically determined, or can be set with the "min" and "max" values in the "rendererOptions" of the series. The plot below also specifies a chart title and a "label" for the gauge.</p>
|
68
|
+
|
69
|
+
<div id="chart0" class="plot" style="width:250px;height:170px;"></div>
|
70
|
+
|
71
|
+
<p>For small gauges, it can be desirable to turn off the tick labels by setting the "showTickLabels" option in the rendererOptions to false. Also, colored interval bands can be specified. The interval ranges are specified as an array of values the "intervals" option and custom colors for each interval can be specified with the "intervalColors" option.</p>
|
72
|
+
|
73
|
+
<div id="chart1" class="plot" style="width:120px;height:80px;"></div>
|
74
|
+
|
75
|
+
<p>The inner and outer radii of the interval band will automatically adjust when tick Labels are turned on. Also, the gauge minimum and maximum can be specified with the "min" and "max" options in the rendererOptions.</p>
|
76
|
+
|
77
|
+
<div id="chart3" class="plot" style="width:300px;height:180px;"></div>
|
78
|
+
|
79
|
+
<p>The inner and outer radii of the interval band can also be specified with the "intervalInnerRadius" and "intervalOuterRadius" options. In the plot below, the "labelPosition" option was set to "bottom" to put the gauge label below the plot. The "labelHeightAdjust" option was set to -5 to raise the label slightly (5 pixels) to place it closer to the gauge.</p>
|
80
|
+
<p>The gauge automatically resizes to best fit the container. The font size of the tick labels and gauge labels do not size to the container, however. The font size of the tick labels can be controlled by styling the css ".jqplot-meterGauge-ticks" class and the gauge label by the "jqplot-meterGauge-label" class.</p>
|
81
|
+
<div id="chart4" class="plot" style="width:500px;height:300px;"></div>
|
82
|
+
|
83
|
+
|
84
|
+
<script type="text/javascript" class="code">
|
85
|
+
$(document).ready(function(){
|
86
|
+
s1 = [1];
|
87
|
+
|
88
|
+
plot0 = $.jqplot('chart0',[s1],{
|
89
|
+
title: 'Network Speed',
|
90
|
+
seriesDefaults: {
|
91
|
+
renderer: $.jqplot.MeterGaugeRenderer,
|
92
|
+
rendererOptions: {
|
93
|
+
label: 'MB/s'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
});
|
97
|
+
});
|
98
|
+
</script>
|
99
|
+
|
100
|
+
<script type="text/javascript" class="code">
|
101
|
+
$(document).ready(function(){
|
102
|
+
s1 = [1];
|
103
|
+
|
104
|
+
plot1 = $.jqplot('chart1',[s1],{
|
105
|
+
seriesDefaults: {
|
106
|
+
renderer: $.jqplot.MeterGaugeRenderer,
|
107
|
+
rendererOptions: {
|
108
|
+
showTickLabels: false,
|
109
|
+
intervals:[2,3,4],
|
110
|
+
intervalColors:['#66cc66', '#E7E658', '#cc6666']
|
111
|
+
}
|
112
|
+
}
|
113
|
+
});
|
114
|
+
});
|
115
|
+
</script>
|
116
|
+
|
117
|
+
<script type="text/javascript" class="code">
|
118
|
+
$(document).ready(function(){
|
119
|
+
s1 = [322];
|
120
|
+
|
121
|
+
plot3 = $.jqplot('chart3',[s1],{
|
122
|
+
seriesDefaults: {
|
123
|
+
renderer: $.jqplot.MeterGaugeRenderer,
|
124
|
+
rendererOptions: {
|
125
|
+
min: 100,
|
126
|
+
max: 500,
|
127
|
+
intervals:[200, 300, 400, 500],
|
128
|
+
intervalColors:['#66cc66', '#93b75f', '#E7E658', '#cc6666']
|
129
|
+
}
|
130
|
+
}
|
131
|
+
});
|
132
|
+
});
|
133
|
+
</script>
|
134
|
+
|
135
|
+
<script type="text/javascript" class="code">
|
136
|
+
$(document).ready(function(){
|
137
|
+
s1 = [52200];
|
138
|
+
|
139
|
+
plot4 = $.jqplot('chart4',[s1],{
|
140
|
+
seriesDefaults: {
|
141
|
+
renderer: $.jqplot.MeterGaugeRenderer,
|
142
|
+
rendererOptions: {
|
143
|
+
label: 'Metric Tons per Year',
|
144
|
+
labelPosition: 'bottom',
|
145
|
+
labelHeightAdjust: -5,
|
146
|
+
intervalOuterRadius: 85,
|
147
|
+
ticks: [10000, 30000, 50000, 70000],
|
148
|
+
intervals:[22000, 55000, 70000],
|
149
|
+
intervalColors:['#66cc66', '#E7E658', '#cc6666']
|
150
|
+
}
|
151
|
+
}
|
152
|
+
});
|
153
|
+
});
|
154
|
+
</script>
|
155
|
+
<!-- End example scripts -->
|
156
|
+
|
157
|
+
<!-- Don't touch this! -->
|
158
|
+
|
159
|
+
|
160
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
161
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
162
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
163
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
164
|
+
<!-- End Don't touch this! -->
|
165
|
+
|
166
|
+
<!-- Additional plugins go here -->
|
167
|
+
|
168
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.meterGaugeRenderer.min.js"></script>
|
169
|
+
|
170
|
+
<!-- End additional plugins -->
|
171
|
+
|
172
|
+
|
173
|
+
</div>
|
174
|
+
<script type="text/javascript" src="example.min.js"></script>
|
175
|
+
|
176
|
+
</body>
|
177
|
+
|
178
|
+
|
179
|
+
</html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<div class="example-nav">
|
2
|
+
<?php
|
3
|
+
$tmpnames = scandir('./');
|
4
|
+
$skip = array('opener.php', 'bodyOpener.php', 'nav.php', 'closer.html', 'commonScripts.html', 'topbanner.html');
|
5
|
+
|
6
|
+
foreach( $tmpnames as $value) {
|
7
|
+
if (preg_match('/^[a-z0-9][a-z0-9_\-]+\.(html|php)$/i', $value)) {
|
8
|
+
if (! in_array($value, $skip)) {
|
9
|
+
$files[] = $value;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
13
|
+
$fcount = count($files);
|
14
|
+
$parts = explode("/", $_SERVER['SCRIPT_NAME']);
|
15
|
+
$curfile = end($parts);
|
16
|
+
$prevfile = '';
|
17
|
+
$nextfile = '';
|
18
|
+
// print_r($files);
|
19
|
+
|
20
|
+
for ($i=0; $i<$fcount; $i++) {
|
21
|
+
if ($curfile == $files[$i]) {
|
22
|
+
if ($i == 0) {
|
23
|
+
$prevfile = $files[$fcount-1];
|
24
|
+
$nextfile = $files[1];
|
25
|
+
}
|
26
|
+
elseif ($i == $fcount-1) {
|
27
|
+
$prevfile = $files[$i-1];
|
28
|
+
$nextfile = $files[0];
|
29
|
+
}
|
30
|
+
else {
|
31
|
+
$prevfile = $files[$i-1];
|
32
|
+
$nextfile = $files[$i+1];
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
echo '<a href="'.$prevfile.'">Previous</a> <a href="./">Examples</a> <a href="'.$nextfile.'">Next</a>';
|
38
|
+
|
39
|
+
?>
|
40
|
+
</div>
|