未验证 提交 a7ce768f 编写于 作者: Y Yi Shen 提交者: GitHub

Merge pull request #14388 from apache/fix-14285

fix(dataZoom):fix dataZoom setting no effect
......@@ -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
}));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册