TextTitle title = chart.getTitle();
title.setToolTipText("A title tooltip!");
PiePlot3D plot = (PiePlot3D) chart.getPlot();
plot.setDarkerSides(true);
plot.setStartAngle(290);
plot.setDirection(Rotation.CLOCKWISE);
plot.setForegroundAlpha(1.0f);
plot.setDepthFactor(0.2);
plot.setLabelFont(new Font(defaultLabelsStyle.getFontName(), Font.PLAIN, defaultLabelsStyle.getSize()));
plot.setCircular(false);
plot.setLabelGap(0.02);
plot.setNoDataMessage("No data available");
//org.jfree.chart.renderer.category.BarRenderer renderer = new org.jfree.chart.renderer.category.AreaRenderer);
MyPieUrlGenerator pieUrl=new MyPieUrlGenerator(rootUrl);
pieUrl.setDocument_composition(document_composition);
pieUrl.setCategoryUrlLabel(categoryUrlName);
pieUrl.setDrillDocTitle(drillDocTitle);
pieUrl.setTarget(target);
plot.setURLGenerator(pieUrl);
if(percentage==false){
plot.setLabelGenerator(new StandardPieSectionLabelGenerator(
"{0} ({1})"));}
else
{
plot.setLabelGenerator(new StandardPieSectionLabelGenerator(
"{0} ({2})"));
}
}