开发者

JS Sencha Touch Charts: max length of label on axis

开发者 https://www.devze.com 2023-04-12 21:58 出处:网络
i\'m working with sencha touch charts. Line chart if to be correctly. My axis labels values is \'Category\'. Is there any property to set max length of label ? Lets say 5 symbols. And id label value i

i'm working with sencha touch charts. Line chart if to be correctly. My axis labels values is 'Category'. Is there any property to set max length of label ? Lets say 5 symbols. And id label value is more t开发者_如何学编程han 5 symbols, then display '...' in the end. Because some times labels a too long, and if so, than they disappear. Thanks in advance...


Have a look at

com.sencha.gxt.chart.client.chart.axis.NumericAxis.createLabels()

there are the labels created.

0

精彩评论

暂无评论...
验证码 换一张
取 消