Example usage for org.jfree.chart.renderer.xy XYErrorRenderer setAutoPopulateSeriesOutlineStroke

List of usage examples for org.jfree.chart.renderer.xy XYErrorRenderer setAutoPopulateSeriesOutlineStroke

Introduction

In this page you can find the example usage for org.jfree.chart.renderer.xy XYErrorRenderer setAutoPopulateSeriesOutlineStroke.

Prototype

public void setAutoPopulateSeriesOutlineStroke(boolean auto) 

Source Link

Document

Sets the flag that controls whether or not the series outline stroke list is automatically populated when #lookupSeriesOutlineStroke(int) is called.

Usage

From source file:org.esa.beam.timeseries.ui.graph.TimeSeriesGraphModel.java

private XYErrorRenderer createXYErrorRenderer() {
    final XYErrorRenderer renderer = new XYErrorRenderer();
    renderer.setDrawXError(false);//from   ww  w.  ja v a  2 s .c o m
    renderer.setDrawYError(false);
    renderer.setBaseLinesVisible(true);
    renderer.setAutoPopulateSeriesStroke(false);
    renderer.setAutoPopulateSeriesPaint(false);
    renderer.setAutoPopulateSeriesFillPaint(false);
    renderer.setAutoPopulateSeriesOutlinePaint(false);
    renderer.setAutoPopulateSeriesOutlineStroke(false);
    renderer.setAutoPopulateSeriesShape(false);
    final StandardXYToolTipGenerator tipGenerator;
    tipGenerator = new StandardXYToolTipGenerator("Value: {2}   Date: {1}", new SimpleDateFormat(),
            new DecimalFormat());
    renderer.setBaseToolTipGenerator(tipGenerator);
    return renderer;
}