Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5918

Prefab graph ignores properties for width and height

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.1, 1.13.0
    • Component/s: Web UI - General
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      A graph definition allows to define a width and and height. This property is ignored in the WebUI.

      report.mib2.HCbits.width=700
      report.mib2.HCbits.height=300

      It was possible to overwrite the whole RRD command with something like this:

      report.mib2.HCbits.command=--title="Bits In/Out (High Speed)" \
      --vertical-label="Bits per second" \
      --width 700 \
      --height 300 \

      This forces RRD "always" to generate the given graph size. Specifying the size in the prefab graph definition allows more flexibility to decide in the view if the default size or the graph specific width and height should be used.

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              indigo Ronny Trommer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: