On 10 October 2010 14:30, Zack Nathan <[email protected]> wrote: > Thanks guys, I fixed it, it was todo with how the plugin installed. > > Colin, I dont mind what plugin I use aslong as it works well. Are there > any quick guides or tutorials you could recommend on flot with rails > because I dont mind giving it a go, but I need it working relatively > fast.
The flot website has many examples. There is a Rails plugin, flotilla, which makes life fairly easy. I don't know whether it is compatible with Rails 3 if that is an issue for you. I tried Open Flash Chart (not the lazy version, not sure of the difference) and thought that the architecture is completely wrong. It makes the chart in the controller whereas it should of course be in the view. The controller should just provide the data to be charted and the view should format it and draw it. That is how it works in flotilla. I found flot to be quicker drawing graphs with many points (though that may not be true on IE as there flot has to use a canvas emulator) Of course if you are developing a public site you have the major decision of whether to insist the users have flash enabled or javascript enabled. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

