org.jfree.chart.renderer.category
public class IntervalBarRenderer extends BarRenderer implements CategoryItemRenderer, Cloneable, PublicCloneable, Serializable
For use with the CategoryPlot class.
Constructor Summary | |
---|---|
IntervalBarRenderer()
Constructs a new renderer. |
Method Summary | |
---|---|
protected void | drawInterval(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, IntervalCategoryDataset dataset, int row, int column)
Draws a single interval.
|
void | drawItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass)
Draws the bar for a single (series, category) data item.
|
Parameters: g2 the graphics device. state the renderer state. dataArea the data plot area. plot the plot. domainAxis the domain axis. rangeAxis the range axis. dataset the data. row the row index (zero-based). column the column index (zero-based).
Parameters: g2 the graphics device. state the renderer state. dataArea the data area. plot the plot. domainAxis the domain axis. rangeAxis the range axis. dataset the dataset. row the row index (zero-based). column the column index (zero-based). pass the pass index.