Hi...
I have a problem that i have developed a Piechart by using jfreecharts.When i want to click in the Pie sections then it has to move to the Next page.so if someone knows about this please provide the sample code.Help meeee..
Thanks
How to move to the next page when clicking in the pie chart
-
- Posts: 14
- Joined: Tue May 06, 2008 5:57 am
i think ur problem will solve by using URL generator, In URL generator u need to specify what page it needs to render...
Code: Select all
renderer.setItemURLGenerator(new StandardCategoryURLGenerator("demo.jsp"));
How to create renderer object
How to create renderer object i have developed a chart using scriptlet class that is normal java class and i am calling through the JRXML and rendering the chart object here and i m printing that chart thorugh servlet using Jrxmlloader and printmanager classes.so is it possible to write the events for the pie chart in the scriptlet if possible then please anyone post the sourcecode for simple one event so that it could be useful for anyone.
Thanks,
Sailu
Thanks,
Sailu