Package | Description |
---|---|
org.pepstock.charba.client.configuration |
Contains all elements to configure a chart instance (know as chart options at instance level).
|
org.pepstock.charba.client.defaults |
Contains all interfaces need to provide defaults values of the chart options.
|
org.pepstock.charba.client.defaults.chart |
Contains the default values of chart options based on type of chart instance.
|
org.pepstock.charba.client.defaults.globals |
Contains the default values of chart options for all chart types (CHART.JS options defaults).
|
org.pepstock.charba.client.enums |
Contains all enumerations of some chart options where only a specific set of values can be set.
|
org.pepstock.charba.client.options |
Contains all elements to configure charts at global level (know as chart global options).
|
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 |
---|---|
String |
DisplayFormats.getDisplayFormat(TimeUnit unit)
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 unit,
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.
|
Modifier and Type | Method and Description |
---|---|
TimeUnit |
IsDefaultTime.getMinUnit()
The minimum display format to be used for a time unit.
|
TimeUnit |
IsDefaultTime.getRound()
If defined, dates will be rounded to the start of this unit.
|
TimeUnit |
IsDefaultTime.getUnit()
If defined, will force the unit to be a certain type.
|
Modifier and Type | Method and Description |
---|---|
TimeUnit |
DefaultChartTime.getMinUnit() |
TimeUnit |
DefaultChartTime.getRound() |
TimeUnit |
DefaultChartTime.getUnit() |
Modifier and Type | Method and Description |
---|---|
TimeUnit |
DefaultTime.getMinUnit() |
TimeUnit |
DefaultTime.getRound() |
TimeUnit |
DefaultTime.getUnit() |
Modifier and Type | Method and Description |
---|---|
static TimeUnit |
TimeUnit.valueOf(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 |
---|---|
String |
DisplayFormats.getDisplayFormat(TimeUnit unit)
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 unit,
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.
|