This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch getSvgDataURL-remove-svg-support-check in repository https://gitbox.apache.org/repos/asf/echarts.git
commit 19c094ad6722cbfdaf82f186a3d0e8c5869e7acc Author: plainheart <[email protected]> AuthorDate: Mon Feb 17 10:12:33 2025 +0800 fix(svg): remove SVG support check in `getSvgDataURL` --- src/core/echarts.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/echarts.ts b/src/core/echarts.ts index 190e38563..23f8e16a0 100644 --- a/src/core/echarts.ts +++ b/src/core/echarts.ts @@ -767,10 +767,6 @@ class ECharts extends Eventful<ECEventDefinition> { * Get svg data url */ getSvgDataURL(): string { - if (!env.svgSupported) { - return; - } - const zr = this._zr; const list = zr.storage.getDisplayList(); // Stop animations --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
