| Modifier and Type | Class and Description |
|---|---|
static class |
XAxis.Position
The position of the X axis.
|
| Constructor and Description |
|---|
XAxis(LineChart chart)
Constructor for a
LineChart. |
| Modifier and Type | Method and Description |
|---|---|
XAxis.Position |
getPosition()
Returns the position of the x axis.
|
void |
paintOn(GraphicContext gc,
PaintInstructions abc)
Paints the current content onto the graphic context.
|
XAxis |
position(XAxis.Position newPosition)
Sets the position of the x axis.
|
void |
setPosition(XAxis.Position position)
Sets the position of the x axis.
|
addRefreshListener, arrowSize, bigTickSize, bigTickSteps, getArrowSize, getBigTickSize, getBigTickSteps, getTickSize, getTickSteps, removeRefreshListener, setArrowSize, setBigTickSize, setBigTickSteps, setTickSize, setTickSteps, tickSize, tickStepsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsnipNecessarySpacepublic void paintOn(GraphicContext gc, PaintInstructions abc)
ChartPartgc - graphic context; coordinates are relative to the Chartabc - additional instructions like the area to paint onpublic XAxis.Position getPosition()
public XAxis position(XAxis.Position newPosition)
newPosition - the position; cannot be nullpublic void setPosition(XAxis.Position position)
position - the position; cannot be nullCopyright © 2020. All rights reserved.