When I make really long custom text labels for the bars on my bar chart, the chart is cutting off my labels on the X Axis. How do I get the grid to take into account my long text labels such that the text is not cut off?
I followed these instructions to make my custom labels:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.2/CLR2.0/html/Chart_Customize_Labels_Using_the_IRenderLabel_Interface.html
Thanks!
jb
Setting Extent to a size that I dynamically calculate based on the size of my labels is working for me. Thanks!!!
It would be nice if the chart did that for me automatically though...
Hello budajeff,
Can you try using the Extent property?
this.ultraChart1.Axis.X.Extent = 150;
Thanks for the suggestion, but that has no effect. The text is still cut off.
I imagine the grid is drawn and the text is not wrapped b/c the grid has not applied my custom labels at that point in execution.
May I suggest to wrap your text? Let me know if this helps.
ultraChart1.Axis.X.Labels.WrapText = true;