|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.widgets.chart.yui.Axis
com.gwtext.client.widgets.chart.yui.NumericAxis
public class NumericAxis
A type of axis that displays items in categories.
| Field Summary |
|---|
| Fields inherited from class com.gwtext.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
NumericAxis()
|
|
| Method Summary | |
|---|---|
protected com.google.gwt.core.client.JavaScriptObject |
create()
|
void |
setAlwaysShowZero(boolean alwaysShowZero)
If true, and the bounds are calculated automatically, either the minimum or maximum will be set to zero. |
void |
setMajorUnit(int majorUnit)
The spacing between major intervals on this axis. |
void |
setMaximum(int maximum)
The maximum value drawn by the axis. |
void |
setMinimum(int minimum)
The minimum value drawn by the axis. |
void |
setMinorUnit(int minorUnit)
The spacing between minor intervals on this axis. |
void |
setScale(int scale)
The scaling algorithm to use on this axis. |
void |
setSnapToUnits(boolean snapToUnits)
If true, the labels, ticks, gridlines, and other objects will snap to the nearest major or minor unit. |
| Methods inherited from class com.gwtext.client.widgets.chart.yui.Axis |
|---|
getHideOverlappingLabels, getOrientation, getReverse, getType, setHideOverlappingLabels, setLabelFunction, setOrientation, setReverse, setType |
| Methods inherited from class com.gwtext.client.core.JsObject |
|---|
getJsObj, getProperties, isCreated, setJsObj |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NumericAxis()
| Method Detail |
|---|
protected com.google.gwt.core.client.JavaScriptObject create()
create in class Axispublic void setAlwaysShowZero(boolean alwaysShowZero)
alwaysShowZero - always show zeropublic void setMajorUnit(int majorUnit)
majorUnit - the spacing between major intervals on this axis.public void setMaximum(int maximum)
maximum - the maximum value drawn by the axis. If not set explicitly, the axis maximum will be calculated automatically.public void setMinimum(int minimum)
minimum - the minimum value drawn by the axis. If not set explicitly, the axis minimum will be calculated automatically.public void setMinorUnit(int minorUnit)
minorUnit - the spacing between minor intervals on this axis.public void setScale(int scale)
scale - the scaling algorithm to use on this axis. May be "linear" or "logarithmic".public void setSnapToUnits(boolean snapToUnits)
snapToUnits - true to snap to units
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||