How to make a Flash Line Chart in Rails using Ziya
I’m going to operate on the precondition that you’ve installed Ziya and included it in your controller properly. Do the bar chart example before going any further.
Now, make this function in your controller:
def refresh_chart
chart = ZIya::Charts::Line.new
render :text => chart
end


Comments are closed