| Modifier and Type | Class and Description |
|---|---|
static class |
YAxis.Position
The position of the Y axis.
|
| Constructor and Description |
|---|
YAxis(LineChart chart)
Constructor for a
LineChart. |
| Modifier and Type | Method and Description |
|---|---|
YAxis.Position |
getPosition()
Returns the position of the y axis.
|
void |
paintOn(GraphicContext gc,
PaintInstructions instructions)
Paints the current content onto the graphic context.
|
YAxis |
position(YAxis.Position newPosition)
Sets the position of the y axis.
|
void |
setPosition(YAxis.Position position)
Sets the position of the y 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 instructions)
ChartPartgc - graphic context; coordinates are relative to the Chartinstructions - additional instructions like the area to paint onpublic YAxis.Position getPosition()
public YAxis position(YAxis.Position newPosition)
newPosition - the position; cannot be nullpublic void setPosition(YAxis.Position position)
position - the position; cannot be nullCopyright © 2020. All rights reserved.