README.rdoc in jqplot_rails-0.0.3 vs README.rdoc in jqplot_rails-0.0.4

- old
+ new

@@ -1,17 +1,34 @@ Build jqplots from the comfort of rails + +Example: + + # app/controller/plots_controller.rb + before_filter do + JqPlotRails::JqPlot.enable + end + + # app/views/layouts/application.html.haml + ... + = stylesheet_link_expansion :jqplot_rails + + # app/view/plots/myplot.html.haml + %div{:id => :myplot} + = jqplot('myplot', @data, :animate => true) + +