| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.jfree.chart.renderer.AbstractRendererorg.jfree.chart.renderer.xy.AbstractXYItemRendererorg.jfree.chart.renderer.xy.StandardXYItemRendererorg.jfree.chart.renderer.xy.CyclicXYItemRendererNested Class Summary | |
protected static class |
|
Nested classes/interfaces inherited from class org.jfree.chart.renderer.xy.StandardXYItemRenderer | |
StandardXYItemRenderer.State | |
Field Summary |
Fields inherited from class org.jfree.chart.renderer.xy.StandardXYItemRenderer | |
DISCONTINUOUS, DISCONTINUOUS_LINES, IMAGES, LINES, SHAPES, SHAPES_AND_LINES | |
Fields inherited from class org.jfree.chart.renderer.AbstractRenderer | |
DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, DEFAULT_PAINT, DEFAULT_SHAPE, DEFAULT_STROKE, DEFAULT_VALUE_LABEL_FONT, DEFAULT_VALUE_LABEL_PAINT, ZERO | |
Constructor Summary | |
| |
| |
| |
| |
Method Summary | |
void |
|
public CyclicXYItemRenderer(int type)
Creates a new renderer.
- Parameters:
type- the renderer type.
public CyclicXYItemRenderer(int type, XYToolTipGenerator labelGenerator)
Creates a new renderer.
- Parameters:
type- the renderer type.labelGenerator- the tooltip generator.
public CyclicXYItemRenderer(int type, XYToolTipGenerator labelGenerator, XYURLGenerator urlGenerator)
Creates a new renderer.
- Parameters:
type- the renderer type.labelGenerator- the tooltip generator.urlGenerator- the url generator.
public 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. When using cyclic axis, do not draw a line from right to left when cycling as would a standard XY item renderer, but instead draw a line from the previous point to the cycle bound in the last cycle, and a line from the cycle bound to current point in the current cycle.
- Specified by:
- drawItem in interface XYItemRenderer
- Overrides:
- drawItem in interface StandardXYItemRenderer
- Parameters:
g2- the graphics device.state- the renderer state.dataArea- the data area.info- the plot rendering info.plot- the plot.domainAxis- the domain axis.rangeAxis- the range axis.dataset- the dataset.series- the series index.item- the item index.crosshairState- crosshair information for the plot (nullpermitted).pass- the current pass index.