java.lang.Object
org.rrd4j.graph.ImageParameters

class ImageParametersextends Object
Container for image rendering parameters in RRD graphs. Stores dimensions, value ranges, scaling factors, and other rendering configuration.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) double
    Base for unit scaling calculations
    (package private) double
    Number of decimal places for formatting
    (package private) long
    Start and end timestamps for graph range
    (package private) java.util.function.DoubleUnaryOperator
    Logarithmic function for log-scale graphs
    (package private) double
    Magnitude factor for unit scaling
    (package private) double
    Minimum and maximum values for y-axis range
    (package private) double
    Minimum and maximum values for y-axis range
    (package private) int
    Quadrant for MRTG-style scaling
    (package private) double
    Scaled step size for axis calculations
    (package private) long
    Start and end timestamps for graph range
    (package private) char
    SI unit symbol character
    (package private) int
    Unit exponent for SI unit scaling
    (package private) int
    Length available for unit labels
    (package private) int
    Total image dimensions
    (package private) int
    Origin coordinates for graph plotting area
    (package private) int
    Graph dimensions
    (package private) int
    Total image dimensions
    (package private) double
    Step size for y-axis grid lines
    (package private) int
    Label factor for y-axis
    (package private) int
    Origin coordinates for graph plotting area
    (package private) int
    Graph dimensions
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • start

      long start
      Start and end timestamps for graph range
    • end

      long end
      Start and end timestamps for graph range
    • minval

      double minval
      Minimum and maximum values for y-axis range
    • maxval

      double maxval
      Minimum and maximum values for y-axis range
    • unitsexponent

      int unitsexponent
      Unit exponent for SI unit scaling
    • base

      double base
      Base for unit scaling calculations
    • magfact

      double magfact
      Magnitude factor for unit scaling
    • symbol

      char symbol
      SI unit symbol character
    • ygridstep

      double ygridstep
      Step size for y-axis grid lines
    • ylabfact

      int ylabfact
      Label factor for y-axis
    • decimals

      double decimals
      Number of decimal places for formatting
    • quadrant

      int quadrant
      Quadrant for MRTG-style scaling
    • scaledstep

      double scaledstep
      Scaled step size for axis calculations
    • xsize

      int xsize
      Graph dimensions
    • ysize

      int ysize
      Graph dimensions
    • xorigin

      int xorigin
      Origin coordinates for graph plotting area
    • yorigin

      int yorigin
      Origin coordinates for graph plotting area
    • unitslength

      int unitslength
      Length available for unit labels
    • xgif

      int xgif
      Total image dimensions
    • ygif

      int ygif
      Total image dimensions
    • log

      java.util.function.DoubleUnaryOperator log
      Logarithmic function for log-scale graphs
  • Constructor Details

    • ImageParameters

      ImageParameters()
      Constructor. A blank parameter set, ready for the image renderer to fill in the time range, value bounds and unit scaling before drawing.