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

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

Introduction

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

Prototype

public void setAutoPopulateSeriesPaint(boolean auto) 

Source Link

Document

Sets the flag that controls whether or not the series paint list is automatically populated when #lookupSeriesPaint(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 .  ja va 2s  . c  om
    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;
}