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

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