public class CartesianCategoryAxis extends Axis
| Constructor and Description |
|---|
CartesianCategoryAxis(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
CartesianCategoryAxis(AbstractChart<?,?> chart,
CartesianAxisType cartesianType)
Builds the object storing the chart instance and axis type.
|
| Modifier and Type | Method and Description |
|---|---|
CartesianAxisType |
getCartesianType() |
GridLines |
getGrideLines() |
java.lang.String |
getId()
The ID is used to link datasets and scale axes together.
This is especially needed if multi-axes charts are used. |
Position |
getPosition()
Position of the axis in the chart.
|
CartesianScaleLabel |
getScaleLabel() |
T |
getTicks() |
boolean |
isOffset()
If true, extra space is added to the both edges and the axis is scaled to fit into the chart area.
|
boolean |
isStacked() |
void |
setId(java.lang.String id)
The ID is used to link datasets and scale axes together.
This is especially needed if multi-axes charts are used. |
void |
setOffset(boolean offset)
If true, extra space is added to the both edges and the axis is scaled to fit into the chart area.
|
void |
setPosition(Position position)
Position of the axis in the chart.
|
void |
setStacked(boolean stacked)
Sets if the axis are stacked or not.
|
getBuildTicksCallback, getCalculateTickRotationCallback, getDataLimitsCallback, getDimensionsCallback, getFitCallback, getScale, getTickToLabelConversionCallback, getType, getUpdateCallback, getWeight, isDisplay, onAfterBuildTicks, onAfterCalculateTickRotation, onAfterDataLimits, onAfterFit, onAfterSetDimensions, onAfterTickToLabelConversion, onAfterUpdate, onBeforeBuildTicks, onBeforeCalculateTickRotation, onBeforeDataLimits, onBeforeFit, onBeforeSetDimensions, onBeforeTickToLabelConversion, onBeforeUpdate, setBuildTicksCallback, setCalculateTickRotationCallback, setDataLimitsCallback, setDimensionsCallback, setDisplay, setFitCallback, setTickToLabelConversionCallback, setType, setUpdateCallback, setWeightgetChartcheckAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, typepublic CartesianCategoryAxis(AbstractChart<?,?> chart)
chart - chart instanceCartesianAxisType.xpublic CartesianCategoryAxis(AbstractChart<?,?> chart, CartesianAxisType cartesianType)
chart - chart instancecartesianType - cartesian axis type.CartesianAxisTypepublic CartesianScaleLabel getScaleLabel()
CartesianScaleLabelpublic T getTicks()
Tickpublic CartesianAxisType getCartesianType()
CartesianAxisTypepublic void setStacked(boolean stacked)
stacked - if the axis are stacked or not.public boolean isStacked()
public void setOffset(boolean offset)
offset - extra space of axispublic boolean isOffset()
public void setId(java.lang.String id)
id - The ID is used to link datasets and scale axes togetherpublic java.lang.String getId()
public void setPosition(Position position)
position - position of axisPosition