Example usage for org.jfree.chart.plot CompassPlot setDrawBorder

List of usage examples for org.jfree.chart.plot CompassPlot setDrawBorder

Introduction

In this page you can find the example usage for org.jfree.chart.plot CompassPlot setDrawBorder.

Prototype

public void setDrawBorder(boolean status) 

Source Link

Document

Sets a flag that controls whether or not a border is drawn.

Usage

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 ava 2  s.c  o  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;
}