Package | Description |
---|---|
org.pepstock.charba.client.enums | |
org.pepstock.charba.client.options.scales |
Modifier and Type | Method and Description |
---|---|
static TimeUnit |
TimeUnit.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeUnit[] |
TimeUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
TimeUnit |
Time.getMinUnit()
The minimum display format to be used for a time unit.
|
TimeUnit |
Time.getRound()
If defined, dates will be rounded to the start of this unit.
|
TimeUnit |
Time.getUnit()
If defined, will force the unit to be a certain type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
DisplayFormats.getDisplayFormat(TimeUnit key)
Returns the display formats are used to configure how different time units are formed into strings for the axis tick marks.
|
void |
DisplayFormats.setDisplayFormat(TimeUnit key,
java.lang.String format)
Sets the display formats are used to configure how different time units are formed into strings for the axis tick marks.
|
void |
Time.setMinUnit(TimeUnit unit)
The minimum display format to be used for a time unit.
|
void |
Time.setRound(TimeUnit round)
If defined, dates will be rounded to the start of this unit.
|
void |
Time.setUnit(TimeUnit unit)
If defined, will force the unit to be a certain type.
|