com.jrefinery.chart
Class AreaCategoryItemRenderer
java.lang.Object
com.jrefinery.chart.AbstractCategoryItemRenderer
com.jrefinery.chart.AreaCategoryItemRenderer
- All Implemented Interfaces:
- CategoryItemRenderer
public class AreaCategoryItemRenderer
- extends AbstractCategoryItemRenderer
A category item renderer that draws area charts. You can use this renderer with the
VerticalCategoryPlot class.
|
Method Summary |
void |
drawCategoryItem(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
ValueAxis axis,
CategoryDataset data,
int series,
java.lang.Object category,
int categoryIndex,
java.lang.Object previousCategory)
Draw a single data item. |
void |
drawRangeMarker(java.awt.Graphics2D g2,
CategoryPlot plot,
ValueAxis axis,
Marker marker,
java.awt.geom.Rectangle2D axisDataArea,
java.awt.Shape dataClipRegion)
Draws a line (or some other marker) to indicate a certain value on the range axis. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AreaCategoryItemRenderer
public AreaCategoryItemRenderer()
drawRangeMarker
public void drawRangeMarker(java.awt.Graphics2D g2,
CategoryPlot plot,
ValueAxis axis,
Marker marker,
java.awt.geom.Rectangle2D axisDataArea,
java.awt.Shape dataClipRegion)
- Draws a line (or some other marker) to indicate a certain value on the range axis.
- Parameters:
g2 - The graphics device.plot - The plot.axis - The value axis.marker - The marker.axisDataArea - The area defined by the axes.dataClipRegion - The data clip region.
drawCategoryItem
public void drawCategoryItem(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
ValueAxis axis,
CategoryDataset data,
int series,
java.lang.Object category,
int categoryIndex,
java.lang.Object previousCategory)
- Draw a single data item.
- Parameters:
g2 - The graphics device.plotArea - The data plot area.plot - The plot.axis - The range axis.data - The data.series - The series number (zero-based index).category - The category.categoryIndex - The category number (zero-based index).previousCategory - The previous category (will be null when the first category is
drawn).
Copyright © 2003 MBARI.
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.