How to cut long labels of the Bar Chart Control’s base axis? I have already tried to cut them in the Extension Points (baseAxisLabel_text):
function(a){
var str=this.scene.atoms.category.label;
if (str.length>30){
str=str.substring(0,30)+' ...';
}
return str;
}
However, it seems that Chart Control width is calculated taking into account old label length. Now I have white area at the left of my bars. How to solve this?
I found the solution.
I just moved slightly changed function from Extension Points (baseAxisLabel_text) to baseAxisTickFormatter (Advanced Properties of the chart control)