com.sencha.gxt.chart.client.chart.axis
Class CategoryAxis<M,V>

java.lang.Object
  extended by com.sencha.gxt.chart.client.chart.axis.Axis<M,V>
      extended by com.sencha.gxt.chart.client.chart.axis.CartesianAxis<M,V>
          extended by com.sencha.gxt.chart.client.chart.axis.CategoryAxis<M,V>
Type Parameters:
M - the data type of the axis
V - 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.


Constructor Summary
CategoryAxis()
           
 
Method Summary
 ValueProvider<M,V> getField()
          Returns the ValueProvider used for labels on the axis.
 void setField(ValueProvider<M,V> field)
          Sets the ValueProvider used for labels on the axis.
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryAxis

public CategoryAxis()
Method Detail

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.