One common problem that all the developers facing when creating flex applications with Flex Charting components is with displaying axis labels,when the axis labels exceed some limit then the label of next one one automatically wrap to next line.Some times if all the label text's length is large take 15 to 20 characters then that time the labels will overlap with each other and total chart will not look nice.
Note : The datas used with the samples to demonstrate concept are only test data
Related Posts : actionscript,
adobe,
axis label,
flex,
large label,
limit label,
renderer,
tooltip,
trim label
1 comments:
Thanks for the post; I'am trying to use your code to produce the same result using action script and i'm not getting the same result
please advice if something wrong in the below code
catAxis= new CategoryAxis();
//catAxis.labelFunction=axisLabel;
catAxis.dataProvider=ac;
catAxis.categoryField=properties.@categoryField;
var myAxisRenderer:AxisRenderer= new AxisRenderer();
myAxisRenderer.axis=catAxis;
myAxisRenderer.labelRenderer= new ClassFactory(InnerlabelRenderer);
Post a Comment