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

Negative values are drawn incorrectly in Graph widget when Draw is set to Bar

XMLWordPrintable

    • S2401-1, S2401-2
    • 0.125

      Problem description:
      Graph widget draws negative values incorrectly in case if field Draw is set to Bar - an offset that is equal to the length of the bar is observed in respect to the x axis:

      Steps to reproduce:

      1. Create a host with a trapper item (float)
      2. Open any dashboard and add an svg graph widget that displays the previously created item.
        Important: set Draw = Bar
      3. Send both negative and positive values to the trapper item
      4. Check how data is displayed on the graph widget

      Result: negative values have an offset in respect to the x axis that is equal to their height (bar starts at point where is should end)
      Expected: bars should start at y=0 level.

        1. image-2023-11-03-16-15-03-610.png
          16 kB
          Sergejs Olonkins
        2. image-2023-11-08-15-29-26-345.png
          34 kB
          Alexander Shubin

            solonkins Sergejs Olonkins
            solonkins Sergejs Olonkins
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: