提交 df56d630 编写于 作者: K kener

空文本优化

上级 3123b442
......@@ -310,6 +310,10 @@ define(function (require) {
}
for (var i = 0; i < dataLength; i += _interval) {
if ((_labelData[i].value || _labelData[i]) == '') {
// 空文本优化
continue;
}
dataTextStyle = zrUtil.merge(
data[i].textStyle || {},
textStyle,
......@@ -358,6 +362,10 @@ define(function (require) {
}
for (var i = 0; i < dataLength; i += _interval) {
if ((_labelData[i].value || _labelData[i]) == '') {
// 空文本优化
continue;
}
dataTextStyle = zrUtil.merge(
data[i].textStyle || {},
textStyle,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册