Skip to content

Commit

Permalink
feat(custom): support compoundPath in custom series
Browse files Browse the repository at this point in the history
relies on the change of ecomfe/zrender#1096
  • Loading branch information
Ovilia committed Oct 10, 2024
1 parent d2c05a7 commit 58d2a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart/custom/CustomView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 58d2a9c

Please sign in to comment.