public class MultilineGraph2DRenderer extends Graph2DRenderer
| Modifier and Type | Field and Description |
|---|---|
static List<InterpolationScheme> |
supportedInterpolationScheme
Supported interpolation schemes.
|
static List<ReductionScheme> |
supportedReductionScheme
Supported reduction schemes.
|
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 |
|---|
MultilineGraph2DRenderer(int imageWidth,
int imageHeight)
Uses constructor specified in super class (Graph2DRenderer)
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g,
List<Point2DDataset> data)
Draws a graph with multiple lines, each pertaining to a different set of data.
|
Graph2DRendererUpdate |
newUpdate()
Creates a new update for the given graph.
|
void |
update(MultilineGraph2DRendererUpdate update)
Updates private data by getting new values from update.
|
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 static List<InterpolationScheme> supportedInterpolationScheme
public static List<ReductionScheme> supportedReductionScheme
public MultilineGraph2DRenderer(int imageWidth,
int imageHeight)
imageWidth - should be equal to the width of the bufferedImage.imageHeight - should be equal to the height of the bufferedImage.public void draw(Graphics2D g, List<Point2DDataset> data)
g - Graphics2D object used to perform drawing functions within draw.data - can not be nullpublic void update(MultilineGraph2DRendererUpdate update)
update - public Graph2DRendererUpdate newUpdate()
Graph2DRenderernewUpdate in class Graph2DRendererCopyright © 2012–2014 Brookhaven National Laboratory, University of Michigan. All rights reserved.