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

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

Introduction

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

Prototype

public void setSeriesOutlineStroke(Stroke stroke) 

Source Link

Document

Sets the outline stroke for ALL series in the plot.

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);/*  w w  w.j a v  a 2 s  .c om*/
    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;
}