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, xValueScale, yAreaCoordEnd, yAreaCoordStart, yLabelMargin, yPlotCoordEnd, yPlotCoordHeight, yPlotCoordStart, yPlotValueEnd, yPlotValueStart, yPointMargin, yReferenceCoords, yReferenceLabels, yReferenceValues, yValueScale| 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. 
 | 
Integer | 
getFocusPixelX()  | 
Integer | 
getFocusValueIndex()  | 
AreaGraph2DRendererUpdate | 
newUpdate()
Creates a new update for the given graph. 
 | 
void | 
update(AreaGraph2DRendererUpdate update)
Applies the update to the renderer. 
 | 
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, setupYAsPointspublic AreaGraph2DRendererUpdate newUpdate()
Graph2DRenderernewUpdate in class Graph2DRenderer<AreaGraph2DRendererUpdate>public void update(AreaGraph2DRendererUpdate update)
Graph2DRendererWhen sub-classing, one should re-implement this method by first calling it and then applying all the updates specific to the sub-class.
update in class Graph2DRenderer<AreaGraph2DRendererUpdate>update - the update to applypublic void draw(Graphics2D graphics, Cell1DDataset dataset)
graphics - Graphics2D: can not be null.dataset - Cell1DDatasetpublic Integer getFocusPixelX()
public Integer getFocusValueIndex()
Copyright © 2015. All rights reserved.