提交 7159e0e3 编写于 作者: S sushuang

Fix label.

上级 793946d6
......@@ -393,7 +393,6 @@ function makeRenderItem(customSeries, data, ecModel, api) {
var itemStyle = currItemModel.getModel(ITEM_STYLE_EMPHASIS_PATH).getItemStyle();
if (currLabelValueDim != null) {
graphicUtil.setTextStyle(itemStyle, currLabelEmphasisModel, null, {
isRectText: true
}, true);
......@@ -402,10 +401,9 @@ function makeRenderItem(customSeries, data, ecModel, api) {
? zrUtil.retrieve3(
customSeries.getFormattedLabel(dataIndexInside, 'emphasis'),
customSeries.getFormattedLabel(dataIndexInside, 'normal'),
data.get(currLabelValueDim, dataIndexInside)
getDefaultLabel(data, dataIndexInside)
)
: null;
}
extra && zrUtil.extend(itemStyle, extra);
return itemStyle;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册