提交 895504b9 编写于 作者: L lang

Treemap label truncate tweak

上级 9cc60921
......@@ -793,7 +793,9 @@
}
else if (textRect.width > contentWidth) {
style.text = labelTextStyleModel.get('ellipsis')
? labelTextStyleModel.truncateText(text, contentWidth) : '';
? labelTextStyleModel.truncateText(text, contentWidth, null, {
minCharacters: 3
}) : '';
}
else {
style.text = text;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册