com.sencha.gxt.chart.client.chart.axis
Class CategoryAxis<M,V>
java.lang.Object
com.sencha.gxt.chart.client.chart.axis.Axis<M,V>
com.sencha.gxt.chart.client.chart.axis.CartesianAxis<M,V>
com.sencha.gxt.chart.client.chart.axis.CategoryAxis<M,V>
- Type Parameters:
M - the data type of the axisV - the variable type of axis
- All Implemented Interfaces:
- AxisHandler.HasAxisHandlers, AxisItemOutEvent.HasAxisItemOutHandlers, AxisItemOverEvent.HasAxisItemOverHandlers, AxisSelectionEvent.HasAxisSelectionHandlers
- Direct Known Subclasses:
- TimeAxis
public class CategoryAxis<M,V>
- extends CartesianAxis<M,V>
A type of axis that displays items in categories. This axis is generally used
to display categorical information like names of items, month names,
quarters, etc. but no quantitative values. For the other types of information
NumericAxis is more suitable.
| Methods inherited from class com.sencha.gxt.chart.client.chart.axis.CartesianAxis |
delete, drawAxis, drawLabels, getDashSize, getDepth, getGridDefaultConfig, getGridEvenConfig, getGridOddConfig, getHeight, getLabelTolerance, getLength, getMinorTickSteps, getPosition, getTextLabelPadding, getWidth, setDashSize, setDepth, setGridDefaultConfig, setGridEvenConfig, setGridOddConfig, setHeight, setLabelTolerance, setLength, setMinorTickSteps, setPosition, setTextLabelPadding, setWidth |
| 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 |
CategoryAxis
public CategoryAxis()
getField
public ValueProvider<M,V> getField()
- Returns the
ValueProvider used for labels on the axis.
- Returns:
- the value provider used for labels on the axis
setField
public void setField(ValueProvider<M,V> field)
- Sets the
ValueProvider used for labels on the axis.
- Parameters:
field - the value provider used for labels on the axis
Copyright © 2011. All Rights Reserved.