What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Can I set the graph background color of PNG graphs in PRTG?

Votes:

0

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?

background color graphs prtg

Created on Oct 28, 2010 10:47:55 AM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6



1 Reply

Votes:

0

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

Created on Oct 28, 2010 11:09:42 AM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.