class_docstr: QLabel specifically for displaying numerical values.
  Extends QLabel adding some extra functionality:
  
    - displaying units with si prefix
    - built-in exponential averaging
docstr: ==============      ==================================================================================
  **Arguments:**
  suffix              (str or None) The suffix to place after the value
  siPrefix            (bool) Whether to add an SI prefix to the units and display a scaled value
  averageTime         (float) The length of time in seconds to average values. If this value
                      is 0, then no averaging is performed. As this value increases
                      the display value will appear to change more slowly and smoothly.
  formatStr           (str) Optionally, provide a format string to use when displaying text. The text
                      will be generated by calling formatStr.format(value=, avgValue=, suffix=)
                      (see Python documentation on str.format)
                      This option is not compatible with siPrefix
  ==============      ==================================================================================
code: def __init__(
      self,
      parent=None,
      suffix="",
      siPrefix=False,
      averageTime=0,
      formatStr=None,
  ):
      """
      ==============      ==================================================================================
      **Arguments:**
      suffix              (str or None) The suffix to place after the value
      siPrefix            (bool) Whether to add an SI prefix to the units and display a scaled value
      averageTime         (float) The length of time in seconds to average values. If this value
                          is 0, then no averaging is performed. As this value increases
                          the display value will appear to change more slowly and smoothly.
      formatStr           (str) Optionally, provide a format string to use when displaying text. The text
                          will be generated by calling formatStr.format(value=, avgValue=, suffix=)
                          (see Python documentation on str.format)
                          This option is not compatible with siPrefix
      ==============      ==================================================================================
      """
      QtWidgets.QLabel.__init__(self, parent)
      self.values = []
      self.averageTime = averageTime  ## no averaging by default
      self.suffix = suffix
      self.siPrefix = siPrefix
      if formatStr is None:
          formatStr = "{avgValue:0.2g} {suffix}"
      self.formatStr = formatStr
  
file_path: pyqtgraph/pyqtgraph/widgets/ValueLabel.py
imports: from time import perf_counter
  from ..None import functions
  from ..Qt import QtWidgets
label_desc: Use image node_id 1 to create a new ValueLabel object from inherited base classes: QtWidgets with example: obj = ValueLabel(parent, suffix, siPrefix, averageTime, formatStr)