Dashboards & Visualizations

Why is SVG background broken in version 9.1?

mdw47
Engager

After installing version 9.1 it seems all my SVGs on dashboard no longer have transparent backgrounds. even the one in the dashboard studio have white boxes around them. 

 

I even tried creating the simplest transparent/no fill rectangle and there is still a solid white fill. 

I validated the code works in online tools, is there a new attribute or version tag that needs to be input? 

example.PNG

Labels (1)
Tags (1)

Stoobert
Explorer

I've just come here to post the same issue and verified on a fresh install that this not just an issue with our instance.

I have been doing some experimentation and the issue lies in the iframe that the SVG is placed in to. There is a CSS attribute called "color scheme" that has two values: light and dark. Having either of those set forces the background colour of the iframe to be either white, or dark mode. The SVG itself isn't broken, the transparency is just showing the underlying background colour. I removed that attribute in the CSS editor and all is well now:

iframe ld.jpg

iframe n.jpg

I would have no idea how to override that for now though.

Stoobert
Explorer

Found the issue. It's a mismatch when using a browser with a dark theme. Until they fix it, you'll need to use a light themed browser unfortunately.

0 Karma

MMahlberg
Explorer

Yeah this seems to mitigate the problem. 
Unfortunatly if you are using chrome you have to change your global system settings. 

I hope this will get patched in the next update.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...