List of usage examples for org.jfree.chart.plot CompassPlot setRosePaint
public void setRosePaint(Paint paint)
From source file:org.jfree.chart.demo.CompassDemo1.java
private static JFreeChart createChart(ValueDataset valuedataset) { CompassPlot compassplot = new CompassPlot(valuedataset); compassplot.setSeriesNeedle(7);//from www .jav a 2s . c om compassplot.setSeriesPaint(0, Color.black); compassplot.setSeriesOutlinePaint(0, Color.black); compassplot.setRosePaint(Color.red); compassplot.setRoseHighlightPaint(Color.gray); compassplot.setRoseCenterPaint(Color.white); compassplot.setDrawBorder(false); JFreeChart jfreechart = new JFreeChart(compassplot); return jfreechart; }