Uses of Enum
org.rrd4j.graph.TimeUnit
Packages that use TimeUnit
-
Uses of TimeUnit in org.rrd4j.graph
Fields in org.rrd4j.graph declared as TimeUnitModifier and TypeFieldDescription(package private) final TimeUnit
TimeAxisSetting.labelUnit
(package private) final TimeUnit
TimeAxisSetting.majorUnit
(package private) final TimeUnit
TimeAxisSetting.minorUnit
Fields in org.rrd4j.graph with type parameters of type TimeUnitModifier and TypeFieldDescription(package private) java.util.function.Function
<TimeUnit, Optional<TimeLabelFormat>> RrdGraphDef.formatProvider
Methods in org.rrd4j.graph that return TimeUnitModifier and TypeMethodDescriptionstatic TimeUnit
TimeUnit.resolveUnit
(int unitKey) static TimeUnit
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 TimeUnitModifier and TypeMethodDescriptionvoid
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 TimeUnitModifierConstructorDescription(package private)
TimeAxisSetting
(long secPerPix, TimeUnit minorUnit, int minorUnitCount, TimeUnit majorUnit, int majorUnitCount, TimeUnit labelUnit, int labelUnitCount, int labelSpan) (package private)
TimeAxisSetting
(long secPerPix, TimeUnit minorUnit, int minorUnitCount, TimeUnit majorUnit, int majorUnitCount, TimeUnit labelUnit, int labelUnitCount, int labelSpan, TimeLabelFormat format)