Hi, I am a newby in rails...and i have read that scruffy is a great tool to create/display images. Now i find the code below for example... graph = Scruffy::Graph.new graph.title = "Comparative Agent Performance" graph.value_formatter = Scruffy::Formatters::Percentage.new(:precision => 0) graph.add :stacked do |stacked| stacked.add :bar, ''Jack'', [30, 60, 49, 29, 100, 120] stacked.add :bar, ''Jill'', [120, 240, 0, 100, 140, 20] stacked.add :bar, ''Hill'', [10, 10, 90, 20, 40, 10] end graph.point_markers = [''Jan'', ''Feb'', ''Mar'', ''Apr'', ''May'', ''Jun''] graph.render(:width => 800, :as => JPG) But how must i place this in the MVC architecture?? Grtz..remco -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---