This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch fix-buildPath
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 1fe657ddb78196688e05b87c362fd2c2115172bb
Author: Ovilia <[email protected]>
AuthorDate: Wed Jun 18 16:32:31 2025 +0800

    fix(buildPath): remove checking buildPath
---
 src/chart/custom/CustomView.ts | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/chart/custom/CustomView.ts b/src/chart/custom/CustomView.ts
index e24135299..ec55ac0c5 100644
--- a/src/chart/custom/CustomView.ts
+++ b/src/chart/custom/CustomView.ts
@@ -369,9 +369,6 @@ function createEl(elOption: CustomElementOption): Element {
             }
             const Clz = graphicUtil.getShapeClass(path.type);
             if (!Clz) {
-                if (typeof path.buildPath === 'function') {
-                    return path;
-                }
                 let errMsg = '';
                 if (__DEV__) {
                     errMsg = 'graphic type "' + graphicType + '" can not be 
found.';


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to