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

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

Introduction

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

Prototype

public void setAutoPopulateSeriesFillPaint(boolean auto) 

Source Link

Document

Sets the flag that controls whether or not the series fill paint list is automatically populated when #lookupSeriesFillPaint(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);//w w  w .  ja  v a 2s .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;
}