Packages that use TimeLabelFormat
Uses of TimeLabelFormat in org.rrd4j.graph
Classes in org.rrd4j.graph that implement TimeLabelFormatModifier and TypeClassDescriptionclassSimple time label using a format similar tostrftime.Fields in org.rrd4j.graph declared as TimeLabelFormatModifier and TypeFieldDescription(package private) final TimeLabelFormatTimeAxisSetting.formatHow a label's time is rendered.(package private) TimeLabelFormatRrdGraphDef.timeLabelFormatCustom time label format for the x-axis.Fields in org.rrd4j.graph with type parameters of type TimeLabelFormatModifier and TypeFieldDescription(package private) java.util.function.Function<TimeUnit, Optional<TimeLabelFormat>> RrdGraphDef.formatProviderProvider that returns a TimeLabelFormat based on the TimeUnit.Methods in org.rrd4j.graph with parameters of type TimeLabelFormatModifier and TypeMethodDescriptionvoidRrdGraphDef.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 thanRrdGraphDef.setTimeAxis(int, int, int, int, int, int, int, String), but it allows to use aTimeLabelFormatto format the date label.voidRrdGraphDef.setTimeLabelFormat(TimeLabelFormat format) This allows to keep the default major and minor grid unit, but with changing only the label formatting, using aTimeLabelFormat(package private) TimeAxisSettingTimeAxisSetting.withLabelFormat(TimeLabelFormat f) With label formatMethod parameters in org.rrd4j.graph with type arguments of type TimeLabelFormatModifier and TypeMethodDescriptionvoidRrdGraphDef.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 toTimeUnitchosen for the time axis.Constructors in org.rrd4j.graph with parameters of type TimeLabelFormatModifierConstructorDescription(package private)TimeAxisSetting(int minorUnit, int minorUnitCount, int majorUnit, int majorUnitCount, int labelUnit, int labelUnitCount, int labelSpan, TimeLabelFormat format) Configure a time axis from unit counts resolved against the default unit table.(package private)TimeAxisSetting(long secPerPix, TimeUnit minorUnit, int minorUnitCount, TimeUnit majorUnit, int majorUnitCount, TimeUnit labelUnit, int labelUnitCount, int labelSpan, TimeLabelFormat format) Configure a time axis.