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,144 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>AJAX and JSON Data Loading via Data Renderers</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="dashedLines.html">Previous</a> <a href="./">Examples</a> <a href="date-axes.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
<p>Data renderers allow jqPlot to pull data from any external source (e.g. a function implementing an AJAX call). Simply assign the external source to the "dataRenderer" plot option. The only requirement on data renderers is that it must return a valid jqPlot data array.</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>Data renderers get passed options by the plot. The signiture for a data renderer is:</p>
|
44
|
+
|
45
|
+
|
46
|
+
<pre class="brush: js">
|
47
|
+
function(userData, plotObject, options) {
|
48
|
+
...
|
49
|
+
return data;
|
50
|
+
}
|
51
|
+
</pre>
|
52
|
+
|
53
|
+
|
54
|
+
<p>Where userData is whatever data was passed into the plot, plotObject is a reference back to the plot itself, and options are any options passed into the plots "dataRendererOption" option. The following example shows a more complicated example which uses ajax pulls data from an external json data source.</p>
|
55
|
+
|
56
|
+
<div id="chart2" style="height:300px; width:500px;"></div>
|
57
|
+
|
58
|
+
<pre class="code prettyprint brush: js"></pre>
|
59
|
+
|
60
|
+
|
61
|
+
<script class="code" type="text/javascript">
|
62
|
+
$(document).ready(function(){
|
63
|
+
// Our data renderer function, returns an array of the form:
|
64
|
+
// [[[x1, sin(x1)], [x2, sin(x2)], ...]]
|
65
|
+
var sineRenderer = function() {
|
66
|
+
var data = [[]];
|
67
|
+
for (var i=0; i<13; i+=0.5) {
|
68
|
+
data[0].push([i, Math.sin(i)]);
|
69
|
+
}
|
70
|
+
return data;
|
71
|
+
};
|
72
|
+
|
73
|
+
// we have an empty data array here, but use the "dataRenderer"
|
74
|
+
// option to tell the plot to get data from our renderer.
|
75
|
+
var plot1 = $.jqplot('chart1',[],{
|
76
|
+
title: 'Sine Data Renderer',
|
77
|
+
dataRenderer: sineRenderer
|
78
|
+
});
|
79
|
+
});
|
80
|
+
</script>
|
81
|
+
|
82
|
+
|
83
|
+
<script class="code" type="text/javascript">
|
84
|
+
$(document).ready(function(){
|
85
|
+
// Our ajax data renderer which here retrieves a text file.
|
86
|
+
// it could contact any source and pull data, however.
|
87
|
+
// The options argument isn't used in this renderer.
|
88
|
+
var ajaxDataRenderer = function(url, plot, options) {
|
89
|
+
var ret = null;
|
90
|
+
$.ajax({
|
91
|
+
// have to use synchronous here, else the function
|
92
|
+
// will return before the data is fetched
|
93
|
+
async: false,
|
94
|
+
url: url,
|
95
|
+
dataType:"json",
|
96
|
+
success: function(data) {
|
97
|
+
ret = data;
|
98
|
+
}
|
99
|
+
});
|
100
|
+
return ret;
|
101
|
+
};
|
102
|
+
|
103
|
+
// The url for our json data
|
104
|
+
var jsonurl = "./jsondata.txt";
|
105
|
+
|
106
|
+
// passing in the url string as the jqPlot data argument is a handy
|
107
|
+
// shortcut for our renderer. You could also have used the
|
108
|
+
// "dataRendererOptions" option to pass in the url.
|
109
|
+
var plot2 = $.jqplot('chart2', jsonurl,{
|
110
|
+
title: "AJAX JSON Data Renderer",
|
111
|
+
dataRenderer: ajaxDataRenderer,
|
112
|
+
dataRendererOptions: {
|
113
|
+
unusedOptionalUrl: jsonurl
|
114
|
+
}
|
115
|
+
});
|
116
|
+
});
|
117
|
+
</script>
|
118
|
+
|
119
|
+
|
120
|
+
<!-- End example scripts -->
|
121
|
+
|
122
|
+
<!-- Don't touch this! -->
|
123
|
+
|
124
|
+
|
125
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
126
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
127
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
128
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
129
|
+
<!-- End Don't touch this! -->
|
130
|
+
|
131
|
+
<!-- Additional plugins go here -->
|
132
|
+
|
133
|
+
<script class="include" language="javascript" type="text/javascript" src="../plugins/jqplot.json2.min.js"></script>
|
134
|
+
|
135
|
+
<!-- End additional plugins -->
|
136
|
+
|
137
|
+
|
138
|
+
</div>
|
139
|
+
<script type="text/javascript" src="example.min.js"></script>
|
140
|
+
|
141
|
+
</body>
|
142
|
+
|
143
|
+
|
144
|
+
</html>
|
@@ -0,0 +1,107 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Date Axes</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="data-renderers.html">Previous</a> <a href="./">Examples</a> <a href="dateAxisLogAxisZooming.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
<p>Date axes support is provided through the dateAxisRenderer plugin. Date axes expand javascripts native date handling capabilities. This allow dates to be input in almost any unambiguous form, not just in milliseconds!</p>
|
36
|
+
|
37
|
+
<p><em>Note, although jqPlot will parse most any human readable date, it is safest to use javascript time stamps when possible. Also, it is best to specify a date and time and not just a date alone. This is due to inconsistent browser handling of local time vs. UTC with bare dates.</em></p>
|
38
|
+
|
39
|
+
<div id="chart1" style="height:300px; width:650px;"></div>
|
40
|
+
|
41
|
+
<pre class="code prettyprint brush: js"></pre>
|
42
|
+
|
43
|
+
<p>Date Axes also provide powerful formatting features. This allows custom formatter strings to be used to format axis tick labels precisely the way you want.</p>
|
44
|
+
|
45
|
+
<div id="chart2" style="height:300px; width:650px;"></div>
|
46
|
+
|
47
|
+
<pre class="code prettyprint brush: js"></pre>
|
48
|
+
|
49
|
+
<script class="code" type="text/javascript">
|
50
|
+
$(document).ready(function(){
|
51
|
+
var line1=[['2008-08-12 4:00PM',4], ['2008-09-12 4:00PM',6.5], ['2008-10-12 4:00PM',5.7], ['2008-11-12 4:00PM',9], ['2008-12-12 4:00PM',8.2]];
|
52
|
+
var plot1 = $.jqplot('chart1', [line1], {
|
53
|
+
title:'Default Date Axis',
|
54
|
+
axes:{
|
55
|
+
xaxis:{
|
56
|
+
renderer:$.jqplot.DateAxisRenderer
|
57
|
+
}
|
58
|
+
},
|
59
|
+
series:[{lineWidth:4, markerOptions:{style:'square'}}]
|
60
|
+
});
|
61
|
+
});
|
62
|
+
</script>
|
63
|
+
|
64
|
+
|
65
|
+
<script class="code" type="text/javascript">
|
66
|
+
$(document).ready(function(){
|
67
|
+
var line1=[['2008-06-30 8:00AM',4], ['2008-7-14 8:00AM',6.5], ['2008-7-28 8:00AM',5.7], ['2008-8-11 8:00AM',9], ['2008-8-25 8:00AM',8.2]];
|
68
|
+
var plot2 = $.jqplot('chart2', [line1], {
|
69
|
+
title:'Customized Date Axis',
|
70
|
+
axes:{
|
71
|
+
xaxis:{
|
72
|
+
renderer:$.jqplot.DateAxisRenderer,
|
73
|
+
tickOptions:{formatString:'%b %#d, %#I %p'},
|
74
|
+
min:'June 16, 2008 8:00AM',
|
75
|
+
tickInterval:'2 weeks'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
series:[{lineWidth:4, markerOptions:{style:'square'}}]
|
79
|
+
});
|
80
|
+
});
|
81
|
+
</script>
|
82
|
+
|
83
|
+
<!-- End example scripts -->
|
84
|
+
|
85
|
+
<!-- Don't touch this! -->
|
86
|
+
|
87
|
+
|
88
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
89
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
90
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
91
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
92
|
+
<!-- End Don't touch this! -->
|
93
|
+
|
94
|
+
<!-- Additional plugins go here -->
|
95
|
+
|
96
|
+
<script class="include" language="javascript" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.min.js"></script>
|
97
|
+
|
98
|
+
<!-- End additional plugins -->
|
99
|
+
|
100
|
+
|
101
|
+
</div>
|
102
|
+
<script type="text/javascript" src="example.min.js"></script>
|
103
|
+
|
104
|
+
</body>
|
105
|
+
|
106
|
+
|
107
|
+
</html>
|
@@ -0,0 +1,105 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Zooming with Date and Log Axes</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="date-axes.html">Previous</a> <a href="./">Examples</a> <a href="dateAxisRenderer.html">Next</a></div>
|
32
|
+
|
33
|
+
<div class="example-plot" id="chart1" style="width: 700px; height: 400px;"></div>
|
34
|
+
|
35
|
+
<!-- Example scripts go here -->
|
36
|
+
|
37
|
+
<script type="text/javascript" src="yahooData.js" ></script>
|
38
|
+
|
39
|
+
<script type="text/javascript" class="code">
|
40
|
+
$(document).ready(function(){
|
41
|
+
plot1 = $.jqplot('chart1', [yahoo], {
|
42
|
+
series: [{
|
43
|
+
renderer: $.jqplot.OHLCRenderer,
|
44
|
+
rendererOptions: {
|
45
|
+
candleStick: true
|
46
|
+
}
|
47
|
+
}],
|
48
|
+
axes: {
|
49
|
+
xaxis: {
|
50
|
+
renderer:$.jqplot.DateAxisRenderer,
|
51
|
+
rendererOptions: {
|
52
|
+
tickInset: 0
|
53
|
+
},
|
54
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
55
|
+
tickOptions: {
|
56
|
+
angle: -30,
|
57
|
+
// formatString: '%#m-%#d %H:%M'
|
58
|
+
}
|
59
|
+
// min:'August 1, 2007',
|
60
|
+
// tickInterval: '4 months',
|
61
|
+
// tickOptions:{formatString:'%Y/%#m/%#d'}
|
62
|
+
},
|
63
|
+
yaxis: {
|
64
|
+
renderer: $.jqplot.LogAxisRenderer,
|
65
|
+
tickOptions:{ prefix: '$' }
|
66
|
+
}
|
67
|
+
},
|
68
|
+
cursor:{
|
69
|
+
show: true,
|
70
|
+
zoom: true
|
71
|
+
}
|
72
|
+
});
|
73
|
+
});
|
74
|
+
</script>
|
75
|
+
|
76
|
+
<!-- End example scripts -->
|
77
|
+
|
78
|
+
<!-- Don't touch this! -->
|
79
|
+
|
80
|
+
|
81
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
82
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
83
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
84
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
85
|
+
<!-- End Don't touch this! -->
|
86
|
+
|
87
|
+
<!-- Additional plugins go here -->
|
88
|
+
|
89
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.min.js"></script>
|
90
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.logAxisRenderer.min.js"></script>
|
91
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.min.js"></script>
|
92
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.canvasAxisTickRenderer.min.js"></script>
|
93
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.ohlcRenderer.min.js"></script>
|
94
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.cursor.min.js"></script>
|
95
|
+
|
96
|
+
<!-- End additional plugins -->
|
97
|
+
|
98
|
+
|
99
|
+
</div>
|
100
|
+
<script type="text/javascript" src="example.min.js"></script>
|
101
|
+
|
102
|
+
</body>
|
103
|
+
|
104
|
+
|
105
|
+
</html>
|
@@ -0,0 +1,292 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Date Axes</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="dateAxisLogAxisZooming.html">Previous</a> <a href="./">Examples</a> <a href="fillBetweenLines.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
<p class="text">Date axis renderer with default settings. Ticks are given wider spacing by default since date axes typically have longer tick labels.</p>
|
37
|
+
<div id="chart1" style="margin:20px;height:240px; width:640px;"></div>
|
38
|
+
<p class="text">Date axis recognizes rotated tick labels. It will space ticks a little closer when labels are rotated.</p>
|
39
|
+
<div id="chart2" style="margin:20px;height:240px; width:640px;"></div>
|
40
|
+
<p class="text">If you want more or less ticks, specify the "numberTicks" options. Date axes will try to produce the desired number of ticks, but may adjust to get a nice interval.</p>
|
41
|
+
<div id="chart3" style="margin:20px;height:240px; width:640px;"></div>
|
42
|
+
|
43
|
+
<script type="text/javascript">
|
44
|
+
var ohlc = [['07/06/09', 138.7, 139.68, 135.18, 135.4],
|
45
|
+
['06/29/09', 143.46, 144.66, 139.79, 140.02],
|
46
|
+
['06/22/09', 140.67, 143.56, 132.88, 142.44],
|
47
|
+
['06/15/09', 136.01, 139.5, 134.53, 139.48],
|
48
|
+
['06/08/09', 143.82, 144.56, 136.04, 136.97],
|
49
|
+
['06/01/09', 136.47, 146.4, 136, 144.67],
|
50
|
+
['05/26/09', 124.76, 135.9, 124.55, 135.81],
|
51
|
+
['05/18/09', 123.73, 129.31, 121.57, 122.5],
|
52
|
+
['05/11/09', 127.37, 130.96, 119.38, 122.42],
|
53
|
+
['05/04/09', 128.24, 133.5, 126.26, 129.19],
|
54
|
+
['04/27/09', 122.9, 127.95, 122.66, 127.24],
|
55
|
+
['04/20/09', 121.73, 127.2, 118.6, 123.9],
|
56
|
+
['04/13/09', 120.01, 124.25, 115.76, 123.42],
|
57
|
+
['04/06/09', 114.94, 120, 113.28, 119.57],
|
58
|
+
['03/30/09', 104.51, 116.13, 102.61, 115.99],
|
59
|
+
['03/23/09', 102.71, 109.98, 101.75, 106.85],
|
60
|
+
['03/16/09', 96.53, 103.48, 94.18, 101.59],
|
61
|
+
['03/09/09', 84.18, 97.2, 82.57, 95.93],
|
62
|
+
['03/02/09', 88.12, 92.77, 82.33, 85.3],
|
63
|
+
['02/23/09', 91.65, 92.92, 86.51, 89.31],
|
64
|
+
['02/17/09', 96.87, 97.04, 89, 91.2],
|
65
|
+
['02/09/09', 100, 103, 95.77, 99.16],
|
66
|
+
['02/02/09', 89.1, 100, 88.9, 99.72],
|
67
|
+
['01/26/09', 88.86, 95, 88.3, 90.13],
|
68
|
+
['01/20/09', 81.93, 90, 78.2, 88.36],
|
69
|
+
['01/12/09', 90.46, 90.99, 80.05, 82.33],
|
70
|
+
['01/05/09', 93.17, 97.17, 90.04, 90.58],
|
71
|
+
['12/29/08', 86.52, 91.04, 84.72, 90.75],
|
72
|
+
['12/22/08', 90.02, 90.03, 84.55, 85.81],
|
73
|
+
['12/15/08', 95.99, 96.48, 88.02, 90],
|
74
|
+
['12/08/08', 97.28, 103.6, 92.53, 98.27],
|
75
|
+
['12/01/08', 91.3, 96.23, 86.5, 94],
|
76
|
+
['11/24/08', 85.21, 95.25, 84.84, 92.67],
|
77
|
+
['11/17/08', 88.48, 91.58, 79.14, 82.58],
|
78
|
+
['11/10/08', 100.17, 100.4, 86.02, 90.24],
|
79
|
+
['11/03/08', 105.93, 111.79, 95.72, 98.24],
|
80
|
+
['10/27/08', 95.07, 112.19, 91.86, 107.59],
|
81
|
+
['10/20/08', 99.78, 101.25, 90.11, 96.38],
|
82
|
+
['10/13/08', 104.55, 116.4, 85.89, 97.4],
|
83
|
+
['10/06/08', 91.96, 101.5, 85, 96.8],
|
84
|
+
['09/29/08', 119.62, 119.68, 94.65, 97.07],
|
85
|
+
['09/22/08', 139.94, 140.25, 123, 128.24],
|
86
|
+
['09/15/08', 142.03, 147.69, 120.68, 140.91],
|
87
|
+
['09/08/08', 164.57, 164.89, 146, 148.94]
|
88
|
+
];
|
89
|
+
|
90
|
+
var hlc = [['07/06/09', 139.68, 135.18, 135.4],
|
91
|
+
['06/29/09', 144.66, 139.79, 140.02],
|
92
|
+
['06/22/09', 143.56, 132.88, 142.44],
|
93
|
+
['06/15/09', 139.5, 134.53, 139.48],
|
94
|
+
['06/08/09', 144.56, 136.04, 136.97],
|
95
|
+
['06/01/09', 146.4, 136, 144.67],
|
96
|
+
['05/26/09', 135.9, 124.55, 135.81],
|
97
|
+
['05/18/09', 129.31, 121.57, 122.5],
|
98
|
+
['05/11/09', 130.96, 119.38, 122.42],
|
99
|
+
['05/04/09', 133.5, 126.26, 129.19],
|
100
|
+
['04/27/09', 127.95, 122.66, 127.24],
|
101
|
+
['04/20/09', 127.2, 118.6, 123.9],
|
102
|
+
['04/13/09', 124.25, 115.76, 123.42],
|
103
|
+
['04/06/09', 120, 113.28, 119.57],
|
104
|
+
['03/30/09', 116.13, 102.61, 115.99],
|
105
|
+
['03/23/09', 109.98, 101.75, 106.85],
|
106
|
+
['03/16/09', 103.48, 94.18, 101.59],
|
107
|
+
['03/09/09', 97.2, 82.57, 95.93],
|
108
|
+
['03/02/09', 92.77, 82.33, 85.3],
|
109
|
+
['02/23/09', 92.92, 86.51, 89.31],
|
110
|
+
['02/17/09', 97.04, 89, 91.2],
|
111
|
+
['02/09/09', 103, 95.77, 99.16],
|
112
|
+
['02/02/09', 100, 88.9, 99.72],
|
113
|
+
['01/26/09', 95, 88.3, 90.13],
|
114
|
+
['01/20/09', 90, 78.2, 88.36],
|
115
|
+
['01/12/09', 90.99, 80.05, 82.33],
|
116
|
+
['01/05/09', 97.17, 90.04, 90.58],
|
117
|
+
['12/29/08', 91.04, 84.72, 90.75],
|
118
|
+
['12/22/08', 90.03, 84.55, 85.81],
|
119
|
+
['12/15/08', 96.48, 88.02, 90],
|
120
|
+
['12/08/08', 103.6, 92.53, 98.27],
|
121
|
+
['12/01/08', 96.23, 86.5, 94],
|
122
|
+
['11/24/08', 95.25, 84.84, 92.67],
|
123
|
+
['11/17/08', 91.58, 79.14, 82.58],
|
124
|
+
['11/10/08', 100.4, 86.02, 90.24],
|
125
|
+
['11/03/08', 111.79, 95.72, 98.24],
|
126
|
+
['10/27/08', 112.19, 91.86, 107.59],
|
127
|
+
['10/20/08', 101.25, 90.11, 96.38],
|
128
|
+
['10/13/08', 116.4, 85.89, 97.4],
|
129
|
+
['10/06/08', 101.5, 85, 96.8],
|
130
|
+
['09/29/08', 119.68, 94.65, 97.07],
|
131
|
+
['09/22/08', 140.25, 123, 128.24],
|
132
|
+
['09/15/08', 147.69, 120.68, 140.91],
|
133
|
+
['09/08/08', 164.89, 146, 148.94]
|
134
|
+
];
|
135
|
+
</script>
|
136
|
+
|
137
|
+
<script class="code" type="text/javascript">
|
138
|
+
$(document).ready(function(){
|
139
|
+
title: "CandleStick Chart",
|
140
|
+
// Globally enable plugins like cursor and highlighter
|
141
|
+
$.jqplot.config.enablePlugins = true;
|
142
|
+
|
143
|
+
// for 2 digit years, set the default centry to 2000.
|
144
|
+
$.jsDate.config.defaultCentury = 2000;
|
145
|
+
|
146
|
+
plot1 = $.jqplot('chart1',[ohlc],{
|
147
|
+
axes: {
|
148
|
+
xaxis: {
|
149
|
+
renderer:$.jqplot.DateAxisRenderer,
|
150
|
+
},
|
151
|
+
yaxis: {
|
152
|
+
tickOptions:{prefix: '$'}
|
153
|
+
}
|
154
|
+
},
|
155
|
+
series: [
|
156
|
+
{
|
157
|
+
renderer:$.jqplot.OHLCRenderer,
|
158
|
+
rendererOptions:{
|
159
|
+
candleStick:true
|
160
|
+
}
|
161
|
+
}
|
162
|
+
],
|
163
|
+
highlighter: {
|
164
|
+
showMarker:false,
|
165
|
+
tooltipAxes: 'xy',
|
166
|
+
yvalues: 4,
|
167
|
+
formatString:'<table class="jqplot-highlighter"> \
|
168
|
+
<tr><td>date:</td><td>%s</td></tr> \
|
169
|
+
<tr><td>open:</td><td>%s</td></tr> \
|
170
|
+
<tr><td>hi:</td><td>%s</td></tr> \
|
171
|
+
<tr><td>low:</td><td>%s</td></tr> \
|
172
|
+
<tr><td>close:</td><td>%s</td></tr> \
|
173
|
+
</table>'
|
174
|
+
}
|
175
|
+
});
|
176
|
+
});
|
177
|
+
</script>
|
178
|
+
|
179
|
+
<script class="code" type="text/javascript">
|
180
|
+
$(document).ready(function(){
|
181
|
+
|
182
|
+
plot2 = $.jqplot('chart2',[ohlc],{
|
183
|
+
title: 'OHLC chart',
|
184
|
+
axes: {
|
185
|
+
xaxis: {
|
186
|
+
renderer:$.jqplot.DateAxisRenderer,
|
187
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
188
|
+
tickOptions: {
|
189
|
+
angle: -30
|
190
|
+
}
|
191
|
+
},
|
192
|
+
yaxis: {
|
193
|
+
tickOptions:{
|
194
|
+
prefix: '$'
|
195
|
+
}
|
196
|
+
}
|
197
|
+
},
|
198
|
+
series: [
|
199
|
+
{
|
200
|
+
renderer:$.jqplot.OHLCRenderer
|
201
|
+
}
|
202
|
+
],
|
203
|
+
highlighter: {
|
204
|
+
showMarker:false,
|
205
|
+
tooltipAxes: 'xy',
|
206
|
+
yvalues: 4,
|
207
|
+
formatString:'<table class="jqplot-highlighter"> \
|
208
|
+
<tr><td>date:</td><td>%s</td></tr> \
|
209
|
+
<tr><td>open:</td><td>%s</td></tr> \
|
210
|
+
<tr><td>hi:</td><td>%s</td></tr> \
|
211
|
+
<tr><td>low:</td><td>%s</td></tr> \
|
212
|
+
<tr><td>close:</td><td>%s</td></tr> \
|
213
|
+
</table>'
|
214
|
+
}
|
215
|
+
});
|
216
|
+
});
|
217
|
+
</script>
|
218
|
+
|
219
|
+
<script class="code" type="text/javascript">
|
220
|
+
$(document).ready(function(){
|
221
|
+
|
222
|
+
plot3 = $.jqplot('chart3',[ohlc],{
|
223
|
+
axesDefaults:{},
|
224
|
+
axes: {
|
225
|
+
xaxis: {
|
226
|
+
renderer:$.jqplot.DateAxisRenderer,
|
227
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
228
|
+
numberTicks: 7,
|
229
|
+
tickOptions: {
|
230
|
+
angle: -30
|
231
|
+
}
|
232
|
+
},
|
233
|
+
yaxis: {
|
234
|
+
tickOptions:{
|
235
|
+
prefix: '$'
|
236
|
+
}
|
237
|
+
}
|
238
|
+
},
|
239
|
+
series: [
|
240
|
+
{
|
241
|
+
renderer:$.jqplot.OHLCRenderer,
|
242
|
+
rendererOptions:{
|
243
|
+
candleStick:true
|
244
|
+
}
|
245
|
+
}
|
246
|
+
],
|
247
|
+
highlighter: {
|
248
|
+
showMarker:false,
|
249
|
+
tooltipAxes: 'xy',
|
250
|
+
yvalues: 4,
|
251
|
+
formatString:'<table class="jqplot-highlighter"> \
|
252
|
+
<tr><td>date:</td><td>%s</td></tr> \
|
253
|
+
<tr><td>open:</td><td>%s</td></tr> \
|
254
|
+
<tr><td>hi:</td><td>%s</td></tr> \
|
255
|
+
<tr><td>low:</td><td>%s</td></tr> \
|
256
|
+
<tr><td>close:</td><td>%s</td></tr> \
|
257
|
+
</table>'
|
258
|
+
}
|
259
|
+
});
|
260
|
+
});
|
261
|
+
</script>
|
262
|
+
|
263
|
+
<!-- End example scripts -->
|
264
|
+
|
265
|
+
<!-- Don't touch this! -->
|
266
|
+
|
267
|
+
|
268
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
269
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
270
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
271
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
272
|
+
<!-- End Don't touch this! -->
|
273
|
+
|
274
|
+
<!-- Additional plugins go here -->
|
275
|
+
|
276
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.min.js"></script>
|
277
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.min.js"></script>
|
278
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.min.js"></script>
|
279
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.canvasAxisTickRenderer.min.js"></script>
|
280
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.ohlcRenderer.min.js"></script>
|
281
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.highlighter.min.js"></script>
|
282
|
+
|
283
|
+
<!-- End additional plugins -->
|
284
|
+
|
285
|
+
|
286
|
+
</div>
|
287
|
+
<script type="text/javascript" src="example.min.js"></script>
|
288
|
+
|
289
|
+
</body>
|
290
|
+
|
291
|
+
|
292
|
+
</html>
|