This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch release in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/release by this push: new 6a3696e style(pie): update comment 6a3696e is described below commit 6a3696e0e7594539cb5d316a525e2f38b3489548 Author: Ovilia <zwl.s...@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-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org