Forum Discussion
SVG Icon not displaying
- 6 years ago
Okay, so i figured it out.
The fill code was having issues, the # must be replaced with a %23. Not sure if you can encode the SVG's to base64 you could keep the #'s in.
fill='#ED003C'
fill='%23ED003C'
Yeah. If I place it in a matrix or table it works. Image Viewer is having issues with the #, or at least that was my conclusion because if I only use one SVG and change the # in the color it will work, however, when I add the second clipped SVG it stops working. My guess was that the # was also being used in referencing the clip id.
It was working before with the dynamic SVG
catolita okay I am willing to look into this more.
BTW by image viewer which one you are referring to
- smpa016 years agoCommunity Champion
Tamed the image viewer too... here you go with your desired output !!!
Here is the web version along with the attchaed pbix
- catolita6 years agoRegular Visitor
You can find it here
https://blog.pragmaticworks.com/power-bi-custom-visuals-image-viewer
or here: https://file.ac/QIDJnL6igK0/ImgViewerVisual.0.1.0.pbiviz
- catolita6 years agoRegular Visitor
It worked great! Thank you so much for your help 😊