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/05/30 06:24:03 UTC

[incubator-echarts] 01/02: fix: axisPointer label padding not working #10569

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

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

commit ec5b222c890830d79169d1fda9c002ecfb8b3e08
Author: Ovilia <zw...@gmail.com>
AuthorDate: Thu May 30 14:22:03 2019 +0800

    fix: axisPointer label padding not working #10569
---
 src/component/axisPointer/viewHelper.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/component/axisPointer/viewHelper.js b/src/component/axisPointer/viewHelper.js
index a8d76a9..77b136e 100644
--- a/src/component/axisPointer/viewHelper.js
+++ b/src/component/axisPointer/viewHelper.js
@@ -93,6 +93,7 @@ export function buildLabelElOption(
             textFont: font,
             textFill: labelModel.getTextColor(),
             textPosition: 'inside',
+            textPadding: paddings,
             fill: bgColor,
             stroke: labelModel.get('borderColor') || 'transparent',
             lineWidth: labelModel.get('borderWidth') || 0,


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