提交 a8b3d250 编写于 作者: L lang

AxisBuilder more robust

上级 942dc195
......@@ -414,7 +414,7 @@ define(function (require) {
var textFont = textStyleModel.getFont();
var truncateOpt = axisModel.get('nameTruncate', true);
var truncateOpt = axisModel.get('nameTruncate', true) || {};
var ellipsis = truncateOpt.ellipsis;
var maxWidth = retrieve(truncateOpt.maxWidth, axisNameAvailableWidth);
var truncatedText = (ellipsis != null && maxWidth != null)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册