public static class SamplingXYLineRenderer.State extends XYItemRendererState
| Modifier and Type | Field and Description |
|---|---|
(package private) double |
closeY
The final y-coordinate for the current x-coordinate.
|
(package private) double |
dX
The minimum change in the x-value needed to trigger an update to
the seriesPath.
|
(package private) double |
highY
The highest y-coordinate for the current x-coordinate.
|
(package private) java.awt.geom.GeneralPath |
intervalPath
A second path that draws vertical intervals to cover any extreme
values.
|
(package private) boolean |
lastPointGood
A flag that indicates if the last (x, y) point was 'good'
(non-null).
|
(package private) double |
lastX
The last x-coordinate visited by the seriesPath.
|
(package private) double |
lowY
The lowest y-coordinate for the current x-coordinate.
|
(package private) double |
openY
The initial y-coordinate for the current x-coordinate.
|
(package private) java.awt.geom.GeneralPath |
seriesPath
The path for the current series.
|
workingLine| Constructor and Description |
|---|
State(PlotRenderingInfo info)
Creates a new state instance.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
endSeriesPass, getFirstItemIndex, getLastItemIndex, getProcessVisibleItemsOnly, setProcessVisibleItemsOnlygetEntityCollection, getInfojava.awt.geom.GeneralPath seriesPath
java.awt.geom.GeneralPath intervalPath
double dX
double lastX
double openY
double highY
double lowY
double closeY
boolean lastPointGood
public State(PlotRenderingInfo info)
info - the plot rendering info.public void startSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)
XYPlot at the start of each
series pass. We reset the state for the current series.startSeriesPass in class XYItemRendererStatedataset - 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.XYItemRendererState.endSeriesPass(XYDataset, int, int, int, int, int)