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

    • S25-W18/19

      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. after_20250424.png
          after_20250424.png
          294 kB
        2. before_20250424.png
          before_20250424.png
          296 kB
        3. php80.png
          php80.png
          92 kB
        4. php81.png
          php81.png
          90 kB
        5. vertical-stripes.png
          vertical-stripes.png
          59 kB

            agriscenko Andrejs Griščenko
            JKKim Kim Jongkwon
            Team C
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: