I have an example that builds the entire  JSONObject in Java.

http://lombok.demon.co.uk/tapestry5Demo/test/highcharts/hcdemotwosource


Th following specifies  part of the chart in Javascript and part of the charts 
in Java. 


http://lombok.demon.co.uk/tapestry5Demo/test/highcharts/hcdemothree



Shing 
 
----- Original Message -----
From: Jay Ginete <killer.tila...@gmail.com>
To: Tapestry users <users@tapestry.apache.org>
Cc: 
Sent: Saturday, March 9, 2013 10:01 PM
Subject: Re: How to get a lot of data in to highcharts?

On 3/10/2013 5:40 AM, George Ludwig wrote:
> I've been reviewing the tapestry5/highcharts integration code, and I see
> that the data for the charts has been hardcoded in to a javascript file.
>
> What is the best way to display a lot of data from the server? For example,
> I have a series with hundreds or thousands of data points, and I need to
> calculate them on the server, and somehow get them in to highcharts.
>
> I haven't done a lot of work with Tapestry's javascript support, so forgive
> me if this is obvious...
>
> -George
>
Write a public function that returns a JSONObject 
(http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/json/JSONObject.html)
 
in the page class.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to