plot.setForegroundAlpha(0.8f);
CategoryPlot cp=(CategoryPlot) plot;
CategoryItemRenderer renderer = cp.getRenderer();
if(renderer instanceof BarRenderer3D) {
BarRenderer3D br3d=(BarRenderer3D) renderer;
cp.setRenderer(new BarRenderer3DWrap(br3d,xoffset,yoffset));
}
}
else if(plot instanceof PiePlot3D) {
PiePlot3D pp3d=(PiePlot3D) plot;