|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.chart.axis.Axis com.jidesoft.chart.axis.CategoryAxis<T>
T
- the type of object described by the categoriespublic class CategoryAxis<T>
An axis used specifically for displaying categorical values.
Field Summary |
---|
Fields inherited from class com.jidesoft.chart.axis.Axis |
---|
MIN_RESOLUTION, PROPERTY_AXIS_COLOR, PROPERTY_LABEL, PROPERTY_MINOR_TICK_COLOR, PROPERTY_MINOR_TICK_LENGTH, PROPERTY_RANGE, PROPERTY_STROKE, PROPERTY_TICK_CALCULATOR, PROPERTY_TICK_COLOR, PROPERTY_TICK_FONT, PROPERTY_TICK_LABEL_COLOR, PROPERTY_TICK_LENGTH, PROPERTY_TICKS, PROPERTY_UPDATE_OTHER_AXES |
Constructor Summary | |
---|---|
CategoryAxis()
Creates a Category axis for a Category range with no categories. |
|
CategoryAxis(AutoPositionedLabel label)
Creates an empty category axis, and uses the supplied label object as a label for the axis |
|
CategoryAxis(CategoryRange<T> range)
Creates a category axis using the supplied CategoryRange to specify where to place the ticks and tick labels. |
|
CategoryAxis(CategoryRange<T> range,
String text)
Creates a CategoryAxis using the supplied CategoryRange to specify where to place the ticks and tick labels. |
|
CategoryAxis(String text)
Creates an empty category axis, but uses the supplied text as a label |
Method Summary | |
---|---|
AxisQuantity |
getQuantity()
Returns the CATEGORY quantity |
protected void |
init()
|
void |
setRange(double min,
double max)
Sets the range for the axis to be a numeric range with the supplied minimum and maximum values |
void |
setRange(Range<?> range)
Sets the range for the axis to be the supplied range |
void |
setRange(Range<?> range,
boolean updateOtherAxes)
Set the range of the axis. |
void |
setRange(Range<?> range,
boolean updateOtherAxes,
boolean fireEvent)
Sets the range, with the option of not firing a property change event. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CategoryAxis()
public CategoryAxis(String text)
text
- the text label for the axispublic CategoryAxis(AutoPositionedLabel label)
label
- the axis labelpublic CategoryAxis(CategoryRange<T> range)
range
- the range of Category values to display along the axispublic CategoryAxis(CategoryRange<T> range, String text)
range
- the range of Category values to display along the axistext
- the text to use as the axis labelMethod Detail |
---|
protected void init()
public AxisQuantity getQuantity()
getQuantity
in class Axis
public void setRange(Range<?> range, boolean updateOtherAxes, boolean fireEvent)
Axis
setRange
in class Axis
public void setRange(Range<?> range)
Axis
setRange
in class Axis
range
- the new rangepublic void setRange(Range<?> range, boolean updateOtherAxes)
Axis
setRange
in class Axis
public void setRange(double min, double max)
Axis
setRange
in class Axis
min
- the minimum value for the rangemax
- the maximum value for the range
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |