[ZBX-22786] Trends graph line colors Issue with PHP 8.1+ Created: 2023 May 11  Updated: 2023 May 12

Status: Confirmed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.0.17
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Kim Jongkwon Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

PHP 8.1+


Attachments: PNG File php80.png     PNG File php81.png    
Issue Links:
Duplicate

 Description   

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.


Generated at Sun Mar 16 22:05:36 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.