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

Trends graph line colors Issue with PHP 8.1+

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.0.17
    • Frontend (F)
    • None
    • PHP 8.1+

      We have identified an inconsistency in rendering trend data graphs after upgrading to the version of PHP (8.0 -> 8.1+)

      Please see the attached images for reference:

      • Previous PHP versions (~8.0)
      • PHP version 8.1 and above (8.1.19, 8.2.6)

      In Zabbix documentation,

      For data that show a longer period three lines are drawn - a dark green one shows the average, while a light pink and a light green line shows the maximum and minimum values at that point in time. The space between the highs and the lows is filled with yellow background.
      https://www.zabbix.com/documentation/6.0/en/manual/config/visualization/graphs/simple

      However, after upgrading to PHP 8.1 and above, this documented behavior isn't observed.

        1. php80.png
          php80.png
          92 kB
        2. php81.png
          php81.png
          90 kB

            zabbix.dev Zabbix Development Team
            JKKim Kim Jongkwon
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: