M - the data type of the axispublic class GaugeAxis<M> extends Axis<M,Number>
Axis to be used with GaugeSeries.| 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, 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, setYpublic GaugeAxis()
Axis.public void drawAxis(boolean init)
Axispublic void drawLabels()
AxisdrawLabels in class Axis<M,Number>public double getMargin()
public double getMaximum()
public double getMinimum()
public Chart.Position getPosition()
AxisChart.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 © 2014. All Rights Reserved.