|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.chart.client.chart.axis.Axis<M,V>
com.sencha.gxt.chart.client.chart.axis.CartesianAxis<M,V>
M - the data type of the axisV - the variable type of axispublic abstract class CartesianAxis<M,V>
An axis in Cartesian coordinates.
| Constructor Summary | |
|---|---|
CartesianAxis()
Create a Cartesian axis. |
|
| Method Summary | |
|---|---|
void |
delete()
Removes all the sprites of the axis from the surface. |
void |
drawAxis(boolean init)
Renders the axis into the screen and updates it's position. |
void |
drawLabels()
Renders the labels in the axes. |
int |
getDashSize()
Returns the dash size of the axis. |
double |
getDepth()
Returns the depth of the axis. |
PathSprite |
getGridDefaultConfig()
Returns the config for the default axis grid. |
PathSprite |
getGridEvenConfig()
Returns the config for the grid on the even indices. |
PathSprite |
getGridOddConfig()
Returns the config for the grid on the odd indices. |
double |
getHeight()
Returns the height of the axis. |
double |
getLabelTolerance()
Returns the intersection tolerance of labels on the axis. |
double |
getLength()
Returns the length of the axis. |
int |
getMinorTickSteps()
Returns the number of ticks between major ticks. |
Chart.Position |
getPosition()
Returns the Chart.Position of the axis. |
int |
getTextLabelPadding()
Returns the padding between labels on the axis. |
double |
getWidth()
Returns the width of the axis. |
void |
setDashSize(int dashSize)
Sets the dash size of the axis. |
void |
setDepth(double depth)
Sets the depth of the axis. |
void |
setGridDefaultConfig(PathSprite defaultGridConfig)
Sets the config for the default axis grid. |
void |
setGridEvenConfig(PathSprite gridEvenConfig)
Sets the config for the grid on the even indices. |
void |
setGridOddConfig(PathSprite gridOddConfig)
Sets the config for the grid on the odd indices. |
void |
setHeight(double height)
Sets the height of the axis. |
void |
setLabelTolerance(double labelTolerance)
Sets the intersection tolerance of labels on the axis. |
void |
setLength(double length)
Sets the length of the axis. |
void |
setMinorTickSteps(int minorTickSteps)
Sets the number of ticks between major ticks. |
void |
setPosition(Chart.Position position)
Sets the Chart.Position of the axis. |
void |
setTextLabelPadding(int textLabelPadding)
Sets the padding between labels on the axis. |
void |
setWidth(double width)
Sets the width of the axis. |
| Methods inherited from class com.sencha.gxt.chart.client.chart.axis.Axis |
|---|
addAxisHandler, addAxisItemOutHandler, addAxisItemOverHandler, addAxisSelectionHandler, getAxisConfig, getBBox, getChart, getFrom, getLabelConfig, getLabelProvider, getSteps, getTitleConfig, getTo, getX, getY, isDisplayGrid, isHidden, onMouseDown, onMouseMove, onMouseOut, removeToolTip, setAxisConfig, setChart, setDisplayGrid, setHidden, setLabelConfig, setLabelProvider, setSteps, setTitleConfig, setToolTipConfig, setX, setY |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CartesianAxis()
| Method Detail |
|---|
public void delete()
Axis
delete in class Axis<M,V>public void drawAxis(boolean init)
Axis
drawAxis in class Axis<M,V>init - true if the initial draw callpublic void drawLabels()
Axis
drawLabels in class Axis<M,V>public int getDashSize()
public double getDepth()
public PathSprite getGridDefaultConfig()
public PathSprite getGridEvenConfig()
public PathSprite getGridOddConfig()
public double getHeight()
public double getLabelTolerance()
public double getLength()
public int getMinorTickSteps()
public Chart.Position getPosition()
AxisChart.Position of the axis.
getPosition in class Axis<M,V>public int getTextLabelPadding()
public double getWidth()
public void setDashSize(int dashSize)
dashSize - the dash size of the axispublic void setDepth(double depth)
depth - the depth of the axispublic void setGridDefaultConfig(PathSprite defaultGridConfig)
defaultGridConfig - the config for the default axis gridpublic void setGridEvenConfig(PathSprite gridEvenConfig)
gridEvenConfig - the config for the grid on the even indicespublic void setGridOddConfig(PathSprite gridOddConfig)
gridOddConfig - the config for the grid on the odd indicespublic void setHeight(double height)
height - the height of the axispublic void setLabelTolerance(double labelTolerance)
labelTolerance - the intersection tolerance of labels on the axispublic void setLength(double length)
length - the length of the axispublic void setMinorTickSteps(int minorTickSteps)
minorTickSteps - the number of ticks between major tickspublic void setPosition(Chart.Position position)
Chart.Position of the axis.
position - the position of the axispublic void setTextLabelPadding(int textLabelPadding)
textLabelPadding - the padding between labels on the axispublic void setWidth(double width)
width - the width of the axis
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||