public final class CartesianTimeAxis extends Axis
Constructor and Description |
---|
CartesianTimeAxis(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
CartesianTimeAxis(AbstractChart<?,?> chart,
CartesianAxisType cartesianType)
Builds the object storing the chart instance and axis type.
|
Modifier and Type | Method and Description |
---|---|
ScaleBounds |
getBounds()
Returns the property controls the scale boundary strategy (bypassed by min/max time options).
|
CartesianAxisType |
getCartesianType() |
ScaleDistribution |
getDistribution()
Returns the property controls the data distribution along the scale.
|
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() |
Time |
getTime() |
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 |
setBounds(ScaleBounds bounds)
Sets the property controls the scale boundary strategy (bypassed by min/max time options).
|
void |
setDistribution(ScaleDistribution distribution)
Sets property controls the data distribution along the scale.
|
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, setWeight
getChart
checkAndGetDoubleValues, 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, type
public CartesianTimeAxis(AbstractChart<?,?> chart)
chart
- chart instanceCartesianAxisType.x
public CartesianTimeAxis(AbstractChart<?,?> chart, CartesianAxisType cartesianType)
chart
- chart instancecartesianType
- cartesian axis type.CartesianAxisType
public Time getTime()
public void setDistribution(ScaleDistribution distribution)
distribution
- property controls the data distribution along the scale.ScaleDistribution
public ScaleDistribution getDistribution()
ScaleDistribution
public void setBounds(ScaleBounds bounds)
bounds
- property controls the scale boundary strategy (bypassed by min/max time options).ScaleBounds
public ScaleBounds getBounds()
ScaleBounds
public CartesianScaleLabel getScaleLabel()
CartesianScaleLabel
public T getTicks()
Tick
public CartesianAxisType getCartesianType()
CartesianAxisType
public 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