URL « PieChart « JFreeChart Q&A





1. How to generate a URL for a pie chart section label    jfree.org

Is there any way to generate a URL for a pie chart section label? I looked through the documentation and the code and it does not seem like this is possible? I also noticed that the pie chart legend code ignores URL generation, so even a legend item URL doesn't help. The nature of the data being charted will cause the ...

2. add url to a label of a piechart    jfree.org

hi everyone. im trying to add a url to a label of my piechart. im using a imageMap and the urls in the plot is working, but i would also like the user to be able to click on the label of the segment as well. here is the code i have thus far which works great. I just need to ...

4. Association of URL with Pie Slice does not work for me    jfree.org

Hi I am developing a web based application and I want to associate an URL with each Pie slice in the a Pie chart. But it is not working. I have attached the following sample code. Can somebody help. private static PieDataset createDataset() { DefaultPieDataset dataset = new DefaultPieDataset(); dataset.setValue("One", new Double(35)); dataset.setValue("Two", new Double(25)); dataset.setValue("Three", new Double(20)); dataset.setValue("Four", new Double(10)); ...

5. PieChart-Show text label while passing its key to the URL    jfree.org

Hi, I need to show a descriptive label for the items in my Pie Chart. But at the same time I need to pass it's key to the URL when I click on the section of the image. For example for a particular item in the chart, I need to show 'Sample Item' as the label but I need to pass ...