You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2019/12/05 07:33:18 UTC

[incubator-echarts] branch pie-alignTo created (now 8e8591d)

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

ovilia pushed a change to branch pie-alignTo
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.


      at 8e8591d  style(pie): update comment

This branch includes the following new commits:

     new 8e8591d  style(pie): update comment

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[incubator-echarts] 01/01: style(pie): update comment

Posted by ov...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 8e8591d8478cee1f26317b5ca391a3ce307d9b46
Author: Ovilia <zw...@gmail.com>
AuthorDate: Thu Dec 5 05:32:01 2019 +0800

    style(pie): update comment
---
 src/chart/pie/PieSeries.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/chart/pie/PieSeries.js b/src/chart/pie/PieSeries.js
index d1590cf..935eacd 100644
--- a/src/chart/pie/PieSeries.js
+++ b/src/chart/pie/PieSeries.js
@@ -163,9 +163,11 @@ var PieSeries = echarts.extendSeriesModel({
             // 'none', 'labelLine', 'edge'. Works only when position is 'outer'
             alignTo: 'none',
             // Closest distance between label and chart edge.
-            // Works only position is 'outer' and alignTo is 'labelLine' or 'edge'.
+            // Works only position is 'outer' and alignTo is 'edge'.
             margin: '25%',
+            // Works only position is 'outer' and alignTo is not 'edge'.
             bleedMargin: 10,
+            // Distance between text and label line.
             distanceToLabelLine: 5
             // formatter: 标签文本格式器,同Tooltip.formatter,不支持异步回调
             // 默认使用全局文本样式,详见TEXTSTYLE


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