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

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

Introduction

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

Prototype

public void setAutoPopulateSeriesShape(boolean auto) 

Source Link

Document

Sets the flag that controls whether or not the series shape list is automatically populated when #lookupSeriesShape(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  ww  .  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;
}