You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2019/09/29 08:12:41 UTC

[incubator-echarts] 01/04: fix: fix incorrect comment.

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

sushuang pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 46a57a954ae5f3f85212b4f476684948e96b3b79
Author: SHUANG SU <su...@gmail.com>
AuthorDate: Fri Sep 27 23:46:20 2019 +0800

    fix: fix incorrect comment.
---
 src/util/graphic.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/util/graphic.js b/src/util/graphic.js
index 7066f8e..df4efc1 100644
--- a/src/util/graphic.js
+++ b/src/util/graphic.js
@@ -85,7 +85,8 @@ export function extendPath(pathData, opts) {
 /**
  * Register a user defined shape.
  * The shape class can be fetched by `getShapeClass`
- * This method will not overwrite the built-in shapes.
+ * This method will overwrite the registered shapes, including
+ * the registered built-in shapes, if using the same `name`.
  * The shape can be used in `custom series` and
  * `graphic component` by declaring `{type: name}`.
  *


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org