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,165 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Animated 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="bar-charts.html">Previous</a> <a href="./">Examples</a> <a href="barTest.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
<div id="chart1" style="width:700px; height:300px"></div>
|
37
|
+
|
38
|
+
<p>This plot animates the bars bottom to top and the line series left to right upon initial page load. Since the <code>animateReplot: true</code> option is set, the bars and line will also animate upon calls to <code>plot1.replot( { resetAxes: true } )</code>.</p>
|
39
|
+
|
40
|
+
<pre class="code brush:js"></pre>
|
41
|
+
|
42
|
+
|
43
|
+
<script class="code" type="text/javascript">
|
44
|
+
|
45
|
+
$(document).ready(function () {
|
46
|
+
var s1 = [[2002, 112000], [2003, 122000], [2004, 104000], [2005, 99000], [2006, 121000],
|
47
|
+
[2007, 148000], [2008, 114000], [2009, 133000], [2010, 161000], [2011, 173000]];
|
48
|
+
var s2 = [[2002, 10200], [2003, 10800], [2004, 11200], [2005, 11800], [2006, 12400],
|
49
|
+
[2007, 12800], [2008, 13200], [2009, 12600], [2010, 13100]];
|
50
|
+
|
51
|
+
plot1 = $.jqplot("chart1", [s2, s1], {
|
52
|
+
// Turns on animatino for all series in this plot.
|
53
|
+
animate: true,
|
54
|
+
// Will animate plot on calls to plot1.replot({resetAxes:true})
|
55
|
+
animateReplot: true,
|
56
|
+
cursor: {
|
57
|
+
show: true,
|
58
|
+
zoom: true,
|
59
|
+
looseZoom: true,
|
60
|
+
showTooltip: false
|
61
|
+
},
|
62
|
+
series:[
|
63
|
+
{
|
64
|
+
pointLabels: {
|
65
|
+
show: true
|
66
|
+
},
|
67
|
+
renderer: $.jqplot.BarRenderer,
|
68
|
+
showHighlight: false,
|
69
|
+
yaxis: 'y2axis',
|
70
|
+
rendererOptions: {
|
71
|
+
// Speed up the animation a little bit.
|
72
|
+
// This is a number of milliseconds.
|
73
|
+
// Default for bar series is 3000.
|
74
|
+
animation: {
|
75
|
+
speed: 2500
|
76
|
+
},
|
77
|
+
barWidth: 15,
|
78
|
+
barPadding: -15,
|
79
|
+
barMargin: 0,
|
80
|
+
highlightMouseOver: false
|
81
|
+
}
|
82
|
+
},
|
83
|
+
{
|
84
|
+
rendererOptions: {
|
85
|
+
// speed up the animation a little bit.
|
86
|
+
// This is a number of milliseconds.
|
87
|
+
// Default for a line series is 2500.
|
88
|
+
animation: {
|
89
|
+
speed: 2000
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
],
|
94
|
+
axesDefaults: {
|
95
|
+
pad: 0
|
96
|
+
},
|
97
|
+
axes: {
|
98
|
+
// These options will set up the x axis like a category axis.
|
99
|
+
xaxis: {
|
100
|
+
tickInterval: 1,
|
101
|
+
drawMajorGridlines: false,
|
102
|
+
drawMinorGridlines: true,
|
103
|
+
drawMajorTickMarks: false,
|
104
|
+
rendererOptions: {
|
105
|
+
tickInset: 0.5,
|
106
|
+
minorTicks: 1
|
107
|
+
}
|
108
|
+
},
|
109
|
+
yaxis: {
|
110
|
+
tickOptions: {
|
111
|
+
formatString: "$%'d"
|
112
|
+
},
|
113
|
+
rendererOptions: {
|
114
|
+
forceTickAt0: true
|
115
|
+
}
|
116
|
+
},
|
117
|
+
y2axis: {
|
118
|
+
tickOptions: {
|
119
|
+
formatString: "$%'d"
|
120
|
+
},
|
121
|
+
rendererOptions: {
|
122
|
+
// align the ticks on the y2 axis with the y axis.
|
123
|
+
alignTicks: true,
|
124
|
+
forceTickAt0: true
|
125
|
+
}
|
126
|
+
}
|
127
|
+
},
|
128
|
+
highlighter: {
|
129
|
+
show: true,
|
130
|
+
showLabel: true,
|
131
|
+
tooltipAxes: 'y',
|
132
|
+
sizeAdjust: 7.5 , tooltipLocation : 'ne'
|
133
|
+
}
|
134
|
+
});
|
135
|
+
|
136
|
+
});
|
137
|
+
|
138
|
+
|
139
|
+
</script>
|
140
|
+
<!-- End example scripts -->
|
141
|
+
|
142
|
+
<!-- Don't touch this! -->
|
143
|
+
|
144
|
+
|
145
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
146
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
147
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
148
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
149
|
+
<!-- Additional plugins go here -->
|
150
|
+
|
151
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.barRenderer.min.js"></script>
|
152
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.highlighter.min.js"></script>
|
153
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.cursor.min.js"></script>
|
154
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.pointLabels.min.js"></script>
|
155
|
+
|
156
|
+
<!-- End additional plugins -->
|
157
|
+
|
158
|
+
|
159
|
+
</div>
|
160
|
+
<script type="text/javascript" src="example.min.js"></script>
|
161
|
+
|
162
|
+
</body>
|
163
|
+
|
164
|
+
|
165
|
+
</html>
|
@@ -0,0 +1,299 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>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="barLineAnimated.html">Previous</a> <a href="./">Examples</a> <a href="bezierCurve.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
<p>Below is a default bar plot. Bars will highlight on mouseover. Events are triggered when you mouseover a bar and also when you click on a bar. Here We capture the 'jqplotDataClick' event and display the clicked series index, point index and data values. When series data is assigned as a 1-dimensional array as in this example, jqPlot automatically converts it into a 2-dimensional array for plotting. So a series defined as [2, 6, 7, 10] will become [[1,2], [2,6], [3,7], [4,10]].<p>
|
37
|
+
|
38
|
+
<div><span>You Clicked: </span><span id="info1">Nothing yet</span></div>
|
39
|
+
|
40
|
+
<div id="chart1" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
41
|
+
<pre class="code brush:js"></pre>
|
42
|
+
|
43
|
+
<p>The plot target also fires a 'jqplotDataMouseOver' when the cursor is moused over a bar even if highlighting is turned off. This event will fire continuously as the user mouses over the bar. 'jqplotDataHighlight' fires only once when the user first passes over the bar. Additionally, a 'jqplotDataUnhighlight' event is fired when the user moves out of a bar (if highlighting is enabled).<p>
|
44
|
+
|
45
|
+
<div><span>Moused Over: </span><span id="info2">Nothing</span></div>
|
46
|
+
|
47
|
+
<div id="chart2" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
48
|
+
<pre class="code brush:js"></pre>
|
49
|
+
|
50
|
+
<div><span>Moused Over: </span><span id="info2b">Nothing</span></div>
|
51
|
+
<div><span>Clicked: </span><span id="info2c">Nothing</span></div>
|
52
|
+
|
53
|
+
<div id="chart2b" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
54
|
+
<pre class="code brush:js"></pre>
|
55
|
+
|
56
|
+
<p>The next example has the plot's 'captureRightClick' option set to true. This causes the plot to fire a 'jqplotRightClick' event the the user clicks the right mouse button over a bar. Here, the 'highlightMouseDown' option is also set to true. This will highlight a slice on mouse down instead of on move over. Highlighting will occur for either left or right click.</p>
|
57
|
+
|
58
|
+
<div><span>You Right Clicked: </span><span id="info3">Nothing yet</span></div>
|
59
|
+
|
60
|
+
<div id="chart3" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
61
|
+
<pre class="code brush:js"></pre>
|
62
|
+
|
63
|
+
<div id="chart4" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
64
|
+
<pre class="code brush:js"></pre>
|
65
|
+
|
66
|
+
<div id="chart5" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
67
|
+
<pre class="code brush:js"></pre>
|
68
|
+
|
69
|
+
<p>A pie chart is added to test for incompatibilities.</p>
|
70
|
+
<div id="chart6" style="margin-top:20px; margin-left:20px; width:300px; height:200px;"></div>
|
71
|
+
<pre class="code brush:js"></pre>
|
72
|
+
|
73
|
+
<p>The nex example shows the placement of point labels on negative bars. They shou be placed on the opposite position. That is, if it is placed 'north' to the positive bars, then it should be placed 'south' to the negative bars.</p>
|
74
|
+
<div id="chart7" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
|
75
|
+
<pre class="code brush:js"></pre>
|
76
|
+
|
77
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
78
|
+
$.jqplot.config.enablePlugins = true;
|
79
|
+
var s1 = [2, 6, 7, 10];
|
80
|
+
var ticks = ['a', 'b', 'c', 'd'];
|
81
|
+
|
82
|
+
plot1 = $.jqplot('chart1', [s1], {
|
83
|
+
// Only animate if we're not using excanvas (not in IE 7 or IE 8)..
|
84
|
+
animate: !$.jqplot.use_excanvas,
|
85
|
+
seriesDefaults:{
|
86
|
+
renderer:$.jqplot.BarRenderer,
|
87
|
+
pointLabels: { show: true }
|
88
|
+
},
|
89
|
+
axes: {
|
90
|
+
xaxis: {
|
91
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
92
|
+
ticks: ticks
|
93
|
+
}
|
94
|
+
},
|
95
|
+
highlighter: { show: false }
|
96
|
+
});
|
97
|
+
|
98
|
+
$('#chart1').bind('jqplotDataClick',
|
99
|
+
function (ev, seriesIndex, pointIndex, data) {
|
100
|
+
$('#info1').html('series: '+seriesIndex+', point: '+pointIndex+', data: '+data);
|
101
|
+
}
|
102
|
+
);
|
103
|
+
});</script>
|
104
|
+
|
105
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
106
|
+
var s1 = [2, 6, 7, 10];
|
107
|
+
var s2 = [7, 5, 3, 2];
|
108
|
+
var ticks = ['a', 'b', 'c', 'd'];
|
109
|
+
|
110
|
+
plot2 = $.jqplot('chart2', [s1, s2], {
|
111
|
+
seriesDefaults: {
|
112
|
+
renderer:$.jqplot.BarRenderer,
|
113
|
+
pointLabels: { show: true }
|
114
|
+
},
|
115
|
+
axes: {
|
116
|
+
xaxis: {
|
117
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
118
|
+
ticks: ticks
|
119
|
+
}
|
120
|
+
}
|
121
|
+
});
|
122
|
+
|
123
|
+
$('#chart2').bind('jqplotDataHighlight',
|
124
|
+
function (ev, seriesIndex, pointIndex, data) {
|
125
|
+
$('#info2').html('series: '+seriesIndex+', point: '+pointIndex+', data: '+data);
|
126
|
+
}
|
127
|
+
);
|
128
|
+
|
129
|
+
$('#chart2').bind('jqplotDataUnhighlight',
|
130
|
+
function (ev) {
|
131
|
+
$('#info2').html('Nothing');
|
132
|
+
}
|
133
|
+
);
|
134
|
+
});</script>
|
135
|
+
|
136
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
137
|
+
plot2b = $.jqplot('chart2b', [[[2,1], [4,2], [6,3], [3,4]], [[5,1], [1,2], [3,3], [4,4]], [[4,1], [7,2], [1,3], [2,4]]], {
|
138
|
+
seriesDefaults: {
|
139
|
+
renderer:$.jqplot.BarRenderer,
|
140
|
+
pointLabels: { show: true, location: 'e', edgeTolerance: -15 },
|
141
|
+
shadowAngle: 135,
|
142
|
+
rendererOptions: {
|
143
|
+
barDirection: 'horizontal'
|
144
|
+
}
|
145
|
+
},
|
146
|
+
axes: {
|
147
|
+
yaxis: {
|
148
|
+
renderer: $.jqplot.CategoryAxisRenderer
|
149
|
+
}
|
150
|
+
}
|
151
|
+
});
|
152
|
+
|
153
|
+
$('#chart2b').bind('jqplotDataHighlight',
|
154
|
+
function (ev, seriesIndex, pointIndex, data) {
|
155
|
+
$('#info2b').html('series: '+seriesIndex+', point: '+pointIndex+', data: '+data+ ', pageX: '+ev.pageX+', pageY: '+ev.pageY);
|
156
|
+
}
|
157
|
+
);
|
158
|
+
$('#chart2b').bind('jqplotDataClick',
|
159
|
+
function (ev, seriesIndex, pointIndex, data) {
|
160
|
+
$('#info2c').html('series: '+seriesIndex+', point: '+pointIndex+', data: '+data+ ', pageX: '+ev.pageX+', pageY: '+ev.pageY);
|
161
|
+
}
|
162
|
+
);
|
163
|
+
|
164
|
+
$('#chart2b').bind('jqplotDataUnhighlight',
|
165
|
+
function (ev) {
|
166
|
+
$('#info2b').html('Nothing');
|
167
|
+
}
|
168
|
+
);
|
169
|
+
});</script>
|
170
|
+
|
171
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
172
|
+
var s1 = [2, 6, 7, 10];
|
173
|
+
var s2 = [7, 5, 3, 2];
|
174
|
+
var s3 = [14, 9, 3, 8];
|
175
|
+
plot3 = $.jqplot('chart3', [s1, s2, s3], {
|
176
|
+
stackSeries: true,
|
177
|
+
captureRightClick: true,
|
178
|
+
seriesDefaults:{
|
179
|
+
renderer:$.jqplot.BarRenderer,
|
180
|
+
rendererOptions: {
|
181
|
+
highlightMouseDown: true
|
182
|
+
},
|
183
|
+
pointLabels: {show: true}
|
184
|
+
},
|
185
|
+
legend: {
|
186
|
+
show: true,
|
187
|
+
location: 'e',
|
188
|
+
placement: 'outside'
|
189
|
+
}
|
190
|
+
});
|
191
|
+
|
192
|
+
$('#chart3').bind('jqplotDataRightClick',
|
193
|
+
function (ev, seriesIndex, pointIndex, data) {
|
194
|
+
$('#info3').html('series: '+seriesIndex+', point: '+pointIndex+', data: '+data);
|
195
|
+
}
|
196
|
+
);
|
197
|
+
});</script>
|
198
|
+
|
199
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
200
|
+
plot4 = $.jqplot('chart4', [[[2,1], [6,2], [7,3], [10,4]], [[7,1], [5,2],[3,3],[2,4]], [[14,1], [9,2], [9,3], [8,4]]], {
|
201
|
+
stackSeries: true,
|
202
|
+
captureRightClick: true,
|
203
|
+
seriesDefaults:{
|
204
|
+
renderer:$.jqplot.BarRenderer,
|
205
|
+
shadowAngle: 135,
|
206
|
+
rendererOptions: {
|
207
|
+
barDirection: 'horizontal',
|
208
|
+
highlightMouseDown: true
|
209
|
+
},
|
210
|
+
pointLabels: {show: true, formatString: '%d'}
|
211
|
+
},
|
212
|
+
legend: {
|
213
|
+
show: true,
|
214
|
+
location: 'e',
|
215
|
+
placement: 'outside'
|
216
|
+
},
|
217
|
+
axes: {
|
218
|
+
yaxis: {
|
219
|
+
renderer: $.jqplot.CategoryAxisRenderer
|
220
|
+
}
|
221
|
+
}
|
222
|
+
});
|
223
|
+
});</script>
|
224
|
+
|
225
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
226
|
+
plot5 = $.jqplot('chart5', [[[2,1], [null,2], [7,3], [10,4]]], {
|
227
|
+
captureRightClick: true,
|
228
|
+
seriesDefaults:{
|
229
|
+
renderer:$.jqplot.BarRenderer,
|
230
|
+
shadowAngle: 135,
|
231
|
+
rendererOptions: {
|
232
|
+
barDirection: 'horizontal',
|
233
|
+
highlightMouseDown: true
|
234
|
+
},
|
235
|
+
pointLabels: {show: true, formatString: '%d'}
|
236
|
+
},
|
237
|
+
legend: {
|
238
|
+
show: true,
|
239
|
+
location: 'e',
|
240
|
+
placement: 'outside'
|
241
|
+
},
|
242
|
+
axes: {
|
243
|
+
yaxis: {
|
244
|
+
renderer: $.jqplot.CategoryAxisRenderer
|
245
|
+
}
|
246
|
+
}
|
247
|
+
});
|
248
|
+
});</script>
|
249
|
+
|
250
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
251
|
+
plot6 = $.jqplot('chart6', [[1,2,3,4]], {seriesDefaults:{renderer:$.jqplot.PieRenderer}});
|
252
|
+
});</script>
|
253
|
+
|
254
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
255
|
+
var s1 = [2, -6, 7, -5];
|
256
|
+
var ticks = ['a', 'b', 'c', 'd'];
|
257
|
+
|
258
|
+
plot7 = $.jqplot('chart7', [s1], {
|
259
|
+
seriesDefaults:{
|
260
|
+
renderer:$.jqplot.BarRenderer,
|
261
|
+
rendererOptions: { fillToZero: true },
|
262
|
+
pointLabels: { show: true }
|
263
|
+
},
|
264
|
+
axes: {
|
265
|
+
// yaxis: { autoscale: true },
|
266
|
+
xaxis: {
|
267
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
268
|
+
ticks: ticks
|
269
|
+
}
|
270
|
+
}
|
271
|
+
});
|
272
|
+
});</script>
|
273
|
+
<!-- End example scripts -->
|
274
|
+
|
275
|
+
<!-- Don't touch this! -->
|
276
|
+
|
277
|
+
|
278
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
279
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
280
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
281
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
282
|
+
<!-- Additional plugins go here -->
|
283
|
+
|
284
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
285
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.barRenderer.min.js"></script>
|
286
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.pieRenderer.min.js"></script>
|
287
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.min.js"></script>
|
288
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.pointLabels.min.js"></script>
|
289
|
+
|
290
|
+
<!-- End additional plugins -->
|
291
|
+
|
292
|
+
|
293
|
+
</div>
|
294
|
+
<script type="text/javascript" src="example.min.js"></script>
|
295
|
+
|
296
|
+
</body>
|
297
|
+
|
298
|
+
|
299
|
+
</html>
|
@@ -0,0 +1,125 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Bezier Curve Plots</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="barTest.html">Previous</a> <a href="./">Examples</a> <a href="blockPlot.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
<p>The Bezier curve renderer can distinguish between two different input data formats. This first example has the data passed in as 2 data points, the second one defining the Bezier curve to the end point. With this format, non-default axes renderers will require specifying the minimum and maximum on the axes.</p>
|
37
|
+
<pre>
|
38
|
+
[[xstart, ystart], [cp1x, cp1y, cp2x, cp2y, xend, yend]];
|
39
|
+
</pre>
|
40
|
+
<div id="chart1" class='plot' style="margin-top:20px; margin-left:20px; width:400px; height:300px;"></div>
|
41
|
+
<p>This second example has the data broken out into 4 points, which will be assembled to define the Bezier Curve. With this format, any axes renderer can be used without explicitly specifying the minimum and maximum.</p>
|
42
|
+
<pre>
|
43
|
+
[[xstart, ystart], [cp1x, cp1y], [cp2x, cp2y], [xend, yend]];
|
44
|
+
</pre>
|
45
|
+
<div id="chart2" class='plot' style="margin-top:20px; margin-left:20px; width:400px; height:300px;"></div>
|
46
|
+
<p> Here is an example using a date axis renderer with Bezier curves. The data looks like:</p>
|
47
|
+
<pre>
|
48
|
+
[['01/01/2010', 6], ['02/01/2010', 9], ['03/01/2010', 8], ['04/01/2010', 3]]
|
49
|
+
</pre>
|
50
|
+
|
51
|
+
<div id="chart3" class='plot' style="margin-top:20px; margin-left:20px; width:400px; height:300px;"></div>
|
52
|
+
|
53
|
+
<script class="code" type="text/javascript">
|
54
|
+
$(document).ready(function(){
|
55
|
+
|
56
|
+
var line1 = [[0, 1], [2, 2, 4, .5, 6, 0]];
|
57
|
+
var line2 = [[0, 5], [2, 6, 5, 1, 6, .5]];
|
58
|
+
var line3 = [[0, 6], [3, 9, 4, 8, 6, 3]];
|
59
|
+
var line4 = [[0, 7], [2, 9, 4, 8, 6, 6]];
|
60
|
+
var line5 = [[0, 8], [3, 9, 4, 8, 6, 8]];
|
61
|
+
|
62
|
+
plot1 = $.jqplot("chart1", [line1,line2, line3, line4, line5], {
|
63
|
+
seriesDefaults: {renderer:$.jqplot.BezierCurveRenderer},
|
64
|
+
legend:{show:true}
|
65
|
+
});
|
66
|
+
});
|
67
|
+
</script>
|
68
|
+
|
69
|
+
<script class="code" type="text/javascript">
|
70
|
+
$(document).ready(function(){
|
71
|
+
|
72
|
+
var s1 = [[0, 1], [2, 2], [4, .5], [6, 0]];
|
73
|
+
var s2 = [[0, 5], [2, 6], [5, 1], [6, .5]];
|
74
|
+
var s3 = [[0, 6], [3, 9], [4, 8], [6, 3]];
|
75
|
+
var s4 = [[0, 7], [2, 9], [4, 8], [6, 6]];
|
76
|
+
var s5 = [[0, 8], [3, 9], [4, 8], [6, 8]];
|
77
|
+
|
78
|
+
plot2 = $.jqplot("chart2", [s1,s2, s3, s4, s5], {
|
79
|
+
seriesDefaults: {renderer:$.jqplot.BezierCurveRenderer},
|
80
|
+
legend:{show:true}
|
81
|
+
});
|
82
|
+
});
|
83
|
+
</script>
|
84
|
+
|
85
|
+
<script class="code" type="text/javascript">
|
86
|
+
$(document).ready(function(){
|
87
|
+
|
88
|
+
var s1 = [['01/01/2010', 1], ['02/01/2010', 2], ['03/01/2010', .5], ['04/01/2010', 0]];
|
89
|
+
var s2 = [['01/01/2010', 5], ['02/01/2010', 6], ['03/01/2010', 1], ['04/01/2010', .5]];
|
90
|
+
var s3 = [['01/01/2010', 6], ['02/01/2010', 9], ['03/01/2010', 8], ['04/01/2010', 3]];
|
91
|
+
var s4 = [['01/01/2010', 7], ['02/01/2010', 9], ['03/01/2010', 8], ['04/01/2010', 6]];
|
92
|
+
var s5 = [['01/01/2010', 8], ['02/01/2010', 9], ['03/01/2010', 8], ['04/01/2010', 8]];
|
93
|
+
|
94
|
+
plot3 = $.jqplot("chart3", [s1,s2, s3, s4, s5], {
|
95
|
+
seriesDefaults: {renderer:$.jqplot.BezierCurveRenderer},
|
96
|
+
axes:{xaxis:{renderer:$.jqplot.DateAxisRenderer, numberTicks:4}},
|
97
|
+
legend:{show:true}
|
98
|
+
});
|
99
|
+
});
|
100
|
+
</script>
|
101
|
+
|
102
|
+
<!-- End example scripts -->
|
103
|
+
|
104
|
+
<!-- Don't touch this! -->
|
105
|
+
|
106
|
+
|
107
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
108
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
109
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
110
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
111
|
+
<!-- Additional plugins go here -->
|
112
|
+
|
113
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.BezierCurveRenderer.min.js"></script>
|
114
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.min.js"></script>
|
115
|
+
|
116
|
+
<!-- End additional plugins -->
|
117
|
+
|
118
|
+
|
119
|
+
</div>
|
120
|
+
<script type="text/javascript" src="example.min.js"></script>
|
121
|
+
|
122
|
+
</body>
|
123
|
+
|
124
|
+
|
125
|
+
</html>
|