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:02 UTC

[incubator-echarts] branch fix-10569 created (now 31cd202)

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

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


      at 31cd202  test: add test case for #10569

This branch includes the following new commits:

     new ec5b222  fix: axisPointer label padding not working #10569
     new 31cd202  test: add test case for #10569

The 2 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] 02/02: test: add test case for #10569

Posted by ov...@apache.org.
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 31cd20257bdc0ae0dcbe952a9b4d73c2dbb07bb4
Author: Ovilia <zw...@gmail.com>
AuthorDate: Thu May 30 14:23:06 2019 +0800

    test: add test case for #10569
---
 test/tooltip-touch.html | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/tooltip-touch.html b/test/tooltip-touch.html
index 19774fb..199982c 100644
--- a/test/tooltip-touch.html
+++ b/test/tooltip-touch.html
@@ -100,6 +100,9 @@ under the License.
                                 margin: 60
                             },
                             value: '2017-04-12', // init value
+                            label: {
+                                padding: [5, 10, 15, 20]
+                            }
                         }
                     }
                 });


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


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

Posted by ov...@apache.org.
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