public class ProfileSparklineGraph2D extends ProfileGraph2D<SparklineGraph2DRenderer,Point2DDataset>
SparklineGraph2DRenderer.
Takes a Point2DDataset dataset and repeatedly renders through a SparklineGraph2DRenderer.data, LOG_FILEPATH, renderer| Constructor and Description |
|---|
ProfileSparklineGraph2D() |
| Modifier and Type | Method and Description |
|---|---|
protected Point2DDataset |
getDataset()
Gets a set of random Gaussian 2D point data.
|
String |
getGraphTitle()
Returns the name of the graph being profiled.
|
protected SparklineGraph2DRenderer |
getRenderer(int imageWidth,
int imageHeight)
Returns the renderer used in the render loop.
|
LinkedHashMap<String,Graph2DRendererUpdate> |
getVariations()
Gets the updates associated with the renderer in a map, linking a
description of the update to the update object.
|
protected void |
render(Graphics2D graphics,
SparklineGraph2DRenderer renderer,
Point2DDataset data)
Draws the 2D point data in a sparkline graph.
|
getLogFileName, getNumDataPoints, getProfileTitle, getRenderSettings, getResolution, getSaveSettings, iterationAction, postIterationAction, preLoopAction, saveImage, saveStatistics, setNumDataPointsgetProfileSettings, getStatistics, graphStatistics, printStatistics, profile, saveStatisticsprotected Point2DDataset getDataset()
getDataset in class ProfileGraph2D<SparklineGraph2DRenderer,Point2DDataset>SparklineGraph2DRenderer dataprotected SparklineGraph2DRenderer getRenderer(int imageWidth, int imageHeight)
SparklineGraph2DRenderer.getRenderer in class ProfileGraph2D<SparklineGraph2DRenderer,Point2DDataset>imageWidth - width of rendered image in pixelsimageHeight - height of rendered image in pixelsprotected void render(Graphics2D graphics, SparklineGraph2DRenderer renderer, Point2DDataset data)
render in class ProfileGraph2D<SparklineGraph2DRenderer,Point2DDataset>graphics - where image draws torenderer - what draws the imagedata - the 2D point data being drawnpublic String getGraphTitle()
getGraphTitle in class ProfileGraph2D<SparklineGraph2DRenderer,Point2DDataset>SparklineGraph2DRenderer titlepublic LinkedHashMap<String,Graph2DRendererUpdate> getVariations()
getVariations in class ProfileGraph2D<SparklineGraph2DRenderer,Point2DDataset>Copyright © 2015. All rights reserved.