java.lang.Object
org.rrd4j.graph.ValueAxis.YLabel
Enclosing class:
ValueAxis

static class ValueAxis.YLabelextends Object
Configuration for Y-axis labels and grid spacing. Defines grid step values and label factors for axis formatting.
  • Field Details

    • grid

      final double grid
      The grid step
    • labelFacts

      final int[] labelFacts
      The label factors
  • Constructor Details

    • YLabel

      YLabel(double grid, int lfac1, int lfac2, int lfac3, int lfac4)
      Create a y-axis label placement.
      Parameters:
      grid - the value of the gridline this label sits on
      lfac1 - label factor for the first label row
      lfac2 - label factor for the second label row
      lfac3 - label factor for the third label row
      lfac4 - label factor for the fourth label row