dataset « PieChart « JFreeChart Q&A





1. PieChart -- How do I delete an item from the dataset?    jfree.org

Hi, I have created a piechart with a piechartdataset. I need to delete an item from the piechart dataset. I tried to setValue to a negative number and this removes the item from the chart display but I need to remove it from the dataset as well. Is there a way to do this? Thanks

2. How do you update dataset for pie chart    jfree.org

How do you update dataset for pie chart by mtariq Fri Dec 30, 2005 12:52 am To followup, I've seen the posts on updating the dataset and then repaint will pick up the changes. Sorry to be dense... but I'm not sure how to update the dataset... does this mean just have same instance variable for the dataset. Then any ...

3. Pie chart dataset    jfree.org

On a pie chart's dataset, it likes you to input a numerical value after you put the title of the section. But, is there a way to input a variable, so that I can manipulate the numbers from another class that will auto-update the stats in the pie graph? For instance, JPanel panel = new JPanel(new GridLayout(2, 2)); DefaultPieDataset dataset = ...