This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch feat-compoundPath in repository https://gitbox.apache.org/repos/asf/echarts.git
commit 58d2a9c0ee3bf2caa3231e86ca01baf23dd8152a Author: Ovilia <[email protected]> AuthorDate: Thu Oct 10 16:01:40 2024 +0800 feat(custom): support compoundPath in custom series relies on the change of ecomfe/zrender#1096 --- src/chart/custom/CustomView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart/custom/CustomView.ts b/src/chart/custom/CustomView.ts index 792b15351..ad33d7620 100644 --- a/src/chart/custom/CustomView.ts +++ b/src/chart/custom/CustomView.ts @@ -365,7 +365,7 @@ function createEl(elOption: CustomElementOption): Element { } const paths = map(shape.paths as Path[], function (path) { if (path.type === 'path') { - return createEl(path as unknown as CustomPathOption); + return graphicUtil.makePath(path.shape.pathData, path, null); } const Clz = graphicUtil.getShapeClass(path.type); if (!Clz) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
