public class ScatterGraph2DRenderer extends Graph2DRenderer<ScatterGraph2DRendererUpdate>
Modifier and Type | Field and Description |
---|---|
static List<InterpolationScheme> |
supportedInterpolationScheme |
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 |
---|
ScatterGraph2DRenderer(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D g,
Point2DDataset data) |
ScatterGraph2DRendererUpdate |
newUpdate()
Creates a new update for the given graph.
|
void |
update(ScatterGraph2DRendererUpdate 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, setupYAsPoints
public static List<InterpolationScheme> supportedInterpolationScheme
public ScatterGraph2DRendererUpdate newUpdate()
Graph2DRenderer
newUpdate
in class Graph2DRenderer<ScatterGraph2DRendererUpdate>
public void update(ScatterGraph2DRendererUpdate update)
Graph2DRenderer
When 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<ScatterGraph2DRendererUpdate>
update
- the update to applypublic void draw(Graphics2D g, Point2DDataset data)
Copyright © 2015. All rights reserved.