Forum Discussion
catoriana
9 years agoRegular Visitor
Adding Images to my Custom Visuals Project
How do you add static images to a Custom Visual using the new Developer Tools? I have added the images I want to use under the "assets" folder in my project, however when running my custom visual t...
MawashiKid
9 years agoResolver II
You may take a look at Jon Gallant blog on
Power BI Custom Visual Tip: How to Render an SVG or PNG
http://blog.jongallant.com/2016/12/powerbi-custom-visual-svg-png/
I've tested both approaches and confirm that both work fine with svg and png. Even added a svg vector sample I created in the blog comments. This was mainly for testing as drawing contains more than 15,000 lines of svg code and always appeared in a snap.
Power BI Custom Visual Tip: How to Render an SVG or PNG
http://blog.jongallant.com/2016/12/powerbi-custom-visual-svg-png/
I've tested both approaches and confirm that both work fine with svg and png. Even added a svg vector sample I created in the blog comments. This was mainly for testing as drawing contains more than 15,000 lines of svg code and always appeared in a snap.