public class DisplayFormats extends Object
Modifier and Type | Method and Description |
---|---|
Axis |
getAxis()
Returns the axis instance.
|
String |
getDisplayFormat(TimeUnit unit)
Returns the display formats are used to configure how different time units are formed in the strings for the axis tick marks.
|
void |
setDisplayFormat(TimeUnit unit,
String format)
Sets the display formats are used to configure how different time units are formed in the strings for the axis tick marks.
|
public void setDisplayFormat(TimeUnit unit, String format)
unit
- time unit.format
- display formatpublic String getDisplayFormat(TimeUnit unit)
unit
- time unit.public final Axis getAxis()