Hi Guys,
I had a horizontal bar chart.
In the previous version, I had my category label right next to the left edge, and all the tick labels are no wrap (in 1 line).
When I upgrade to 0.9.17, there is a space between the left edge to my category label, and most of tick labels are wrapped to 2 lines. How can I get back to where it was?
I do buy the developer guide every time. But I think, if David can put more diagrams to show as an example, that'd be a great help.
Please tell me how to achieve that.
Thanks,
Richard Lin[/img]
How do I move the catagory label .....
Tick Label wrapping in bar charts in new version
I have the same problem: the y tick labels wrap with this new version (not the old one). (I have a TaskSeriesCollection and the y axis is a category axis).
Why? And will it be fixed soon?
Elisabeth
Why? And will it be fixed soon?
Elisabeth

setMaxCategoryLabelWidthRatio
I used the setMaxCategoryLabelWidthRatio to temporarily fix this problem...
categoryaxis.setMaxCategoryLabelWidthRatio(0.01f);
This is not a very good solution though, since it is hard I don't know what this ratio should be.. Setting the value equal to 0.01 made all my charts look fine.
categoryaxis.setMaxCategoryLabelWidthRatio(0.01f);
This is not a very good solution though, since it is hard I don't know what this ratio should be.. Setting the value equal to 0.01 made all my charts look fine.