You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/07/21 15:16:41 UTC

[incubator-echarts] branch optimize-style updated: fix(axisPointer): not use align: 'center' because it's already been calculated

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

shenyi pushed a commit to branch optimize-style
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/optimize-style by this push:
     new 6fca352  fix(axisPointer): not use align: 'center' because it's already been calculated
6fca352 is described below

commit 6fca352efe3e32f230273c35478476e9fd949272
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Jul 21 23:16:00 2020 +0800

    fix(axisPointer): not use align: 'center' because it's already been calculated
---
 src/component/axisPointer/viewHelper.ts | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/component/axisPointer/viewHelper.ts b/src/component/axisPointer/viewHelper.ts
index 1b6f639..d379c1a 100644
--- a/src/component/axisPointer/viewHelper.ts
+++ b/src/component/axisPointer/viewHelper.ts
@@ -126,7 +126,6 @@ export function buildLabelElOption(
             text: text,
             textFont: font,
             fill: labelModel.getTextColor(),
-            align: 'center',
             padding: paddings,
             backgroundColor: bgColor as ColorString,
             borderColor: labelModel.get('borderColor') || 'transparent',


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