We get errors while working with donut chart in a Power BI report embedded in a web application. Errors appear in a specific case, while playing with data filters.
I've found out, that the error is raised by invoking this code:
from file https://content.powerapps.com/resource/powerbiwfe/scripts/reportembed.externals.bundle.min.1fe2184df...
<svg viewBox="-20 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><pathd="M4.538662322155488,85.31314842464582A85.43381399564576,85.43381399564576,0,1.3107199858808372e-7,1,-65.83064561505337,54.45421480185696L-39.498387369032,32.67252888111417A51.26028839738745,51.26028839738745,0,1.3107199858808372e-7,0,2.7231973932932916,51.18788905478748Z" /></svg>
It looks like a part of this donut chart:
Could you please check if your implementation is able to generate SVG incompatible with API? Maybe e.g. Math.round() is needed somewhere?
Hi @dtkri ,
This does not seem to be supported at the moment, you can search for similar ideas here
You may also check
How to create an interactive donut chart using SVG | by Mustapha AOUAS | Medium
Building custom Data Bars in Power BI using SVG measures – Random Procrastination (gosbell.com)
Best regards.Community Support Team_ Caitlyn
I do not try to create any SVG element by myself. I just embed Power BI reports in a web application. The point is that Power BI generates SVG elements which are errornous.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.