Hi,

in former KB questions there was described a way th change the background color of png graph export. At the moment the background is black (#000) and therefore not usable.

I know the option to add the background color to the url, but I want to change the background color for all exports.

The system settings from prtg 8 does not exist anymore. Or I didn't figured it out.

Thanks for an advice.

Mario Stuck


Article Comments

Hello Mario,

In "Setup | Account Settings | My Account" you can "Color Mode" to "Dark", this will apply then to exported graphs as well.

Kind regards,

Erhard


Jul, 2019 - Permalink

Hi Erhard,

the switch to darks will not change the background of exported png, it is still black background. So useless when copied to an email or similar usage.

By the way I don't like the dark theme. I only want to change the background of exported png (the normal background of the png is also white in the web ui) or - best way - let the background transparent.

Best regards

Mario


Jul, 2019 - Permalink

Hi Mario,

Sorry, my bad, my understanding was somehow you wanted to have a nice black background. I'm afraid passing along the desired bg-color with the url is the only way then as there is no global parameter to adjust it.

Kind regards,

Erhard


Jul, 2019 - Permalink

Also on a side-note after going over it again, while the graph may look like having a black background, it should be in fact transparent, which you might see when opening it in another tool.


Jul, 2019 - Permalink

Hi,

unfortunately this is not transparent (doublechecked it with 2 tools).

In version 8 of PRTG there was an option for a general setting.

There should be an option for exporting with transparent background.

Thanks in advance

Mario


Jul, 2019 - Permalink

Hi Mario,

Could you post/link one of those PNGs here?

Kind regards,

Erhard


Jul, 2019 - Permalink

https://cloud.it-direkt.de/s/TDy62WxqcSGb26L

It is just saved from the browser


Jul, 2019 - Permalink

Strange. It seems to depend on the browser. Saving from chrome it becomes a black background, savin from edge, it keeps transparent.

OK. So I'll investigate this. Sorry to bother you.


Jul, 2019 - Permalink

My finding as well. See here: https://imgur.com/a/D06SeNh

The background is in fact transparent, the black background is only something the browser seems to be doing by default when encountering a png with transparent background for some reason.


Jul, 2019 - Permalink