jeannie
unread,Dec 30, 2008, 2:44:20 AM12/30/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open Flash Chart Lazy
OK. Still trying here. Thanks for listening.
Now, I'm getting the following type error using the inline data Pie
chart example:
TypeError in Testopenflash#index
wrong argument type Hash (expected Data)
Extracted source (around line #2):
2: <%= inline_graph(@pie_chart) %>
My view code:
<%= inline_graph(@pie_chart) %>
My controller code:
def index
@pie_chart = OpenFlashChartLazy::Pie.new("Channels")
channels=OpenFlashChartLazy::Serie.new([["Wealth",34],["Financial",
45]])
@pie_chart.add_serie(channels)
end
Help?