提交 67035944 编写于 作者: 1 100pah

fix: add back the default tooltip textStyle settings. Without those settings,...

fix: add back the default tooltip textStyle settings. Without those settings, the tooltip text will follow the website settings if user specified `tooltip.formatter`, which is not expected.
上级 d0eeb338
......@@ -169,6 +169,8 @@ class TooltipModel extends ComponentModel<TooltipOption> {
// otherwise it will always override those styles on option.axisPointer.
},
textStyle: {
color: '#666',
fontSize: 14
}
};
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册