public class AreaGraph2DRenderer extends Graph2DRenderer<AreaGraph2DRendererUpdate>
backgroundColor, bottomAreaMargin, bottomMargin, g, labelColor, labelFont, labelFontMetrics, leftAreaMargin, leftMargin, referenceLineColor, rightAreaMargin, rightMargin, topAreaMargin, topMargin, xAreaCoordEnd, xAreaCoordStart, xLabelMargin, xPlotCoordEnd, xPlotCoordStart, xPlotCoordWidth, xPlotValueEnd, xPlotValueStart, xPointMargin, xReferenceCoords, xReferenceLabels, xReferenceValues, yAreaCoordEnd, yAreaCoordStart, yLabelMargin, yPlotCoordEnd, yPlotCoordHeight, yPlotCoordStart, yPlotValueEnd, yPlotValueStart, yPointMargin, yReferenceCoords, yReferenceLabels, yReferenceValues| Constructor and Description |
|---|
AreaGraph2DRenderer(int imageWidth,
int imageHeight) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D graphics,
Cell1DDataset dataset)
Draws the area to be put behind a graph on the given Graphics2D context, given the Cell1DDataset.
|
AreaGraph2DRendererUpdate |
newUpdate()
Creates a new update for the given graph.
|
calculateGraphArea, calculateLabels, calculateRanges, drawBackground, drawGraphArea, drawHorizontalReferenceLines, drawValueExplicitLine, drawValueLine, drawVerticalReferenceLines, drawXLabels, drawYLabels, getImageHeight, getImageWidth, getXAggregatedRange, getXAxisRange, getXPlotRange, getYAggregatedRange, getYAxisRange, getYPlotRange, processScaledValue, scaledX, scaledY, setClip, setupDataAsAreas, setupDataAsPoints, setupXAsAreas, setupXAsPoints, setupYAsAreas, setupYAsPoints, updatepublic AreaGraph2DRendererUpdate newUpdate()
Graph2DRenderernewUpdate in class Graph2DRenderer<AreaGraph2DRendererUpdate>public void draw(Graphics2D graphics, Cell1DDataset dataset)
graphics - Graphics2D: can not be null.dataset - Cell1DDatasetCopyright © 2012-2014 Brookhaven National Laboratory, University of Michigan. All Rights Reserved.