views:

139

answers:

1

I want to use the Raphael Javascript framework to create some charts based on dynamic data coming from my Java web application. Is the only way to access this data from my web application through the use of hidden fields on my page which I can then lookup inside the Rapahel JS code?

+1  A: 

A typical approach would be for the web application to send a JSON file which your javascript would use to drive the Raphael library.

Reference:

  1. Using JSON in jQuery.
  2. Ajax Tutorials
Brock Adams