Example usage for org.jfree.chart.plot SpiderWebPlot setOutlineVisible

List of usage examples for org.jfree.chart.plot SpiderWebPlot setOutlineVisible

Introduction

In this page you can find the example usage for org.jfree.chart.plot SpiderWebPlot setOutlineVisible.

Prototype

public void setOutlineVisible(boolean visible) 

Source Link

Document

Sets the flag that controls whether or not the plot's outline is drawn, and sends a PlotChangeEvent to all registered listeners.

Usage

From source file:org.sonar.plugins.core.charts.XradarChart.java

@Override
protected Plot getPlot(ChartParameters params) {
    SpiderWebPlot plot = new SpiderWebPlot(createDataset(params));
    plot.setStartAngle(0D);//from   w  ww.  j  a  va 2 s  .  c  o  m
    plot.setOutlineVisible(false);
    plot.setAxisLinePaint(Color.decode("0xCCCCCC"));
    plot.setSeriesOutlineStroke(new BasicStroke(2f));

    if (params.getValue(PARAM_INTERIOR_GAP) != null) {
        plot.setInteriorGap(Double.parseDouble(params.getValue(PARAM_INTERIOR_GAP, "0.4", false)));
    }
    if (params.getValue(PARAM_MAX_VALUE) != null) {
        plot.setMaxValue(Double.parseDouble(params.getValue(PARAM_MAX_VALUE, "100", false)));
    }
    configureColors(plot, params);
    return plot;
}