Uses of Class
org.rrd4j.graph.TimeUnit
-
Packages that use TimeUnit Package Description org.rrd4j.graph RRD4J graph capabilities. -
-
Uses of TimeUnit in org.rrd4j.graph
Fields in org.rrd4j.graph declared as TimeUnit Modifier and Type Field Description (package private) TimeUnit
TimeAxisSetting. labelUnit
(package private) TimeUnit
TimeAxisSetting. majorUnit
(package private) TimeUnit
TimeAxisSetting. minorUnit
Fields in org.rrd4j.graph with type parameters of type TimeUnit Modifier and Type Field Description (package private) java.util.function.Function<TimeUnit,Optional<TimeLabelFormat>>
RrdGraphDef. formatProvider
Methods in org.rrd4j.graph that return TimeUnit Modifier and Type Method Description static TimeUnit
TimeUnit. resolveUnit(int unitKey)
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.Method parameters in org.rrd4j.graph with type arguments of type TimeUnit Modifier and Type Method 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 toTimeUnit
chosen for the time axis.Constructors in org.rrd4j.graph with parameters of type TimeUnit Constructor Description TimeAxisSetting(long secPerPix, TimeUnit minorUnit, int minorUnitCount, TimeUnit majorUnit, int majorUnitCount, TimeUnit labelUnit, int labelUnitCount, int labelSpan)
TimeAxisSetting(long secPerPix, TimeUnit minorUnit, int minorUnitCount, TimeUnit majorUnit, int majorUnitCount, TimeUnit labelUnit, int labelUnitCount, int labelSpan, TimeLabelFormat format)
-