public final class DefaultChartTime extends Object implements IsDefaultTime
| Modifier and Type | Method and Description |
|---|---|
TimeUnit |
getMinUnit()
The minimum display format to be used for a time unit.
|
String |
getParser()
Defined as a string, it is interpreted as a custom format to be used by moment to parse the date.
|
TimeUnit |
getRound()
If defined, dates will be rounded to the start of this unit.
|
double |
getStepSize()
The number of units between grid lines.
|
String |
getTooltipFormat()
The moment js format string to use for the tooltip.
|
TimeUnit |
getUnit()
If defined, will force the unit to be a certain type.
|
boolean |
isIsoWeekday()
If true and the unit is set to 'week', then the first day of the week will be Monday.
|
public boolean isIsoWeekday()
IsDefaultTimeisIsoWeekday in interface IsDefaultTimepublic TimeUnit getRound()
IsDefaultTimegetRound in interface IsDefaultTimepublic String getTooltipFormat()
IsDefaultTimegetTooltipFormat in interface IsDefaultTimepublic TimeUnit getUnit()
IsDefaultTimegetUnit in interface IsDefaultTimepublic double getStepSize()
IsDefaultTimegetStepSize in interface IsDefaultTimepublic TimeUnit getMinUnit()
IsDefaultTimegetMinUnit in interface IsDefaultTimepublic String getParser()
IsDefaultTimegetParser in interface IsDefaultTime