public final class SVGSimpleLinearAxis
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
SVGSimpleLinearAxis.Alignment
Flag for axis label position.
|
static class |
SVGSimpleLinearAxis.LabelStyle
Labeling style: left-handed, right-handed, no ticks, labels at ends
|
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
CSS_AXIS
CSS class name for the axes
|
private static java.lang.String |
CSS_AXIS_LABEL
CSS class name for the axes
|
private static java.lang.String |
CSS_AXIS_TICK
CSS class name for the axes
|
| Modifier | Constructor and Description |
|---|---|
private |
SVGSimpleLinearAxis()
Private constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
drawAxis(SVGPlot plot,
org.w3c.dom.Element parent,
LinearScale scale,
double x1,
double y1,
double x2,
double y2,
SVGSimpleLinearAxis.LabelStyle labelstyle,
StyleLibrary style)
Plot an axis with appropriate scales
|
private static void |
setupCSSClasses(java.lang.Object owner,
CSSClassManager manager,
StyleLibrary style)
Register CSS classes with a
CSSClassManager |
private static final java.lang.String CSS_AXIS
private static final java.lang.String CSS_AXIS_TICK
private static final java.lang.String CSS_AXIS_LABEL
private SVGSimpleLinearAxis()
private static void setupCSSClasses(java.lang.Object owner,
CSSClassManager manager,
StyleLibrary style)
throws CSSClassManager.CSSNamingConflict
CSSClassManagerowner - Owner of the CSS classesmanager - Manager to register the classes withCSSClassManager.CSSNamingConflict - when a name clash occurspublic static void drawAxis(SVGPlot plot, org.w3c.dom.Element parent, LinearScale scale, double x1, double y1, double x2, double y2, SVGSimpleLinearAxis.LabelStyle labelstyle, StyleLibrary style) throws CSSClassManager.CSSNamingConflict
plot - Plot objectparent - Containing elementscale - axis scale informationx1 - starting coordinatey1 - starting coordinatex2 - ending coordinatey2 - ending coordinatelabelstyle - Style for placing the labelsstyle - Style libraryCSSClassManager.CSSNamingConflict - when a conflict occurs in CSSCopyright © 2019 ELKI Development Team. License information.