Hi Guys,
Ican't get rid of the PieChart's tooltips for some reason .
my code goes like this:
JFreeChart chart = ChartFactory.createPieChart (null,pieDataset,true, false,false);
Note the false at the tooltip area
Thanks.
Pie Chart Tooltips
-
- Posts: 115
- Joined: Fri Mar 14, 2003 3:13 pm
- Location: London, England
- Contact:
Getting rid of labels
Do you mean the ToolTips or the Labels? If it is the labels you are trying to get rid of try
Regards,
Richard...
Code: Select all
PiePlot plot = (PiePlot) chart.getPlot();
plot.setLabelGenerator(null);
Richard...