List of usage examples for org.jfree.chart.plot CompassPlot setRoseHighlightPaint
public void setRoseHighlightPaint(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 w w w . j a va 2 s. co m*/ 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; }
From source file:edu.ucla.stat.SOCR.chart.demo.CompassDemo1.java
/** * Creates a chart./* w ww . j ava 2 s . c o m*/ * * @param dataset the dataset. * * @return The chart. */ protected JFreeChart createChart(ValueDataset dataset) { CompassPlot plot = new CompassPlot(dataset); plot.setSeriesNeedle(7); plot.setSeriesPaint(0, Color.red); plot.setSeriesOutlinePaint(0, Color.red); plot.setRoseHighlightPaint(Color.CYAN); JFreeChart chart = new JFreeChart(plot); return chart; }
From source file:edu.ucla.stat.SOCR.chart.SuperValueChart.java
/** * Creates a chart./* w w w. j ava 2 s . c om*/ * * @param dataset the dataset. * * @return a chart. */ protected JFreeChart createChart(ValueDataset dataset) { // create the chart... // OPTIONAL CUSTOMISATION COMPLETED. CompassPlot plot = new CompassPlot(dataset); plot.setSeriesNeedle(7); plot.setSeriesPaint(0, Color.red); plot.setSeriesOutlinePaint(0, Color.red); plot.setRoseHighlightPaint(Color.CYAN); JFreeChart chart = new JFreeChart(plot); return chart; }
From source file:edu.ucla.stat.SOCR.chart.ChartGenerator_JTable.java
private JFreeChart createCompassChart(String title, ValueDataset dataset) { // create the chart... CompassPlot plot = new CompassPlot(dataset); plot.setSeriesNeedle(7);//ww w . j ava 2 s .c om plot.setSeriesPaint(0, Color.red); plot.setSeriesOutlinePaint(0, Color.red); plot.setRoseHighlightPaint(Color.CYAN); JFreeChart chart = new JFreeChart(plot); return chart; }