增加TextLimit组件可以设置AxisLabel的文本自适应

This commit is contained in:
monitor1394
2020-01-26 22:34:57 +08:00
parent b9403df6c9
commit 5d74373d7a
10 changed files with 252 additions and 8 deletions

View File

@@ -918,6 +918,7 @@ namespace XCharts
"x1","x2","x3","x4","x5"
}
};
axis.axisLabel.textLimit.enable = true;
return axis;
}
}
@@ -968,6 +969,7 @@ namespace XCharts
m_BoundaryGap = false,
m_Data = new List<string>(5),
};
axis.axisLabel.textLimit.enable = false;
return axis;
}
}