We want to show live graphs from PRTG in our NOC screens but need them to have a different background color. How can I do this?


Article Comments

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

There are two possibilities to control the color:

1. In order to set the color of all graphs created by PRTG please edit the system settings. Detailed instructions are in the manual of PRTG 8:

https://www.paessler.com/manuals/prtg8/system_website_settings.htm (search for "Background Color for Graphs")

2. If you are using PNGs files in your own web pages using PNG-URLs you can control the background color using the bgcolor parameter.

Sample URL:

http://10.0.0.157/chart.png?type=graph&[....]&bgcolor=%23ff0000

The bgcolor parameter must contain a CSS style color code, e.g. #000000 for black, #ffffff for white and must be URL encoded (# is converted to %23)

Note: Option 2 is implemented in PRTG 8.1.2 and later


Oct, 2010 - Permalink