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

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

Introduction

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

Prototype

public void setAutoPopulateSeriesStroke(boolean auto) 

Source Link

Document

Sets the flag that controls whether or not the series stroke list is automatically populated when #lookupSeriesStroke(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   w  w w . java 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;
}