Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23320

Graph widget Legend behaviour differs from Pie widget

XMLWordPrintable

    • Sprint 105 (Oct 2023), S2401-1, S2401-2
    • 0.3

      There is a discrepancy in how the legend is displayed in the Graph vs the Pie chart. The Graph widget always uses the defined "Number of rows" in legend, but the Pie chart uses it as the "max" number of rows instead.

      Expected:
      The new Pie chart behaviour seems more logical and user friendly, also does not produce unnecessary whitespace. For consistency the Graph widget should have it's legend changed to match the behaviour of the Pie chart. Additionally the "Number of rows" field should be renamed to "Max number of rows" for both widgets. This change would also allow setting the default number of rows to a bigger value than 1, but this needs to be decided.

      Pictured - current Legend discrepancy (both have "Number of rows set to 10"):

        1. image-2023-08-28-09-00-45-323.png
          43 kB
          Janis Nulle
        2. image-2023-12-22-11-39-17-726.png
          61 kB
          Alexander Vladishev
        3. not-aligned.png
          68 kB
          Alexander Vladishev

            apoga Anna Poga
            jnulle Janis Nulle
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: