You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by za...@apache.org on 2021/03/03 09:08:03 UTC

[echarts] branch fix-14285 created (now 9e647d3)

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

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


      at 9e647d3  fix(dataZoom):fix dataZoom setting no effect

This branch includes the following new commits:

     new 9e647d3  fix(dataZoom):fix dataZoom setting no effect

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


[echarts] 01/01: fix(dataZoom):fix dataZoom setting no effect

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

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

commit 9e647d3c5115819d39515b21ef1de4d8413df836
Author: zakwu <12...@qq.com>
AuthorDate: Wed Mar 3 17:06:14 2021 +0800

    fix(dataZoom):fix dataZoom setting no effect
---
 src/component/dataZoom/SliderZoomView.ts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/component/dataZoom/SliderZoomView.ts b/src/component/dataZoom/SliderZoomView.ts
index cfcb8ac..def6bd6 100644
--- a/src/component/dataZoom/SliderZoomView.ts
+++ b/src/component/dataZoom/SliderZoomView.ts
@@ -42,6 +42,7 @@ import { createSymbol, symbolBuildProxies } from '../../util/symbol';
 import { deprecateLog } from '../../util/log';
 import { PointLike } from 'zrender/src/core/Point';
 import Displayable from 'zrender/src/graphic/Displayable';
+import {createTextStyle} from "../../label/labelStyle";
 
 const Rect = graphic.Rect;
 
@@ -599,13 +600,13 @@ class SliderZoomView extends DataZoomView {
                 handleLabels[handleIndex] = new graphic.Text({
                 silent: true,
                 invisible: true,
-                style: {
+                style: createTextStyle(textStyleModel, {
                     x: 0, y: 0, text: '',
                     verticalAlign: 'middle',
                     align: 'center',
                     fill: textStyleModel.getTextColor(),
                     font: textStyleModel.getFont()
-                },
+                }),
                 z2: 10
             }));
 


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