M
- the data type of the axispublic class TimeAxis<M> extends CategoryAxis<M,Date>
CategoryAxis
for
axis instead.field
minorTickSteps, position, ticks
axisConfig, bbox, chart, displayGrid, from, hidden, labelConfig, labelNames, labelProvider, labels, lastIndex, lines, steps, titleConfig, titleSprite, to, toolTip, toolTipConfig, x, y
Constructor and Description |
---|
TimeAxis()
Creates a time axis.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyData()
Applies the field data to the labels of the axis.
|
protected void |
createLabels()
Creates the list of labels to display.
|
Date |
getEndDate()
Returns the ending date of the axis.
|
Date |
getStartDate()
Returns the starting date of the axis.
|
void |
setEndDate(Date endDate)
Sets the ending date of the axis.
|
void |
setStartDate(Date startDate)
Sets the starting date of the axis.
|
getField, setField
clear, drawAxis, drawLabels, getDashSize, getDepth, getGridDefaultConfig, getGridEvenConfig, getGridOddConfig, getHeight, getLabelStepRatio, getLabelTolerance, getLength, getMinorTickSteps, getPosition, getTextLabelPadding, getWidth, isLabelOverlapHiding, setDashSize, setDepth, setGridDefaultConfig, setGridEvenConfig, setGridOddConfig, setHeight, setLabelOverlapHiding, setLabelPadding, setLabelStepRatio, setLabelTolerance, setLength, setMinorTickSteps, setPosition, setWidth
addAxisHandler, addAxisItemOutHandler, addAxisItemOverHandler, addAxisItemUpHandler, addAxisSelectionHandler, ensureHandlers, getAxisConfig, getBBox, getChart, getFrom, getLabelConfig, getLabelProvider, getTitleConfig, getTo, getX, getY, isDisplayGrid, isHidden, onMouseDown, onMouseMove, onMouseOut, onMouseUp, removeToolTip, setAxisConfig, setChart, setDisplayGrid, setHidden, setLabelConfig, setLabelProvider, setTitleConfig, setToolTipConfig, setX, setY
public Date getEndDate()
public Date getStartDate()
public void setEndDate(Date endDate)
endDate
- the ending date of the axispublic void setStartDate(Date startDate)
startDate
- the starting date of the axisprotected void applyData()
CartesianAxis
applyData
in class CategoryAxis<M,Date>
protected void createLabels()
CartesianAxis
createLabels
in class CategoryAxis<M,Date>
Copyright © 2018. All rights reserved.