org.jfree.chart.renderer.xy

Class SamplingXYLineRenderer.State

public static class SamplingXYLineRenderer.State extends XYItemRendererState

Records the state for the renderer. This is used to preserve state information between calls to the drawItem() method for a single chart drawing.
Constructor Summary
State(PlotRenderingInfo info)
Creates a new state instance.
Method Summary
voidstartSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)
This method is called by the XYPlot at the start of each series pass.

Constructor Detail

State

public State(PlotRenderingInfo info)
Creates a new state instance.

Parameters: info the plot rendering info.

Method Detail

startSeriesPass

public void startSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)
This method is called by the XYPlot at the start of each series pass. We reset the state for the current series.

Parameters: dataset the dataset. series the series index. firstItem the first item index for this pass. lastItem the last item index for this pass. pass the current pass index. passCount the number of passes.

Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.