You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/06/08 06:53:10 UTC

[incubator-echarts] branch label-enhancement updated: fix(type): prefer rotate over rotation in label configuration

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

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


The following commit(s) were added to refs/heads/label-enhancement by this push:
     new 73f0a6b  fix(type): prefer rotate over rotation in label configuration
73f0a6b is described below

commit 73f0a6b6999ca6a49b7adbfdbca3a9d11acf7283
Author: pissang <bm...@gmail.com>
AuthorDate: Mon Jun 8 14:52:55 2020 +0800

    fix(type): prefer rotate over rotation in label configuration
---
 src/util/types.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/types.ts b/src/util/types.ts
index 7c7228a..94cf6d4 100644
--- a/src/util/types.ts
+++ b/src/util/types.ts
@@ -862,7 +862,7 @@ export interface LabelLayoutOption {
      * offset on y based on the original position.
      */
     dy?: number
-    rotation?: number
+    rotate?: number
     align?: ZRTextAlign
     verticalAlign?: ZRTextVerticalAlign
     width?: number


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