SSJ
3.3.1
Stochastic Simulation in Java
|
A renderer that draws horizontal lines between points and/or draws shapes at each data point to provide an empirical style chart. More...
Public Member Functions | |
EmpiricalRenderer () | |
Creates a new renderer. | |
EmpiricalRenderer (XYToolTipGenerator toolTipGenerator, XYURLGenerator urlGenerator) | |
Creates a new renderer with selected tool tip and url generators. More... | |
void | drawItem (Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) |
Draws the visual representation of a single data item. More... | |
Object | clone () throws CloneNotSupportedException |
Returns a clone of the renderer. More... | |
A renderer that draws horizontal lines between points and/or draws shapes at each data point to provide an empirical style chart.
This renderer is designed for use with the {XYPlot} class.
EmpiricalRenderer | ( | XYToolTipGenerator | toolTipGenerator, |
XYURLGenerator | urlGenerator | ||
) |
Creates a new renderer with selected tool tip and url generators.
toolTipGenerator | Tool tip generator. |
urlGenerator | Url generator. |
Object clone | ( | ) | throws CloneNotSupportedException |
Returns a clone of the renderer.
CloneNotSupportedException | if the clone cannot be created. |
void drawItem | ( | Graphics2D | g2, |
XYItemRendererState | state, | ||
Rectangle2D | dataArea, | ||
PlotRenderingInfo | info, | ||
XYPlot | plot, | ||
ValueAxis | domainAxis, | ||
ValueAxis | rangeAxis, | ||
XYDataset | dataset, | ||
int | series, | ||
int | item, | ||
CrosshairState | crosshairState, | ||
int | pass | ||
) |
Draws the visual representation of a single data item.
g2 | the graphics device. |
state | the renderer state. |
dataArea | the area within which the data is being drawn. |
info | collects information about the drawing. |
plot | the plot (can be used to obtain standard color information etc). |
domainAxis | the domain axis. |
rangeAxis | the range axis. |
dataset | the dataset. |
series | the series index (zero-based). |
item | the item index (zero-based). |
crosshairState | crosshair information for the plot (null permitted). |
pass | the pass index. |