Package | Description |
---|---|
org.rrd4j.graph |
RRD4J graph capabilities.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleTimeLabelFormat
Simple time label using a format similar to
strftime . |
Modifier and Type | Field and Description |
---|---|
(package private) TimeLabelFormat |
TimeAxisSetting.format |
(package private) TimeLabelFormat |
RrdGraphDef.timeLabelFormat |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.function.Function<TimeUnit,Optional<TimeLabelFormat>> |
RrdGraphDef.formatProvider |
Modifier and Type | Method and Description |
---|---|
void |
RrdGraphDef.setTimeAxis(int minorUnit,
int minorUnitCount,
int majorUnit,
int majorUnitCount,
int labelUnit,
int labelUnitCount,
int labelSpan,
TimeLabelFormat format)
It configure the x-axis grid in the same way than
RrdGraphDef.setTimeAxis(int, int, int, int, int, int, int, String) , but it allows
to use a TimeLabelFormat to format the date label. |
void |
RrdGraphDef.setTimeLabelFormat(TimeLabelFormat format)
This allows to keep the default major and minor grid unit, but with changing only the label formatting,
using a
TimeLabelFormat |
(package private) TimeAxisSetting |
TimeAxisSetting.withLabelFormat(TimeLabelFormat f) |
Modifier and Type | Method and Description |
---|---|
void |
RrdGraphDef.setTimeLabelFormatter(java.util.function.Function<TimeUnit,Optional<TimeLabelFormat>> formatProvider)
This allows to keep the default major and minor grid unit, but with changing only the label formatting,
that will be formatted differently according to
TimeUnit chosen for the time axis. |
Constructor and Description |
---|
TimeAxisSetting(int minorUnit,
int minorUnitCount,
int majorUnit,
int majorUnitCount,
int labelUnit,
int labelUnitCount,
int labelSpan,
TimeLabelFormat format) |
TimeAxisSetting(long secPerPix,
TimeUnit minorUnit,
int minorUnitCount,
TimeUnit majorUnit,
int majorUnitCount,
TimeUnit labelUnit,
int labelUnitCount,
int labelSpan,
TimeLabelFormat format) |