public class XYPlotVisualization extends java.lang.Object implements VisFactory
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CSS_AXIS_LABEL
Axis labels
|
private static java.lang.String |
NAME
Name for this visualizer.
|
private static java.lang.String |
SERIESID
SVG class name for plot line
|
Constructor and Description |
---|
XYPlotVisualization()
Constructor, Parameterizable style - does nothing.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowThumbnails(VisualizationTask task)
Test whether to do a thumbnail or a full rendering.
|
Visualization |
makeVisualization(VisualizerContext context,
VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Produce a visualization instance for the given task
|
void |
processNewResult(VisualizerContext context,
java.lang.Object start)
Add visualizers for the given result (tree) to the context.
|
private void |
setupCSS(VisualizerContext context,
SVGPlot svgp,
XYPlot plot)
Setup the CSS classes for the plot.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeVisualizationOrThumbnail
private static final java.lang.String NAME
private static final java.lang.String SERIESID
private static final java.lang.String CSS_AXIS_LABEL
public XYPlotVisualization()
public Visualization makeVisualization(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
VisFactory
makeVisualization
in interface VisFactory
context
- Visualization contexttask
- Visualization taskplot
- Plotwidth
- Widthheight
- Heightproj
- Projectionprivate void setupCSS(VisualizerContext context, SVGPlot svgp, XYPlot plot)
svgp
- Plotplot
- Plot to renderpublic void processNewResult(VisualizerContext context, java.lang.Object start)
VisFactory
processNewResult
in interface VisualizationProcessor
processNewResult
in interface VisFactory
context
- Visualization contextstart
- Result to processpublic boolean allowThumbnails(VisualizationTask task)
VisFactory
allowThumbnails
in interface VisFactory
task
- Task requestedCopyright © 2019 ELKI Development Team. License information.