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,209 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Open Hi Low Close and Candlestick 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="bubbleChart.html">Previous</a> <a href="./">Examples</a> <a href="candlestick.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
<p>OHLC, HLC and Candlestick charts are all created using the $.jqplot.OHLCRenderer plugin. The plots on this page make use of the highlighter plugin which shows a customized tooltip as the mouse moves over a data point.</p>
|
37
|
+
<div id="chart1" style="height:250px; width:600px;"></div>
|
38
|
+
|
39
|
+
<pre class="code prettyprint brush: js"></pre>
|
40
|
+
|
41
|
+
<div id="chart2" style="height:250px; width:600px;"></div>
|
42
|
+
|
43
|
+
<pre class="code prettyprint brush: js"></pre>
|
44
|
+
|
45
|
+
<p>The previous plots use the following data set. jqPlot will parse most human readable date formats. It is always safest, however, to pass a date in as a JavaScript timestamp rather than have jqPlot parse an arbitrary date string.</p>
|
46
|
+
|
47
|
+
<pre class="code prettyprint brush: js"></pre>
|
48
|
+
|
49
|
+
|
50
|
+
<script class="code" language="javascript" type="text/javascript">
|
51
|
+
$(document).ready(function(){
|
52
|
+
// Note, the ohlc data is specified below
|
53
|
+
var plot1 = $.jqplot('chart1',[ohlc],{
|
54
|
+
// use the y2 axis on the right of the plot
|
55
|
+
//rather than the y axis on the left.
|
56
|
+
seriesDefaults:{yaxis:'y2axis'},
|
57
|
+
axes: {
|
58
|
+
xaxis: {
|
59
|
+
renderer:$.jqplot.DateAxisRenderer,
|
60
|
+
tickOptions:{formatString:'%b %e'},
|
61
|
+
// For date axes, we can specify ticks options as human
|
62
|
+
// readable dates. You should be as specific as possible,
|
63
|
+
// however, and include a date and time since some
|
64
|
+
// browser treat dates without a time as UTC and some
|
65
|
+
// treat dates without time as local time.
|
66
|
+
// Generally, if a time is specified without a time zone,
|
67
|
+
// the browser assumes the time zone of the client.
|
68
|
+
min: "09-01-2008 16:00",
|
69
|
+
max: "06-22-2009 16:00",
|
70
|
+
tickInterval: "6 weeks",
|
71
|
+
},
|
72
|
+
y2axis: {
|
73
|
+
tickOptions:{formatString:'$%d'}
|
74
|
+
}
|
75
|
+
},
|
76
|
+
series: [{renderer:$.jqplot.OHLCRenderer}],
|
77
|
+
highlighter: {
|
78
|
+
show: true,
|
79
|
+
showMarker:false,
|
80
|
+
tooltipAxes: 'xy',
|
81
|
+
yvalues: 4,
|
82
|
+
// You can customize the tooltip format string of the highlighter
|
83
|
+
// to include any arbitrary text or html and use format string
|
84
|
+
// placeholders (%s here) to represent x and y values.
|
85
|
+
formatString:'<table class="jqplot-highlighter"> \
|
86
|
+
<tr><td>date:</td><td>%s</td></tr> \
|
87
|
+
<tr><td>open:</td><td>%s</td></tr> \
|
88
|
+
<tr><td>hi:</td><td>%s</td></tr> \
|
89
|
+
<tr><td>low:</td><td>%s</td></tr> \
|
90
|
+
<tr><td>close:</td><td>%s</td></tr></table>'
|
91
|
+
}
|
92
|
+
});
|
93
|
+
|
94
|
+
});
|
95
|
+
</script>
|
96
|
+
|
97
|
+
<script class="code" language="javascript" type="text/javascript">
|
98
|
+
$(document).ready(function(){
|
99
|
+
var plot2 = $.jqplot('chart2',[ohlc],{
|
100
|
+
seriesDefaults:{yaxis:'y2axis'},
|
101
|
+
axes: {
|
102
|
+
xaxis: {
|
103
|
+
renderer:$.jqplot.DateAxisRenderer,
|
104
|
+
tickOptions:{formatString:'%b %e'},
|
105
|
+
min: "09-01-2008",
|
106
|
+
max: "06-22-2009",
|
107
|
+
tickInterval: "6 weeks",
|
108
|
+
},
|
109
|
+
y2axis: {
|
110
|
+
tickOptions:{formatString:'$%d'}
|
111
|
+
}
|
112
|
+
},
|
113
|
+
// To make a candle stick chart, set the "candleStick" option to true.
|
114
|
+
series: [
|
115
|
+
{
|
116
|
+
renderer:$.jqplot.OHLCRenderer,
|
117
|
+
rendererOptions:{ candleStick:true }
|
118
|
+
}
|
119
|
+
],
|
120
|
+
highlighter: {
|
121
|
+
show: true,
|
122
|
+
showMarker:false,
|
123
|
+
tooltipAxes: 'xy',
|
124
|
+
yvalues: 4,
|
125
|
+
formatString:'<table class="jqplot-highlighter"> \
|
126
|
+
<tr><td>date:</td><td>%s</td></tr> \
|
127
|
+
<tr><td>open:</td><td>%s</td></tr> \
|
128
|
+
<tr><td>hi:</td><td>%s</td></tr> \
|
129
|
+
<tr><td>low:</td><td>%s</td></tr> \
|
130
|
+
<tr><td>close:</td><td>%s</td></tr></table>'
|
131
|
+
}
|
132
|
+
});
|
133
|
+
|
134
|
+
});
|
135
|
+
</script>
|
136
|
+
|
137
|
+
|
138
|
+
<script class="code" language="javascript" type="text/javascript">
|
139
|
+
ohlc = [
|
140
|
+
['06/15/2009 16:00:00', 136.01, 139.5, 134.53, 139.48],
|
141
|
+
['06/08/2009 16:00:00', 143.82, 144.56, 136.04, 136.97],
|
142
|
+
['06/01/2009 16:00:00', 136.47, 146.4, 136, 144.67],
|
143
|
+
['05/26/2009 16:00:00', 124.76, 135.9, 124.55, 135.81],
|
144
|
+
['05/18/2009 16:00:00', 123.73, 129.31, 121.57, 122.5],
|
145
|
+
['05/11/2009 16:00:00', 127.37, 130.96, 119.38, 122.42],
|
146
|
+
['05/04/2009 16:00:00', 128.24, 133.5, 126.26, 129.19],
|
147
|
+
['04/27/2009 16:00:00', 122.9, 127.95, 122.66, 127.24],
|
148
|
+
['04/20/2009 16:00:00', 121.73, 127.2, 118.6, 123.9],
|
149
|
+
['04/13/2009 16:00:00', 120.01, 124.25, 115.76, 123.42],
|
150
|
+
['04/06/2009 16:00:00', 114.94, 120, 113.28, 119.57],
|
151
|
+
['03/30/2009 16:00:00', 104.51, 116.13, 102.61, 115.99],
|
152
|
+
['03/23/2009 16:00:00', 102.71, 109.98, 101.75, 106.85],
|
153
|
+
['03/16/2009 16:00:00', 96.53, 103.48, 94.18, 101.59],
|
154
|
+
['03/09/2009 16:00:00', 84.18, 97.2, 82.57, 95.93],
|
155
|
+
['03/02/2009 16:00:00', 88.12, 92.77, 82.33, 85.3],
|
156
|
+
['02/23/2009 16:00:00', 91.65, 92.92, 86.51, 89.31],
|
157
|
+
['02/17/2009 16:00:00', 96.87, 97.04, 89, 91.2],
|
158
|
+
['02/09/2009 16:00:00', 100, 103, 95.77, 99.16],
|
159
|
+
['02/02/2009 16:00:00', 89.1, 100, 88.9, 99.72],
|
160
|
+
['01/26/2009 16:00:00', 88.86, 95, 88.3, 90.13],
|
161
|
+
['01/20/2009 16:00:00', 81.93, 90, 78.2, 88.36],
|
162
|
+
['01/12/2009 16:00:00', 90.46, 90.99, 80.05, 82.33],
|
163
|
+
['01/05/2009 16:00:00', 93.17, 97.17, 90.04, 90.58],
|
164
|
+
['12/29/2008 16:00:00', 86.52, 91.04, 84.72, 90.75],
|
165
|
+
['12/22/2008 16:00:00', 90.02, 90.03, 84.55, 85.81],
|
166
|
+
['12/15/2008 16:00:00', 95.99, 96.48, 88.02, 90],
|
167
|
+
['12/08/2008 16:00:00', 97.28, 103.6, 92.53, 98.27],
|
168
|
+
['12/01/2008 16:00:00', 91.3, 96.23, 86.5, 94],
|
169
|
+
['11/24/2008 16:00:00', 85.21, 95.25, 84.84, 92.67],
|
170
|
+
['11/17/2008 16:00:00', 88.48, 91.58, 79.14, 82.58],
|
171
|
+
['11/10/2008 16:00:00', 100.17, 100.4, 86.02, 90.24],
|
172
|
+
['11/03/2008 16:00:00', 105.93, 111.79, 95.72, 98.24],
|
173
|
+
['10/27/2008 16:00:00', 95.07, 112.19, 91.86, 107.59],
|
174
|
+
['10/20/2008 16:00:00', 99.78, 101.25, 90.11, 96.38],
|
175
|
+
['10/13/2008 16:00:00', 104.55, 116.4, 85.89, 97.4],
|
176
|
+
['10/06/2008 16:00:00', 91.96, 101.5, 85, 96.8],
|
177
|
+
['09/29/2008 16:00:00', 119.62, 119.68, 94.65, 97.07],
|
178
|
+
['09/22/2008 16:00:00', 139.94, 140.25, 123, 128.24],
|
179
|
+
['09/15/2008 16:00:00', 142.03, 147.69, 120.68, 140.91]
|
180
|
+
];
|
181
|
+
</script>
|
182
|
+
|
183
|
+
<!-- End example scripts -->
|
184
|
+
|
185
|
+
<!-- Don't touch this! -->
|
186
|
+
|
187
|
+
|
188
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
189
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
190
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
191
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
192
|
+
<!-- End Don't touch this! -->
|
193
|
+
|
194
|
+
<!-- Additional plugins go here -->
|
195
|
+
|
196
|
+
<script class="include" language="javascript" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.min.js"></script>
|
197
|
+
<script class="include" language="javascript" type="text/javascript" src="../plugins/jqplot.ohlcRenderer.min.js"></script>
|
198
|
+
<script class="include" language="javascript" type="text/javascript" src="../plugins/jqplot.highlighter.min.js"></script>
|
199
|
+
|
200
|
+
<!-- End additional plugins -->
|
201
|
+
|
202
|
+
|
203
|
+
</div>
|
204
|
+
<script type="text/javascript" src="example.min.js"></script>
|
205
|
+
|
206
|
+
</body>
|
207
|
+
|
208
|
+
|
209
|
+
</html>
|
@@ -0,0 +1,322 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Candlestick and Open Hi Low Close 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="candlestick-charts.html">Previous</a> <a href="./">Examples</a> <a href="cursor-highlighter.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
<div id="chart1" class="code" style="margin:20px;height:240px; width:640px;"></div>
|
37
|
+
<pre class="code brush:js"></pre>
|
38
|
+
<div id="chart2" class="code" style="margin:20px;height:240px; width:640px;"></div>
|
39
|
+
<pre class="code brush:js"></pre>
|
40
|
+
<div id="chart2b" class="code" style="margin:20px;height:240px; width:640px;"></div>
|
41
|
+
<pre class="code brush:js"></pre>
|
42
|
+
<div id="chart3" class="code" style="margin:20px;height:240px; width:640px;"></div>
|
43
|
+
<pre class="code brush:js"></pre>
|
44
|
+
<div id="chart4" class="code" style="margin:20px;height:320px; width:500px;"></div>
|
45
|
+
<pre class="code brush:js"></pre>
|
46
|
+
<p>The examples on this page use the folowing code:</p>
|
47
|
+
<pre class="common brush:js"></pre>
|
48
|
+
|
49
|
+
<script class="common" type="text/javascript">
|
50
|
+
|
51
|
+
ohlc = [['07/06/2009', 138.7, 139.68, 135.18, 135.4],
|
52
|
+
['06/29/2009', 143.46, 144.66, 139.79, 140.02],
|
53
|
+
['06/22/2009', 140.67, 143.56, 132.88, 142.44],
|
54
|
+
['06/15/2009', 136.01, 139.5, 134.53, 139.48],
|
55
|
+
['06/08/2009', 143.82, 144.56, 136.04, 136.97],
|
56
|
+
['06/01/2009', 136.47, 146.4, 136, 144.67],
|
57
|
+
['05/26/2009', 124.76, 135.9, 124.55, 135.81],
|
58
|
+
['05/18/2009', 123.73, 129.31, 121.57, 122.5],
|
59
|
+
['05/11/2009', 127.37, 130.96, 119.38, 122.42],
|
60
|
+
['05/04/2009', 128.24, 133.5, 126.26, 129.19],
|
61
|
+
['04/27/2009', 122.9, 127.95, 122.66, 127.24],
|
62
|
+
['04/20/2009', 121.73, 127.2, 118.6, 123.9],
|
63
|
+
['04/13/2009', 120.01, 124.25, 115.76, 123.42],
|
64
|
+
['04/06/2009', 114.94, 120, 113.28, 119.57],
|
65
|
+
['03/30/2009', 104.51, 116.13, 102.61, 115.99],
|
66
|
+
['03/23/2009', 102.71, 109.98, 101.75, 106.85],
|
67
|
+
['03/16/2009', 96.53, 103.48, 94.18, 101.59],
|
68
|
+
['03/09/2009', 84.18, 97.2, 82.57, 95.93],
|
69
|
+
['03/02/2009', 88.12, 92.77, 82.33, 85.3],
|
70
|
+
['02/23/2009', 91.65, 92.92, 86.51, 89.31],
|
71
|
+
['02/17/2009', 96.87, 97.04, 89, 91.2],
|
72
|
+
['02/09/2009', 100, 103, 95.77, 99.16],
|
73
|
+
['02/02/2009', 89.1, 100, 88.9, 99.72],
|
74
|
+
['01/26/2009', 88.86, 95, 88.3, 90.13],
|
75
|
+
['01/20/2009', 81.93, 90, 78.2, 88.36],
|
76
|
+
['01/12/2009', 90.46, 90.99, 80.05, 82.33],
|
77
|
+
['01/05/2009', 93.17, 97.17, 90.04, 90.58],
|
78
|
+
['12/29/2008', 86.52, 91.04, 84.72, 90.75],
|
79
|
+
['12/22/2008', 90.02, 90.03, 84.55, 85.81],
|
80
|
+
['12/15/2008', 95.99, 96.48, 88.02, 90],
|
81
|
+
['12/08/2008', 97.28, 103.6, 92.53, 98.27],
|
82
|
+
['12/01/2008', 91.3, 96.23, 86.5, 94],
|
83
|
+
['11/24/2008', 85.21, 95.25, 84.84, 92.67],
|
84
|
+
['11/17/2008', 88.48, 91.58, 79.14, 82.58],
|
85
|
+
['11/10/2008', 100.17, 100.4, 86.02, 90.24],
|
86
|
+
['11/03/2008', 105.93, 111.79, 95.72, 98.24],
|
87
|
+
['10/27/2008', 95.07, 112.19, 91.86, 107.59],
|
88
|
+
['10/20/2008', 99.78, 101.25, 90.11, 96.38],
|
89
|
+
['10/13/2008', 104.55, 116.4, 85.89, 97.4],
|
90
|
+
['10/06/2008', 91.96, 101.5, 85, 96.8],
|
91
|
+
['09/29/2008', 119.62, 119.68, 94.65, 97.07],
|
92
|
+
['09/22/2008', 139.94, 140.25, 123, 128.24],
|
93
|
+
['09/15/2008', 142.03, 147.69, 120.68, 140.91],
|
94
|
+
['09/08/2008', 164.57, 164.89, 146, 148.94]
|
95
|
+
];
|
96
|
+
|
97
|
+
ohlc_b = [['07/06/2009', 138.7, 139.68, 135.18, 135.4, 'j'],
|
98
|
+
['06/29/2009', 143.46, 144.66, 139.79, 140.02, 'q'],
|
99
|
+
['06/22/2009', 140.67, 143.56, 132.88, 142.44, 'p'],
|
100
|
+
['06/15/2009', 136.01, 139.5, 134.53, 139.48, 'l'],
|
101
|
+
['06/08/2009', 143.82, 144.56, 136.04, 136.97, 'o'],
|
102
|
+
['06/01/2009', 136.47, 146.4, 136, 144.67, 't'],
|
103
|
+
['05/26/2009', 124.76, 135.9, 124.55, 135.81, '_'],
|
104
|
+
['05/18/2009', 123.73, 129.31, 121.57, 122.5, 'c'],
|
105
|
+
['05/11/2009', 127.37, 130.96, 119.38, 122.42, 'h'],
|
106
|
+
['05/04/2009', 128.24, 133.5, 126.26, 129.19, 'a'],
|
107
|
+
['04/27/2009', 122.9, 127.95, 122.66, 127.24, 'r'],
|
108
|
+
['04/20/2009', 121.73, 127.2, 118.6, 123.9, 't'],
|
109
|
+
['04/13/2009', 120.01, 124.25, 115.76, 123.42, 's']
|
110
|
+
];
|
111
|
+
|
112
|
+
hlc = [['07/06/2009', 139.68, 135.18, 135.4],
|
113
|
+
['06/29/2009', 144.66, 139.79, 140.02],
|
114
|
+
['06/22/2009', 143.56, 132.88, 142.44],
|
115
|
+
['06/15/2009', 139.5, 134.53, 139.48],
|
116
|
+
['06/08/2009', 144.56, 136.04, 136.97],
|
117
|
+
['06/01/2009', 146.4, 136, 144.67],
|
118
|
+
['05/26/2009', 135.9, 124.55, 135.81],
|
119
|
+
['05/18/2009', 129.31, 121.57, 122.5],
|
120
|
+
['05/11/2009', 130.96, 119.38, 122.42],
|
121
|
+
['05/04/2009', 133.5, 126.26, 129.19],
|
122
|
+
['04/27/2009', 127.95, 122.66, 127.24],
|
123
|
+
['04/20/2009', 127.2, 118.6, 123.9],
|
124
|
+
['04/13/2009', 124.25, 115.76, 123.42],
|
125
|
+
['04/06/2009', 120, 113.28, 119.57],
|
126
|
+
['03/30/2009', 116.13, 102.61, 115.99],
|
127
|
+
['03/23/2009', 109.98, 101.75, 106.85],
|
128
|
+
['03/16/2009', 103.48, 94.18, 101.59],
|
129
|
+
['03/09/2009', 97.2, 82.57, 95.93],
|
130
|
+
['03/02/2009', 92.77, 82.33, 85.3],
|
131
|
+
['02/23/2009', 92.92, 86.51, 89.31],
|
132
|
+
['02/17/2009', 97.04, 89, 91.2],
|
133
|
+
['02/09/2009', 103, 95.77, 99.16],
|
134
|
+
['02/02/2009', 100, 88.9, 99.72],
|
135
|
+
['01/26/2009', 95, 88.3, 90.13],
|
136
|
+
['01/20/2009', 90, 78.2, 88.36],
|
137
|
+
['01/12/2009', 90.99, 80.05, 82.33],
|
138
|
+
['01/05/2009', 97.17, 90.04, 90.58],
|
139
|
+
['12/29/2008', 91.04, 84.72, 90.75],
|
140
|
+
['12/22/2008', 90.03, 84.55, 85.81],
|
141
|
+
['12/15/2008', 96.48, 88.02, 90],
|
142
|
+
['12/08/2008', 103.6, 92.53, 98.27],
|
143
|
+
['12/01/2008', 96.23, 86.5, 94],
|
144
|
+
['11/24/2008', 95.25, 84.84, 92.67],
|
145
|
+
['11/17/2008', 91.58, 79.14, 82.58],
|
146
|
+
['11/10/2008', 100.4, 86.02, 90.24],
|
147
|
+
['11/03/2008', 111.79, 95.72, 98.24],
|
148
|
+
['10/27/2008', 112.19, 91.86, 107.59],
|
149
|
+
['10/20/2008', 101.25, 90.11, 96.38],
|
150
|
+
['10/13/2008', 116.4, 85.89, 97.4],
|
151
|
+
['10/06/2008', 101.5, 85, 96.8],
|
152
|
+
['09/29/2008', 119.68, 94.65, 97.07],
|
153
|
+
['09/22/2008', 140.25, 123, 128.24],
|
154
|
+
['09/15/2008', 147.69, 120.68, 140.91],
|
155
|
+
['09/08/2008', 164.89, 146, 148.94]
|
156
|
+
];
|
157
|
+
|
158
|
+
</script>
|
159
|
+
|
160
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
161
|
+
$.jqplot.config.enablePlugins = true;
|
162
|
+
plot1 = $.jqplot('chart1',[ohlc],{
|
163
|
+
title: 'Chart',
|
164
|
+
axesDefaults:{},
|
165
|
+
axes: {
|
166
|
+
xaxis: {
|
167
|
+
renderer:$.jqplot.DateAxisRenderer
|
168
|
+
},
|
169
|
+
yaxis: {
|
170
|
+
tickOptions:{ prefix: '$' }
|
171
|
+
}
|
172
|
+
},
|
173
|
+
series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{}}],
|
174
|
+
cursor:{
|
175
|
+
zoom:true,
|
176
|
+
tooltipOffset: 10,
|
177
|
+
tooltipLocation: 'nw'
|
178
|
+
}
|
179
|
+
});
|
180
|
+
});</script>
|
181
|
+
|
182
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
183
|
+
plot2 = $.jqplot('chart2',[ohlc],{
|
184
|
+
title: 'Chart',
|
185
|
+
axesDefaults:{},
|
186
|
+
axes: {
|
187
|
+
xaxis: {
|
188
|
+
renderer:$.jqplot.DateAxisRenderer
|
189
|
+
},
|
190
|
+
yaxis: {
|
191
|
+
tickOptions:{ prefix: '$' }
|
192
|
+
}
|
193
|
+
},
|
194
|
+
series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{candleStick:true}}],
|
195
|
+
cursor:{
|
196
|
+
zoom:true,
|
197
|
+
tooltipOffset: 10,
|
198
|
+
tooltipLocation: 'nw'
|
199
|
+
},
|
200
|
+
highlighter: {
|
201
|
+
showMarker:false,
|
202
|
+
tooltipAxes: 'xy',
|
203
|
+
yvalues: 4,
|
204
|
+
formatString:'<table class="jqplot-highlighter"> \
|
205
|
+
<tr><td>date:</td><td>%s</td></tr> \
|
206
|
+
<tr><td>open:</td><td>%s</td></tr> \
|
207
|
+
<tr><td>hi:</td><td>%s</td></tr> \
|
208
|
+
<tr><td>low:</td><td>%s</td></tr> \
|
209
|
+
<tr><td>close:</td><td>%s</td></tr></table>'
|
210
|
+
}
|
211
|
+
});
|
212
|
+
});</script>
|
213
|
+
|
214
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
215
|
+
plot2b = $.jqplot('chart2b',[ohlc_b],{
|
216
|
+
title: 'Chart',
|
217
|
+
axesDefaults:{},
|
218
|
+
axes: {
|
219
|
+
xaxis: {
|
220
|
+
renderer:$.jqplot.DateAxisRenderer
|
221
|
+
},
|
222
|
+
yaxis: {
|
223
|
+
tickOptions:{ prefix: '$' }
|
224
|
+
}
|
225
|
+
},
|
226
|
+
series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{candleStick:true}}],
|
227
|
+
cursor:{
|
228
|
+
zoom:false,
|
229
|
+
tooltipOffset: 10,
|
230
|
+
tooltipLocation: 'nw'
|
231
|
+
},
|
232
|
+
highlighter: {
|
233
|
+
showMarker:false,
|
234
|
+
tooltipAxes: 'xy',
|
235
|
+
yvalues: 5,
|
236
|
+
formatString:'<table class="jqplot-highlighter"> \
|
237
|
+
<tr><td>date:</td><td>%s</td></tr> \
|
238
|
+
<tr><td>open:</td><td>%s</td></tr> \
|
239
|
+
<tr><td>hi:</td><td>%s</td></tr> \
|
240
|
+
<tr><td>low:</td><td>%s</td></tr> \
|
241
|
+
<tr><td>close:</td><td>%s</td></tr> \
|
242
|
+
<tr><td>letter:</td><td>%s</td></tr></table>'
|
243
|
+
}
|
244
|
+
});
|
245
|
+
});</script>
|
246
|
+
|
247
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
248
|
+
plot3 = $.jqplot('chart3',[hlc],{
|
249
|
+
title: 'Chart',
|
250
|
+
axesDefaults:{},
|
251
|
+
axes: {
|
252
|
+
xaxis: {
|
253
|
+
renderer:$.jqplot.DateAxisRenderer
|
254
|
+
},
|
255
|
+
yaxis: {
|
256
|
+
tickOptions:{ prefix: '$' }
|
257
|
+
}
|
258
|
+
},
|
259
|
+
series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{}}],
|
260
|
+
cursor:{
|
261
|
+
zoom:true,
|
262
|
+
tooltipOffset: 10,
|
263
|
+
tooltipLocation: 'nw'
|
264
|
+
}
|
265
|
+
});
|
266
|
+
});</script>
|
267
|
+
|
268
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
269
|
+
var catOHLC = [[1, 138.7, 139.68, 135.18, 135.4],
|
270
|
+
[2, 143.46, 144.66, 139.79, 140.02],
|
271
|
+
[3, 140.67, 143.56, 132.88, 142.44],
|
272
|
+
[4, 136.01, 139.5, 134.53, 139.48],
|
273
|
+
[5, 143.82, 144.56, 136.04, 136.97],
|
274
|
+
[6, 136.47, 146.4, 136, 144.67],
|
275
|
+
[7, 124.76, 135.9, 124.55, 135.81],
|
276
|
+
[8, 123.73, 129.31, 121.57, 122.5]];
|
277
|
+
|
278
|
+
var ticks = ['Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun', 'Mon', 'Tue'];
|
279
|
+
|
280
|
+
plot4 = $.jqplot('chart4',[catOHLC],{
|
281
|
+
axes: {
|
282
|
+
xaxis: {
|
283
|
+
renderer:$.jqplot.CategoryAxisRenderer,
|
284
|
+
ticks:ticks
|
285
|
+
},
|
286
|
+
yaxis: {
|
287
|
+
tickOptions:{ prefix: '$' }
|
288
|
+
}
|
289
|
+
},
|
290
|
+
series: [{renderer:$.jqplot.OHLCRenderer, rendererOptions:{candleStick:true}}]
|
291
|
+
});
|
292
|
+
});</script>
|
293
|
+
|
294
|
+
<!-- End example scripts -->
|
295
|
+
|
296
|
+
<!-- Don't touch this! -->
|
297
|
+
|
298
|
+
|
299
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
300
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
301
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
302
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
303
|
+
<!-- End Don't touch this! -->
|
304
|
+
|
305
|
+
<!-- Additional plugins go here -->
|
306
|
+
|
307
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.min.js"></script>
|
308
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.min.js"></script>
|
309
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.ohlcRenderer.min.js"></script>
|
310
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.highlighter.min.js"></script>
|
311
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.cursor.min.js"></script>
|
312
|
+
|
313
|
+
<!-- End additional plugins -->
|
314
|
+
|
315
|
+
|
316
|
+
</div>
|
317
|
+
<script type="text/javascript" src="example.min.js"></script>
|
318
|
+
|
319
|
+
</body>
|
320
|
+
|
321
|
+
|
322
|
+
</html>
|
@@ -0,0 +1,137 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Data Point Highlighting, Tooltips and Cursor Tracking</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="candlestick.html">Previous</a> <a href="./">Examples</a> <a href="customHighlighterCursorTrendline.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
<p>The Highlighter plugin will highlight data points near the mouse and display an optional tooltip with the data point value. By default, the tooltip values will be formatted with the same formatter as used to display the axes tick values. The text format can be customized with an optional sprintf style format string.</p>
|
37
|
+
|
38
|
+
<div id="chart1" style="height:300px; width:600px;"></div>
|
39
|
+
|
40
|
+
<pre class="code prettyprint brush: js"></pre>
|
41
|
+
|
42
|
+
<p>The Cursor plugin changes the mouse cursor when it enters the graph area and displays an optional tooltip with the mouse position. The tooltip can be in a fixed location, or it can follow the mouse. The pointer style, set to "crosshair" by default, can also be customized. Tooltip values are formatted similar to the Highlighter plugin. By default they use the axes formatters, but can be customized with a sprintf format string.</p>
|
43
|
+
|
44
|
+
<div id="chart2" style="height:300px; width:600px;"></div>
|
45
|
+
|
46
|
+
<pre class="code prettyprint brush: js"></pre>
|
47
|
+
|
48
|
+
<script class="code" type="text/javascript">
|
49
|
+
$(document).ready(function(){
|
50
|
+
var line1=[['23-May-08', 578.55], ['20-Jun-08', 566.5], ['25-Jul-08', 480.88], ['22-Aug-08', 509.84],
|
51
|
+
['26-Sep-08', 454.13], ['24-Oct-08', 379.75], ['21-Nov-08', 303], ['26-Dec-08', 308.56],
|
52
|
+
['23-Jan-09', 299.14], ['20-Feb-09', 346.51], ['20-Mar-09', 325.99], ['24-Apr-09', 386.15]];
|
53
|
+
var plot1 = $.jqplot('chart1', [line1], {
|
54
|
+
title:'Data Point Highlighting',
|
55
|
+
axes:{
|
56
|
+
xaxis:{
|
57
|
+
renderer:$.jqplot.DateAxisRenderer,
|
58
|
+
tickOptions:{
|
59
|
+
formatString:'%b %#d'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
yaxis:{
|
63
|
+
tickOptions:{
|
64
|
+
formatString:'$%.2f'
|
65
|
+
}
|
66
|
+
}
|
67
|
+
},
|
68
|
+
highlighter: {
|
69
|
+
show: true,
|
70
|
+
sizeAdjust: 7.5
|
71
|
+
},
|
72
|
+
cursor: {
|
73
|
+
show: false
|
74
|
+
}
|
75
|
+
});
|
76
|
+
});
|
77
|
+
</script>
|
78
|
+
|
79
|
+
<script class="code" type="text/javascript">
|
80
|
+
$(document).ready(function(){
|
81
|
+
var line1=[['23-May-08', 578.55], ['20-Jun-08', 566.5], ['25-Jul-08', 480.88], ['22-Aug-08', 509.84],
|
82
|
+
['26-Sep-08', 454.13], ['24-Oct-08', 379.75], ['21-Nov-08', 303], ['26-Dec-08', 308.56],
|
83
|
+
['23-Jan-09', 299.14], ['20-Feb-09', 346.51], ['20-Mar-09', 325.99], ['24-Apr-09', 386.15]];
|
84
|
+
var plot2 = $.jqplot('chart2', [line1], {
|
85
|
+
title:'Mouse Cursor Tracking',
|
86
|
+
axes:{
|
87
|
+
xaxis:{
|
88
|
+
renderer:$.jqplot.DateAxisRenderer,
|
89
|
+
tickOptions:{
|
90
|
+
formatString:'%b %#d'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
yaxis:{
|
94
|
+
tickOptions:{
|
95
|
+
formatString:'$%.2f'
|
96
|
+
}
|
97
|
+
}
|
98
|
+
},
|
99
|
+
highlighter: {
|
100
|
+
show: false
|
101
|
+
},
|
102
|
+
cursor: {
|
103
|
+
show: true,
|
104
|
+
tooltipLocation:'sw'
|
105
|
+
}
|
106
|
+
});
|
107
|
+
});
|
108
|
+
</script>
|
109
|
+
|
110
|
+
|
111
|
+
<!-- End example scripts -->
|
112
|
+
|
113
|
+
<!-- Don't touch this! -->
|
114
|
+
|
115
|
+
|
116
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
117
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
118
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
119
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
120
|
+
<!-- End Don't touch this! -->
|
121
|
+
|
122
|
+
<!-- Additional plugins go here -->
|
123
|
+
|
124
|
+
<script class="include" language="javascript" type="text/javascript" src="../plugins/jqplot.highlighter.min.js"></script>
|
125
|
+
<script class="include" language="javascript" type="text/javascript" src="../plugins/jqplot.cursor.min.js"></script>
|
126
|
+
<script class="include" language="javascript" type="text/javascript" src="../plugins/jqplot.dateAxisRenderer.min.js"></script>
|
127
|
+
|
128
|
+
<!-- End additional plugins -->
|
129
|
+
|
130
|
+
|
131
|
+
</div>
|
132
|
+
<script type="text/javascript" src="example.min.js"></script>
|
133
|
+
|
134
|
+
</body>
|
135
|
+
|
136
|
+
|
137
|
+
</html>
|