README.md in jquery_cheats-2.1.0 vs README.md in jquery_cheats-2.2.0

- old
+ new

@@ -12,10 +12,19 @@ ```js //= require jqueryCheats ``` +If you would like charting functionality make sure the following code is in app/assets/application.js + +```js +//= require jqplot/jquery.jqplot.js +``` + +Depending on the chart, you will have to include the plugin too, which are loaded in the jqplot/plugins directory + + ##Functions Mouse over image, Image1 changes to Image2 when moused over: ```erb @@ -65,5 +74,13 @@ JQuery Cheats comes packaged with JQueryPlots as of 2.1.0, but some functions may not be available until later dates. ###Barchart JQuery Cheats Barchart is the first graph to be implemented and uses XML to parse the data. + +Make sure the following is in your app/assets/javascripts/application.js file + +```js +//= require jqplot/plugins/jqplot.barRenderer.min.js +//= require jqplot/plugins/jqplot.categoryAxisRenderer.min.js +//= require jqplot/plugins/jqplot.pointLabels.min.js +```