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,519 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Chart Theming</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="smoothedLine.html">Previous</a> <a href="./">Examples</a> <a href="waterfall.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
<style type="text/css">
|
37
|
+
.jqplot-target {
|
38
|
+
margin: 30px;
|
39
|
+
}
|
40
|
+
</style>
|
41
|
+
|
42
|
+
<p>jqPlot has basic theming support for commonly styled atributes of plot elements. Upon creation, each plot will have a "themeEngine" that controls modificaition, adding, removing and activating of plot themes. In addition, each plot will have a "Default" theme which corresponds to the styling of the plot at plot creation.<p>
|
43
|
+
|
44
|
+
<p>Creation of new themes is easy. A "style" object is created with properties for the various plot elements to be styles. Attached to each of those is an ojbect with the actual styling properties. A simple style object might look like:</p>
|
45
|
+
|
46
|
+
<pre>
|
47
|
+
gabe = {
|
48
|
+
series: [
|
49
|
+
{color: 'rgba(216, 159, 60, 0.4)'},
|
50
|
+
{color: 'rgba(159, 216, 60, 0.4)'},
|
51
|
+
{color: 'rgba(60, 159, 216, 0.4)'},
|
52
|
+
],
|
53
|
+
grid: {
|
54
|
+
backgroundColor: '#DEA493'
|
55
|
+
}
|
56
|
+
}
|
57
|
+
</pre>
|
58
|
+
|
59
|
+
<p>This new style would then be added to the plot's themeEngine as a new theme. it can then be activated by calling the plot's <code>activateTheme</code> method.</p>
|
60
|
+
<pre>
|
61
|
+
plot1b.themeEngine.newTheme('gabe', gabe);
|
62
|
+
plot1b.activateTheme('gabe');
|
63
|
+
</pre>
|
64
|
+
|
65
|
+
<div id="chart1b" class="plot" style="width:400px;height:260px;"></div>
|
66
|
+
<p>Select Theme for area plot:
|
67
|
+
<select id="p1bswitcher" onchange="switch1b();">
|
68
|
+
<option value="Default" selected>Default</option>
|
69
|
+
<option value="gabe">gabe</option>
|
70
|
+
</select>
|
71
|
+
</p>
|
72
|
+
|
73
|
+
<p>Themes can be reused between plots. Here a style object is created and assigned to two different plots. For convenience, the theme is given the same name when added to each plot's themeEngine. Since each plot keeps it's own copy of the theme, the names do not need to be the same. Also note that themes are added as deep copies by value and not by reference. This avoids strange behavior due to the cascading nature of css related styles.</p>
|
74
|
+
|
75
|
+
<pre>
|
76
|
+
temp = {
|
77
|
+
seriesStyles: {
|
78
|
+
seriesColors: ['red', 'orange', 'yellow', 'green', 'blue', 'indigo'],
|
79
|
+
highlightColors: ['lightpink', 'lightsalmon', 'lightyellow', 'lightgreen', 'lightblue', 'mediumslateblue']
|
80
|
+
},
|
81
|
+
legend: {
|
82
|
+
fontSize: '8pt'
|
83
|
+
},
|
84
|
+
title: {
|
85
|
+
fontSize: '18pt'
|
86
|
+
},
|
87
|
+
grid: {
|
88
|
+
backgroundColor: 'rgb(211, 233, 195)'
|
89
|
+
}
|
90
|
+
};
|
91
|
+
|
92
|
+
plot3.themeEngine.newTheme('uma', temp);
|
93
|
+
plot5.themeEngine.newTheme('uma', temp);
|
94
|
+
</pre>
|
95
|
+
|
96
|
+
<p>Select Theme for funnel and pie charts at same time:
|
97
|
+
<select id="p35switcher" onchange="switch35();">
|
98
|
+
<option value="Default" selected>Default</option>
|
99
|
+
<option value="uma">uma</option>
|
100
|
+
</select>
|
101
|
+
</p>
|
102
|
+
|
103
|
+
<div id="chart3" class="plot" style="width:400px;height:320px;"></div>
|
104
|
+
|
105
|
+
<p>Select Theme for funnel plot:
|
106
|
+
<select id="p3switcher" onchange="switch3();">
|
107
|
+
<option value="Default" selected>Default</option>
|
108
|
+
<option value="uma">uma</option>
|
109
|
+
</select>
|
110
|
+
</p>
|
111
|
+
|
112
|
+
<div id="chart5" class="plot" style="width:400px;height:260px;"></div>
|
113
|
+
|
114
|
+
<p>Select Theme for pie chart:
|
115
|
+
<select id="p5switcher" onchange="switch5();">
|
116
|
+
<option value="Default" selected>Default</option>
|
117
|
+
<option value="uma">uma</option>
|
118
|
+
</select>
|
119
|
+
</p>
|
120
|
+
|
121
|
+
<p>There are various was to create and edit themes for a plot. Below are two different methods for creating additional themes for a line plot and adding them to the plots themeEngine. Here the <code>axesStyles</code> property is used to supply styling to all axes at one time. A similar property, <code>seriesStyles</code>, exists for styling all series of a plot at one time. Note, neither of these methods is as straightforward as using the <code>newTheme()</code> method of the plots themeEngine, but are included for illustrative purposes.</p>
|
122
|
+
|
123
|
+
<pre>
|
124
|
+
e1 = plot1.themeEngine;
|
125
|
+
brass = e1.copy('Default', 'brass');
|
126
|
+
brass.title.fontFamily = 'Copperplate, Impact';
|
127
|
+
brass.grid.backgroundColor = "rgb(216, 198, 114)";
|
128
|
+
brass.grid.drawGridlines = false;
|
129
|
+
brass.series[0].lineWidth = 6.5;
|
130
|
+
brass.series[0].markerOptions.show = false;
|
131
|
+
brass.axesStyles.label.fontFamily = "Copperplate, 'Copperplate Gothic Light', Impact";
|
132
|
+
brass.axesStyles.ticks.fontFamily = "Copperplate, 'Copperplate Gothic Light', Impact";
|
133
|
+
brass.axesStyles.label.fontSize = '14pt';
|
134
|
+
|
135
|
+
temp = {
|
136
|
+
grid: {
|
137
|
+
backgroundColor: "#593D2B",
|
138
|
+
gridLineColor: '#E8E8E8',
|
139
|
+
gridLineWidth: 3
|
140
|
+
},
|
141
|
+
title: {
|
142
|
+
fontFamily: '"Comic Sans MS", cursive',
|
143
|
+
fontSize: '18pt',
|
144
|
+
textColor: '#C7CC4E'
|
145
|
+
},
|
146
|
+
seriesStyles: {
|
147
|
+
color: "#DBBCAF",
|
148
|
+
lineWidth: 8,
|
149
|
+
markerOptions: {
|
150
|
+
show: false
|
151
|
+
}
|
152
|
+
},
|
153
|
+
axes: {
|
154
|
+
xaxis: {
|
155
|
+
label: {
|
156
|
+
fontFamily: '"Comic Sans MS", cursive',
|
157
|
+
textColor: '#C7CC4E'
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
};
|
162
|
+
|
163
|
+
chocolate = plot1.themeEngine.copy('Default', 'chocolate', temp);
|
164
|
+
</pre>
|
165
|
+
|
166
|
+
<div id="chart1" class="plot" style="width:400px;height:260px;"></div>
|
167
|
+
|
168
|
+
<p>Select theme for line chart:
|
169
|
+
<select id="p1switcher" onchange="switch1();">
|
170
|
+
<option value="Default" selected>Default</option>
|
171
|
+
<option value="brass">brass</option>
|
172
|
+
<option value="chocolate">chocolate</option>
|
173
|
+
</select>
|
174
|
+
</p>
|
175
|
+
|
176
|
+
<p>The example below shows more extensive use of the various styling options to give the chart a rather ugly and dated appearence. Note that, for bar (and funnel, pie and donut charts), <code>highlightColors</code> can be specified as an array of colors which will be applied to each bar individually, as a single string giving a color to apply to all bars, or as an empty array which will force jqPlot to auto calculate highlight colors based on the current bar color.<p>
|
177
|
+
|
178
|
+
<pre>
|
179
|
+
oldstyle = {
|
180
|
+
title: {
|
181
|
+
fontFamily: 'Times New Roman',
|
182
|
+
textColor: 'black'
|
183
|
+
},
|
184
|
+
axesStyles: {
|
185
|
+
borderWidth: 0,
|
186
|
+
ticks: {
|
187
|
+
fontSize: '12pt',
|
188
|
+
fontFamily: 'Times New Roman',
|
189
|
+
textColor: 'black'
|
190
|
+
},
|
191
|
+
label: {
|
192
|
+
fontFamily: 'Times New Roman',
|
193
|
+
textColor: 'black'
|
194
|
+
}
|
195
|
+
},
|
196
|
+
grid: {
|
197
|
+
backgroundColor: 'white',
|
198
|
+
borderWidth: 0,
|
199
|
+
gridLineColor: 'black',
|
200
|
+
gridLineWidth: 2,
|
201
|
+
borderColor: 'black'
|
202
|
+
},
|
203
|
+
series: [
|
204
|
+
{color: 'red', highlightColors: ['aqua', 'black', 'blue', 'fuchsia', 'gray', 'green', 'lime', 'maroon', 'navy', 'olive', 'purple', 'red', 'silver', 'teal', 'white', 'yellow']},
|
205
|
+
{color: 'green', highlightColors: []},
|
206
|
+
{color: 'blue', highlightColors: []},
|
207
|
+
{color: 'yellow', highlightColors: 'rgb(255, 245, 185)'}
|
208
|
+
],
|
209
|
+
legend: {
|
210
|
+
background: 'white',
|
211
|
+
textColor: 'black',
|
212
|
+
fontFamily: 'Times New Roman',
|
213
|
+
border: '1px solid black'
|
214
|
+
}
|
215
|
+
};
|
216
|
+
|
217
|
+
plot2.themeEngine.newTheme('oldstyle', oldstyle);
|
218
|
+
</pre>
|
219
|
+
|
220
|
+
<div id="chart2" class="plot" style="width:760px;height:360px;"></div>
|
221
|
+
|
222
|
+
<p>Select theme for bar chart:
|
223
|
+
<select id="p2switcher" onchange="switch2();">
|
224
|
+
<option value="Default" selected>Default</option>
|
225
|
+
<option value="oldstyle">oldstyle</option>
|
226
|
+
</select>
|
227
|
+
</p>
|
228
|
+
|
229
|
+
|
230
|
+
</div>
|
231
|
+
|
232
|
+
|
233
|
+
<script language="javascript" type="text/javascript">
|
234
|
+
$(document).ready(function(){
|
235
|
+
|
236
|
+
l1 = [['Seoul', 1], ['Paris', 7], ['Singapore',3], ['Hong Kong',5], ['Chicago', 2], ['New York', 9]];
|
237
|
+
l2 = [11, 9, 5, 12, 14];
|
238
|
+
l3 = [4, 8, 5, 3, 6];
|
239
|
+
l4 = [12, 6, 13, 11, 2];
|
240
|
+
l5 = [4, -3, 3, 6, 2, -2];
|
241
|
+
|
242
|
+
pop1980 = [7071639, 2968528, 3005072, 1595138, 789704, 1688210, 785940, 904599];
|
243
|
+
pop1990 = [7322564, 3485398, 2783726, 1630553, 983403, 1585577, 935933, 1006877];
|
244
|
+
pop2000 = [8008654, 3694644, 2896051, 1974152, 1322025, 1517550, 1160005, 1188603];
|
245
|
+
pop2008 = [8363710, 3833995, 2853114, 2242193, 1567924, 1447395, 1351305, 1279910];
|
246
|
+
|
247
|
+
ticks = ["New York", "Los Angeles", "Chicago", "Houston", "Phoenix", "Philadelphia", "San Antonio", "Dallas"];
|
248
|
+
|
249
|
+
plot1 = $.jqplot('chart1',[l2],{
|
250
|
+
title: 'Line Chart',
|
251
|
+
highlighter: {
|
252
|
+
show:true
|
253
|
+
},
|
254
|
+
cursor: {
|
255
|
+
show: true,
|
256
|
+
zoom: true
|
257
|
+
},
|
258
|
+
axes: {
|
259
|
+
xaxis: {
|
260
|
+
label: 'Sample'
|
261
|
+
}
|
262
|
+
}
|
263
|
+
});
|
264
|
+
|
265
|
+
plot1b = $.jqplot('chart1b',[l2, l3, l4],{
|
266
|
+
stackSeries: true,
|
267
|
+
showMarker: false,
|
268
|
+
seriesDefaults: {
|
269
|
+
fill: true
|
270
|
+
}
|
271
|
+
});
|
272
|
+
|
273
|
+
plot2 = $.jqplot('chart2',[pop1980, pop1990, pop2000, pop2008],{
|
274
|
+
title: 'City Population',
|
275
|
+
legend: {
|
276
|
+
show: true
|
277
|
+
},
|
278
|
+
seriesDefaults: {
|
279
|
+
renderer: $.jqplot.BarRenderer,
|
280
|
+
rendererOptions: {
|
281
|
+
barPadding: 2
|
282
|
+
}
|
283
|
+
},
|
284
|
+
series: [
|
285
|
+
{label: '1980'},
|
286
|
+
{label: '1990'},
|
287
|
+
{label: '2000'},
|
288
|
+
{label: '2008 (est)'}
|
289
|
+
],
|
290
|
+
axes: {
|
291
|
+
xaxis: {
|
292
|
+
label: 'City',
|
293
|
+
renderer: $.jqplot.CategoryAxisRenderer,
|
294
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
295
|
+
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
|
296
|
+
ticks: ticks,
|
297
|
+
tickOptions: {
|
298
|
+
angle: -30
|
299
|
+
}
|
300
|
+
},
|
301
|
+
yaxis: {
|
302
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
303
|
+
max: 9000000,
|
304
|
+
min: 0,
|
305
|
+
tickOptions: {
|
306
|
+
formatString: '%d',
|
307
|
+
angle: -30
|
308
|
+
}
|
309
|
+
}
|
310
|
+
}
|
311
|
+
});
|
312
|
+
|
313
|
+
plot3 = $.jqplot('chart3',[l1],{
|
314
|
+
title: 'Global City Index',
|
315
|
+
legend: {
|
316
|
+
show: true,
|
317
|
+
rendererOptions: {
|
318
|
+
// numberColumns: 2,
|
319
|
+
fontSize: '10pt'
|
320
|
+
}
|
321
|
+
},
|
322
|
+
seriesDefaults: {
|
323
|
+
renderer: $.jqplot.FunnelRenderer
|
324
|
+
}
|
325
|
+
});
|
326
|
+
|
327
|
+
plot5 = $.jqplot('chart5',[l1],{
|
328
|
+
title: 'Pie Chart',
|
329
|
+
seriesDefaults: {
|
330
|
+
renderer: $.jqplot.PieRenderer
|
331
|
+
},
|
332
|
+
legend: {
|
333
|
+
show: true
|
334
|
+
}
|
335
|
+
});
|
336
|
+
|
337
|
+
e1 = plot1.themeEngine;
|
338
|
+
brass = e1.copy('Default', 'brass');
|
339
|
+
brass.title.fontFamily = 'Copperplate, Impact';
|
340
|
+
brass.grid.backgroundColor = "rgb(216, 198, 114)";
|
341
|
+
brass.grid.drawGridlines = false;
|
342
|
+
brass.series[0].lineWidth = 6.5;
|
343
|
+
brass.series[0].markerOptions.show = false;
|
344
|
+
// brass.axes.xaxis.ticks.fontFamily = "Copperplate, Impact";
|
345
|
+
brass.axesStyles.label.fontFamily = "Copperplate, 'Copperplate Gothic Light', Impact";
|
346
|
+
brass.axesStyles.ticks.fontFamily = "Copperplate, 'Copperplate Gothic Light', Impact";
|
347
|
+
brass.axesStyles.label.fontSize = '14pt';
|
348
|
+
|
349
|
+
temp = {
|
350
|
+
grid: {
|
351
|
+
backgroundColor: "#593D2B",
|
352
|
+
gridLineColor: '#E8E8E8',
|
353
|
+
gridLineWidth: 3
|
354
|
+
},
|
355
|
+
title: {
|
356
|
+
fontFamily: '"Comic Sans MS", cursive',
|
357
|
+
fontSize: '18pt',
|
358
|
+
textColor: '#C7CC4E'
|
359
|
+
},
|
360
|
+
seriesStyles: {
|
361
|
+
color: "#DBBCAF",
|
362
|
+
lineWidth: 8,
|
363
|
+
markerOptions: {
|
364
|
+
show: false
|
365
|
+
}
|
366
|
+
},
|
367
|
+
axes: {
|
368
|
+
xaxis: {
|
369
|
+
label: {
|
370
|
+
fontFamily: '"Comic Sans MS", cursive',
|
371
|
+
textColor: '#C7CC4E'
|
372
|
+
}
|
373
|
+
}
|
374
|
+
}
|
375
|
+
};
|
376
|
+
|
377
|
+
chocolate = plot1.themeEngine.copy('Default', 'chocolate', temp);
|
378
|
+
|
379
|
+
gabe = {
|
380
|
+
series: [
|
381
|
+
{color: 'rgba(216, 159, 60, 0.6)'},
|
382
|
+
{color: 'rgba(159, 216, 60, 0.6)'},
|
383
|
+
{color: 'rgba(60, 159, 216, 0.6)'},
|
384
|
+
],
|
385
|
+
grid: {
|
386
|
+
backgroundColor: '#DEA493'
|
387
|
+
}
|
388
|
+
}
|
389
|
+
|
390
|
+
gabe = plot1b.themeEngine.newTheme('gabe', gabe);
|
391
|
+
|
392
|
+
oldstyle = {
|
393
|
+
title: {
|
394
|
+
fontFamily: 'Times New Roman',
|
395
|
+
textColor: 'black'
|
396
|
+
},
|
397
|
+
axesStyles: {
|
398
|
+
borderWidth: 0,
|
399
|
+
ticks: {
|
400
|
+
fontSize: '12pt',
|
401
|
+
fontFamily: 'Times New Roman',
|
402
|
+
textColor: 'black'
|
403
|
+
},
|
404
|
+
label: {
|
405
|
+
fontFamily: 'Times New Roman',
|
406
|
+
textColor: 'black'
|
407
|
+
}
|
408
|
+
},
|
409
|
+
grid: {
|
410
|
+
backgroundColor: 'white',
|
411
|
+
borderWidth: 0,
|
412
|
+
gridLineColor: 'black',
|
413
|
+
gridLineWidth: 2,
|
414
|
+
borderColor: 'black'
|
415
|
+
},
|
416
|
+
series: [
|
417
|
+
{color: 'red', highlightColors: ['aqua', 'black', 'blue', 'fuchsia', 'gray', 'green', 'lime', 'maroon', 'navy', 'olive', 'purple', 'red', 'silver', 'teal', 'white', 'yellow']},
|
418
|
+
{color: 'green', highlightColors: []},
|
419
|
+
{color: 'blue', highlightColors: []},
|
420
|
+
{color: 'yellow', highlightColors: 'rgb(255, 245, 185)'}
|
421
|
+
],
|
422
|
+
legend: {
|
423
|
+
background: 'white',
|
424
|
+
textColor: 'black',
|
425
|
+
fontFamily: 'Times New Roman',
|
426
|
+
border: '1px solid black'
|
427
|
+
}
|
428
|
+
};
|
429
|
+
|
430
|
+
plot2.themeEngine.newTheme('oldstyle', oldstyle);
|
431
|
+
|
432
|
+
temp = {
|
433
|
+
seriesStyles: {
|
434
|
+
seriesColors: ['red', 'orange', 'yellow', 'green', 'blue', 'indigo'],
|
435
|
+
highlightColors: ['lightpink', 'lightsalmon', 'lightyellow', 'lightgreen', 'lightblue', 'mediumslateblue']
|
436
|
+
},
|
437
|
+
legend: {
|
438
|
+
fontSize: '8pt'
|
439
|
+
},
|
440
|
+
title: {
|
441
|
+
fontSize: '18pt'
|
442
|
+
},
|
443
|
+
grid: {
|
444
|
+
backgroundColor: 'rgb(211, 233, 195)'
|
445
|
+
}
|
446
|
+
};
|
447
|
+
|
448
|
+
plot3.themeEngine.newTheme('uma', temp);
|
449
|
+
plot5.themeEngine.newTheme('uma', temp);
|
450
|
+
|
451
|
+
});
|
452
|
+
|
453
|
+
function switch1() {
|
454
|
+
var th = $('#p1switcher').val();
|
455
|
+
plot1.activateTheme(th);
|
456
|
+
}
|
457
|
+
|
458
|
+
function switch1b() {
|
459
|
+
var th = $('#p1bswitcher').val();
|
460
|
+
plot1b.activateTheme(th);
|
461
|
+
}
|
462
|
+
|
463
|
+
function switch2() {
|
464
|
+
var th = $('#p2switcher').val();
|
465
|
+
plot2.activateTheme(th);
|
466
|
+
}
|
467
|
+
|
468
|
+
function switch3() {
|
469
|
+
var th = $('#p3switcher').val();
|
470
|
+
plot3.activateTheme(th);
|
471
|
+
}
|
472
|
+
|
473
|
+
function switch5() {
|
474
|
+
var th = $('#p5switcher').val();
|
475
|
+
plot5.activateTheme(th);
|
476
|
+
}
|
477
|
+
|
478
|
+
function switch35() {
|
479
|
+
var th = $('#p35switcher').val();
|
480
|
+
plot3.activateTheme(th);
|
481
|
+
plot5.activateTheme(th);
|
482
|
+
}
|
483
|
+
|
484
|
+
|
485
|
+
</script>
|
486
|
+
|
487
|
+
<!-- End example scripts -->
|
488
|
+
|
489
|
+
<!-- Don't touch this! -->
|
490
|
+
|
491
|
+
|
492
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
493
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
494
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
495
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
496
|
+
<!-- End Don't touch this! -->
|
497
|
+
|
498
|
+
<!-- Additional plugins go here -->
|
499
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.barRenderer.min.js"></script>
|
500
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.min.js"></script>
|
501
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.pieRenderer.min.js"></script>
|
502
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.donutRenderer.min.js"></script>
|
503
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.highlighter.min.js"></script>
|
504
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.cursor.min.js"></script>
|
505
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.funnelRenderer.min.js"></script>
|
506
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.min.js"></script>
|
507
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasAxisTickRenderer.min.js"></script>
|
508
|
+
<script language="javascript" type="text/javascript" src="../plugins/jqplot.canvasAxisLabelRenderer.min.js"></script>
|
509
|
+
|
510
|
+
<!-- End additional plugins -->
|
511
|
+
|
512
|
+
|
513
|
+
</div>
|
514
|
+
<script type="text/javascript" src="example.min.js"></script>
|
515
|
+
|
516
|
+
</body>
|
517
|
+
|
518
|
+
|
519
|
+
</html>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<div class="logo">
|
2
|
+
<div class="nav">
|
3
|
+
<a class="nav" href="../../../index.php"><span>></span>Home</a>
|
4
|
+
<a class="nav" href="../../../docs/"><span>></span>Docs</a>
|
5
|
+
<a class="nav" href="../../download/"><span>></span>Download</a>
|
6
|
+
<a class="nav" href="../../../info.php"><span>></span>Info</a>
|
7
|
+
<a class="nav" href="../../../donate.php"><span>></span>Donate</a>
|
8
|
+
</div>
|
9
|
+
</div>
|
@@ -0,0 +1,162 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<title>Waterfall 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="theming.html">Previous</a> <a href="./">Examples</a> <a href="waterfall2.html">Next</a></div>
|
32
|
+
|
33
|
+
|
34
|
+
<!-- Example scripts go here -->
|
35
|
+
|
36
|
+
<style type="text/css" media="screen">
|
37
|
+
.jqplot-axis {
|
38
|
+
font-size: 0.85em;
|
39
|
+
}
|
40
|
+
.jqplot-title {
|
41
|
+
font-size: 16px;
|
42
|
+
}
|
43
|
+
p {
|
44
|
+
margin: 20px;
|
45
|
+
font-family:Arial,Helvetica,Sans-serif;
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
|
49
|
+
<p>Waterfall chart using default bar colors.</p>
|
50
|
+
<div id="chart1" style="margin-top:20px; margin-left:20px; width:350px; height:350px;"></div>
|
51
|
+
|
52
|
+
<p>Waterfall chart using custom colors and "useNegativeColors" set to "false".</p>
|
53
|
+
<div id="chart2" style="margin-top:20px; margin-left:20px; width:350px; height:350px;"></div>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
58
|
+
var line1 = [14, 3, 4, -3, 5, 2, -3, -7];
|
59
|
+
var ticks = ['2008', 'Apricots', 'Tomatoes', 'Potatoes', 'Rhubarb', 'Squash', 'Grapes', 'Peanuts', '2009'];
|
60
|
+
|
61
|
+
|
62
|
+
var plot1 = $.jqplot('chart1', [line1], {
|
63
|
+
title: 'Crop Yield Charnge, 2008 to 2009',
|
64
|
+
seriesDefaults:{
|
65
|
+
renderer:$.jqplot.BarRenderer,
|
66
|
+
rendererOptions:{
|
67
|
+
waterfall:true,
|
68
|
+
varyBarColor: true
|
69
|
+
},
|
70
|
+
pointLabels: {
|
71
|
+
hideZeros: true
|
72
|
+
},
|
73
|
+
yaxis:'y2axis'
|
74
|
+
},
|
75
|
+
axes:{
|
76
|
+
xaxis:{
|
77
|
+
renderer:$.jqplot.CategoryAxisRenderer,
|
78
|
+
ticks:ticks,
|
79
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
80
|
+
tickOptions: {
|
81
|
+
angle: -90,
|
82
|
+
fontSize: '10pt',
|
83
|
+
showMark: false,
|
84
|
+
showGridline: false
|
85
|
+
}
|
86
|
+
},
|
87
|
+
y2axis: {
|
88
|
+
min: 0,
|
89
|
+
tickInterval: 5
|
90
|
+
}
|
91
|
+
}
|
92
|
+
});
|
93
|
+
});</script>
|
94
|
+
|
95
|
+
|
96
|
+
<script class="code" type="text/javascript">$(document).ready(function(){
|
97
|
+
|
98
|
+
var line1 = [14, 3, 4, -3, 5, 2, -3, -7];
|
99
|
+
var ticks = ['2008', 'Apricots', 'Tomatoes', 'Potatoes', 'Rhubarb', 'Squash', 'Grapes', 'Peanuts', '2009'];
|
100
|
+
var plot2 = $.jqplot('chart2', [line1], {
|
101
|
+
title: 'Crop Yield Charnge, 2008 to 2009',
|
102
|
+
seriesColors:['#333333', '#999999', '#3EA140', '#3EA140', '#3EA140', '#783F16', '#783F16', '#783F16', '#333333'],
|
103
|
+
seriesDefaults:{
|
104
|
+
renderer:$.jqplot.BarRenderer,
|
105
|
+
rendererOptions:{
|
106
|
+
waterfall:true,
|
107
|
+
varyBarColor: true,
|
108
|
+
useNegativeColors: false
|
109
|
+
},
|
110
|
+
pointLabels: {
|
111
|
+
hideZeros: true
|
112
|
+
},
|
113
|
+
yaxis:'y2axis'
|
114
|
+
},
|
115
|
+
axes:{
|
116
|
+
xaxis:{
|
117
|
+
renderer:$.jqplot.CategoryAxisRenderer,
|
118
|
+
ticks:ticks,
|
119
|
+
tickRenderer: $.jqplot.CanvasAxisTickRenderer,
|
120
|
+
tickOptions: {
|
121
|
+
angle: -90,
|
122
|
+
fontSize: '10pt',
|
123
|
+
showMark: false,
|
124
|
+
showGridline: false
|
125
|
+
}
|
126
|
+
},
|
127
|
+
y2axis: {
|
128
|
+
min: 0,
|
129
|
+
tickInterval: 5
|
130
|
+
}
|
131
|
+
}
|
132
|
+
});
|
133
|
+
});</script>
|
134
|
+
|
135
|
+
<!-- End example scripts -->
|
136
|
+
|
137
|
+
<!-- Don't touch this! -->
|
138
|
+
|
139
|
+
|
140
|
+
<script class="include" type="text/javascript" src="../jquery.jqplot.min.js"></script>
|
141
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shCore.min.js"></script>
|
142
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushJScript.min.js"></script>
|
143
|
+
<script type="text/javascript" src="syntaxhighlighter/scripts/shBrushXml.min.js"></script>
|
144
|
+
<!-- End Don't touch this! -->
|
145
|
+
|
146
|
+
<!-- Additional plugins go here -->
|
147
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.barRenderer.min.js"></script>
|
148
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.categoryAxisRenderer.min.js"></script>
|
149
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.canvasAxisTickRenderer.min.js"></script>
|
150
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.canvasTextRenderer.min.js"></script>
|
151
|
+
<script class="include" type="text/javascript" src="../plugins/jqplot.pointLabels.min.js"></script>
|
152
|
+
|
153
|
+
<!-- End additional plugins -->
|
154
|
+
|
155
|
+
|
156
|
+
</div>
|
157
|
+
<script type="text/javascript" src="example.min.js"></script>
|
158
|
+
|
159
|
+
</body>
|
160
|
+
|
161
|
+
|
162
|
+
</html>
|