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

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


The following commit(s) were added to refs/heads/master by this push:
     new 392d94d  fix(pie): deprecate series[pie].label.margin #14067
392d94d is described below

commit 392d94dca211851b824d5c533a55e47d87154021
Author: Ovilia <[email protected]>
AuthorDate: Tue Jan 19 14:26:46 2021 +0800

    fix(pie): deprecate series[pie].label.margin #14067
---
 src/chart/pie/PieSeries.ts | 4 ++++
 tsconfig.json              | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/chart/pie/PieSeries.ts b/src/chart/pie/PieSeries.ts
index d9ecd98..997e0b3 100644
--- a/src/chart/pie/PieSeries.ts
+++ b/src/chart/pie/PieSeries.ts
@@ -62,6 +62,10 @@ interface PieLabelOption extends Omit<SeriesLabelOption, 
'rotate' | 'position'>
     rotate?: number
     alignTo?: 'none' | 'labelLine' | 'edge'
     edgeDistance?: string | number
+    /**
+     * @deprecated Use `edgeDistance` instead
+     */
+    margin?: string | number
     bleedMargin?: number
     distanceToLabelLine?: number
 
diff --git a/tsconfig.json b/tsconfig.json
index 5c9fc9b..e44ef3a 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -5,7 +5,7 @@
         "noImplicitAny": true,
         "noImplicitThis": true,
         "strictBindCallApply": true,
-        "removeComments": true,
+        "removeComments": false,
         "sourceMap": true,
 
         // 
https://github.com/ezolenko/rollup-plugin-typescript2/issues/12#issuecomment-536173372


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

Reply via email to