public class XYCurveVisualization extends AbstractVisFactory
Modifier and Type | Field and Description |
---|---|
private static String |
CSS_AXIS_LABEL
Axis labels
|
private static String |
NAME
Name for this visualizer.
|
private static String |
SERIESID
SVG class name for plot line
|
Constructor and Description |
---|
XYCurveVisualization()
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(VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Produce a visualization instance for the given task
|
void |
processNewResult(VisualizerContext context,
Object start)
Add visualizers for the given result (tree) to the context.
|
private void |
setupCSS(VisualizerContext context,
SVGPlot svgp)
Setup the CSS classes for the plot.
|
makeVisualizationOrThumbnail
private static final String NAME
private static final String SERIESID
private static final String CSS_AXIS_LABEL
public XYCurveVisualization()
public Visualization makeVisualization(VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
VisFactory
makeVisualization
in interface VisFactory
makeVisualization
in class AbstractVisFactory
task
- Visualization taskplot
- Plotwidth
- Widthheight
- Heightproj
- Projectionprivate void setupCSS(VisualizerContext context, SVGPlot svgp)
svgp
- Plotpublic void processNewResult(VisualizerContext context, Object start)
VisFactory
context
- Visualization contextstart
- Result to processpublic boolean allowThumbnails(VisualizationTask task)
AbstractVisFactory
allowThumbnails
in class AbstractVisFactory
task
- Task requestedCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.