I'm doing this example: Creating a single series chart from data contained in arrays, but I got this error:
undefined method `renderChart'
I pasted the renderChart method in the application.rb.
What's wrong?
Page 1 of 1
undefined method `renderChart'
Other Replies To This Topic
#2
Posted 17 December 2008 - 10:51 PM
renderChart will usually be used from the view. Hence, this function should be copied to application_helper.rb from where it will be accessible to all the views.
It is recommended to use these functions as part of library modules instead of copying the function into your application_helper.
Srividya
regards,
Srividya Sharma
Srividya Sharma
Other Replies To This Topic
Page 1 of 1

Back to top
MultiQuote
