Example usage for org.jfree.chart.plot PiePlot3D setMinimumArcAngleToDraw

List of usage examples for org.jfree.chart.plot PiePlot3D setMinimumArcAngleToDraw

Introduction

In this page you can find the example usage for org.jfree.chart.plot PiePlot3D setMinimumArcAngleToDraw.

Prototype

public void setMinimumArcAngleToDraw(double angle) 

Source Link

Document

Sets the minimum arc angle that will be drawn.

Usage

From source file:org.gvsig.symbology.fmap.symbols.PieChart3DSymbol.java

protected Plot getOutlinePlot() {
    if (outlinePlot == null) {
        PiePlot3D myMapPlot = new PiePlot3D();

        myMapPlot.setLabelGap(0);/*from   w ww  . ja  v a  2s .  com*/
        myMapPlot.setIgnoreZeroValues(ignoreZeroValues);

        updateDataset();

        myMapPlot.setDataset(new DefaultPieDataset(dataset));
        myMapPlot.setDirection(clockwise ? Rotation.CLOCKWISE : Rotation.ANTICLOCKWISE);
        myMapPlot.setDepthFactor(depthFactor);
        myMapPlot.setMinimumArcAngleToDraw(minimumAngleToDraw);
        myMapPlot.setCircular(circular);
        myMapPlot.setStartAngle(getRotation());
        /*
         * myMapPlot.setDarkerSides(false); // requires jfreechart 1.0.10
         * myMapPlot.setForegroundAlpha(foregroundAlpha); // requires
         * jfreechart 1.0.10
         */
        outlinePlot = myMapPlot;
    }
    return outlinePlot;
}