Hey!
I am trying to display a vacation value via donut char, which is SVG.
The code is:
"data:image/svg+xml," & EncodeUrl(
"<svg width='100%' height='100%' viewBox='0 0 42 42' class='donut' xmlns='http://www.w3.org/2000/svg'>
<circle class='donut-hole' cx='21' cy='21' r='15.91549430918954' fill='#fff'></circle>
<circle class='donut-ring' cx='21' cy='21' r='15.91549430918954' fill='transparent' stroke='#ce4b99' stroke-width='3'></circle>
<circle class='donut-segment' cx='21' cy='21' r='15.91549430918954' fill='transparent' stroke='#d2d3d4' stroke-width='3' stroke-dasharray='" & (ThisItem.VacationValue) & "' stroke-dashoffset='25'></circle>
</svg>"
)
And it should display a value of VacationValue column inside the donut char/150 (so its how many vacation you still have out of 150. But this code displays just displays random donut chars. Also it should dynamically change the overlay.
Video example with time: https://youtu.be/S-YUearXrBA?t=310
Could someone help?