List of usage examples for org.jfree.chart.plot RingPlot setDirection
public void setDirection(Rotation direction)
From source file:unikn.dbis.univis.visualization.chart.RingChart.java
/** * Makes the plot.//ww w . j av a 2s . com */ protected void plot() { RingPlot plot = (RingPlot) getChart().getPlot(); plot.setStartAngle(290); plot.setDirection(Rotation.CLOCKWISE); plot.setForegroundAlpha(0.5f); plot.setNoDataMessage("No data available"); plot.setLabelGenerator(null); plot.setLegendLabelGenerator(new LabelGenerator(createTotal())); }