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

Pie graph is displayed incorrectly if one of the items has type Graph sum and item values are approximately equal

XMLWordPrintable

    • Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), S24-W14/15, S24-W16/17, S24-W20/21, S24-W22/23
    • 1

      Problem description: If a Pie graph (or Explode graph) displays several items with approximately equal values, and if the type of the 1st item in the list is set to "Graph sum", then the graph shows that the value of last item is slightly lower than it actually is (the color of the previous item is visible on the pie).

      Steps to reproduce:

      1. Create a host with 5 trapper items
      2. Send the same value (for example 30) to all trapper items
      3. Create a graph that displays all of the created trapper items
      4. Change type of items to "Graph sum" and check Preview tab, one at a time starting from the last item in the list.

      Result: When the type of the 1st item in the list of items is set to "Graph sum", the Pie graph shows that the value of the last item in the list is smaller than of the 2nd to last item in the list (the color of the 2nd to last item is visible on the pie graph) even though the values are equal.

      Expected: Same as for all other items, when the type of the 1st item in the list is set to "Graph sum", the prie graph should display only 1 color - the color of the last item in the list.

      Example:

      P.S. This behavior is still observer after the graph is saved.

        1. Graph_sum_issue.gif
          719 kB
          Sergejs Olonkins
        2. image-2024-04-19-11-14-48-960.png
          28 kB
          Eliza Sekace
        3. image-2024-04-23-12-28-47-023.png
          17 kB
          Eliza Sekace
        4. image-2024-04-23-12-36-49-470.png
          29 kB
          Eliza Sekace
        5. image-2024-04-26-13-59-29-562.png
          23 kB
          Eliza Sekace
        6. image-2024-04-26-14-00-08-654.png
          31 kB
          Eliza Sekace
        7. image-2024-04-26-14-00-41-692.png
          24 kB
          Eliza Sekace
        8. ZBX-18094-6.0.patch
          2 kB
          Miks Kronkalns

            Miks.Kronkalns Miks Kronkalns
            solonkins Sergejs Olonkins
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: