echarts-bot[bot] commented on issue #20204: URL: https://github.com/apache/echarts/issues/20204#issuecomment-2254097121
@mynewbaby888 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗 <details><summary><b>TRANSLATED</b></summary><br> **TITLE** [Feature] SVG can only display part of it, and some parts cannot be displayed. **BODY** ### What problem does this feature solve? Author, please tell me how to solve this problem when only part of the svg can be displayed, but not all of it. The svg is as follows. Only the first rect can be displayed and the next two cannot be displayed. How to solve this? It seems that using xlink:link will have this problem and it cannot be displayed. If you change this, just paste the repeated code instead of citing it. Show it, but it's too much trouble <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 21.05 19.08"><defs> <linearGradient id="a" x1="20.76" y1="0.54" x2="17.26" y2="0.54" gradientUnits="userSpaceOnUse"> <stop offset="0" stop-color="#738156"/><stop offset="1" stop-color="#5c6a4a"/> </linearGradient><linearGradient id="b" x1="3.76" y1="11.54" x2="0.26" y2="11.54" xlink:href="#a"/> <linearGradient id="c" x1="3.76" y1="18.54" x2="0.26" y2="18.54" xlink:href="#a"/> </defs> <rect x="17" width="4.05" height="1.08" style="fill:url(#a)"/> <rect y="11" width="4.05" height="1.08" style="fill:url(#b)"/> <rect y="18" width="4.05" height="1.08" style="fill:url(#c)"/></svg> ### What does the proposed API look like? How can I solve the problem of displaying all svg? Thank you </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org