click « BarChart « JFreeChart Q&A





1. How to Open a pop window when a Bar item was clicked    jfree.org

I have created a Bar chart, and when an item was clicked, another time serials chart will be generated. I got the new chart created successful, but I can't have it open in a pop window. Following is how I set up itemURLGenerator: renderer.setItemURLGenerator(new StandardCategoryURLGenerator("tranavailability_Chart.jsp,"serial","transaction")); And I found there is no way to open the new url in a pop window. ...

2. displaying information on a clicked bar    jfree.org

Hi, I've decided the best way to do what I wanted from a previous post is to have a ChartMouseListener that will get the tooltips from a bar and display it in a nicer format in a text box below my chart, from which I can copy the text. I'm pretty new to swing... what should I do to create and ...

3. Open new window when we click on each bar of the bar chart    jfree.org

Hi , We have creted JfreeChart and and generated each bar as link by using image map and . We would like to open new window to drill down data when we click on any bar of the chart . Below is the source code : public static String displayEachBarValue(boolean display, JFreeChart chart ,HttpSession session , PrintWriter pw , String url) ...