M
- the data type of the axispublic class GaugeAxis<M> extends Axis<M,Number>
Axis
to be used with GaugeSeries
.axisConfig, bbox, chart, displayGrid, from, hidden, labelConfig, labelNames, labelProvider, labels, lastIndex, lines, steps, titleConfig, titleSprite, to, toolTip, toolTipConfig, x, y
Modifier and Type | Method and Description |
---|---|
void |
drawAxis(boolean init)
Renders the axis into the screen and updates it's position.
|
void |
drawLabels()
Renders the labels in the axes.
|
double |
getMargin()
Returns the margins of the axis.
|
double |
getMaximum()
Returns the maximum value displayed on the axis.
|
double |
getMinimum()
Returns the minimum value displayed on the axis.
|
Chart.Position |
getPosition()
Returns the
Chart.Position of the axis. |
int |
getSteps()
Returns the steps of the axis.
|
void |
setMargin(double margin)
Sets the margins of the axis.
|
void |
setMaximum(double maximum)
Sets the maximum value displayed on the axis.
|
void |
setMinimum(double minimum)
Sets the minimum value displayed on the axis
|
void |
setSteps(int steps)
Sets the number of steps on the axis.
|
addAxisHandler, addAxisItemOutHandler, addAxisItemOverHandler, addAxisItemUpHandler, addAxisSelectionHandler, clear, ensureHandlers, getAxisConfig, getBBox, getChart, getFrom, getLabelConfig, getLabelProvider, getTitleConfig, getTo, getX, getY, isDisplayGrid, isHidden, onMouseDown, onMouseMove, onMouseOut, onMouseUp, removeToolTip, setAxisConfig, setChart, setDisplayGrid, setHidden, setLabelConfig, setLabelProvider, setTitleConfig, setToolTipConfig, setX, setY
public GaugeAxis()
Axis
.public void drawAxis(boolean init)
Axis
public void drawLabels()
Axis
drawLabels
in class Axis<M,Number>
public double getMargin()
public double getMaximum()
public double getMinimum()
public Chart.Position getPosition()
Axis
Chart.Position
of the axis.getPosition
in class Axis<M,Number>
public int getSteps()
public void setMargin(double margin)
margin
- the margins of the axispublic void setMaximum(double maximum)
maximum
- the maximum value displayed on the axispublic void setMinimum(double minimum)
minimum
- the minimum value displayed on the axispublic void setSteps(int steps)
steps
- the number of steps on the axisCopyright © 2018. All rights reserved.