okviz / free-visuals

Power BI free custom visuals
MIT License
24 stars 7 forks source link

SVG File not matching my data on Synoptic panel #265

Closed saguado69 closed 3 years ago

saguado69 commented 3 years ago

Hi,

I'm trying to use an SVG file produced with Adobe Illustrator. Whenever I export my file to PNG and cretae the shapes my data table is linked and everything works fine. But if I export to SVG and use the online tool to check the names and save the image again to SVG. my data is not matching.

Here is the SVG code just in case you can assit me and let me know what's wrong. The names "111", "112", etc are the ones matching the data.


SOLVED: I found the issue. Illustrator convert any layer to group tags and the component is matching groups, not the elements inside the groups.

So, I just edited manually my svg and the data was matching fine.

`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1141.28 762.91">

`