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
|
thumbmask
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)
Produce a visualization instance for the given task
|
void |
processNewResult(HierarchicalResult baseResult,
Result result)
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)
VisFactory
makeVisualization
in interface VisFactory
makeVisualization
in class AbstractVisFactory
task
- Visualization taskprivate void setupCSS(VisualizerContext context, SVGPlot svgp)
svgp
- Plotpublic void processNewResult(HierarchicalResult baseResult, Result result)
VisFactory
baseResult
- Context to work withresult
- Result to processpublic boolean allowThumbnails(VisualizationTask task)
AbstractVisFactory
allowThumbnails
in class AbstractVisFactory
task
- Task requested