Ok, I've just found[1] the Stéphane's click-charts-enhanced project[2]. Stéphane, in your site[3] example I can't see the page html and the java source. I'm getting page not found in the browser.
Regards, Gilberto [1] http://click.1134972.n2.nabble.com/A-new-chart-api-for-click-td5810248.html [2] http://code.google.com/p/click-charts-enhanced/ [3]http://latest.click-charts-enhanced.appspot.com/ On Thu, Apr 14, 2011 at 1:03 PM, Bob Schellink <[email protected]> wrote: > Hi, > > As you saw the charts only support ints. I'm not sure if the underlying JS > chart lib used supports long though. You might want to use something like > JQPlot which provides a much better chart experience... > > regards > > Bob > > > On 2011/04/13 15:54 PM, Gilberto wrote: > >> Hi, >> >> I'm getting ClassException in my code because all the click-charts[1] api >> only accepts the Integer data type: >> <quote> >> >> java.lang.ClassCastException: java.lang.Long cannot be cast to >> java.lang.Integer >> at >> br.to.gov.secad.io.web.DashboardPage.onInit(DashboardPage.java:42) >> at >> org.apache.click.ClickServlet.performOnInit(ClickServlet.java:674) >> >> at >> org.apache.click.ClickServlet.processPageEvents(ClickServlet.java:605) >> at org.apache.click.ClickServlet.processPage(ClickServlet.java:561) >> at >> org.apache.click.ClickServlet.handleRequest(ClickServlet.java:383) >> >> </quote> >> I'm using the 1.2.0-RC1 version together with click 2.3.0. >> Is ti possible to add more methods like: >> public void addPoint(String pointLabel, Long pointValue) >> public void addPoint(String pointLabel, Double pointValue) >> >> public void addPoint(String pointLabel, BigDecimal pointValue) >> >> Other thing, before we had it(Charts api) in the click project and now I >> can't see any indication that click supports graphs theclick.apache.org < >> http://click.apache.org> portal and even in the docs. >> >> >> >> Regards, >> >> Gilberto >> >> [1]http://code.google.com/p/click-charts >> >> >
