I can't seem to get the word wrapping layout options to work on the series labels for a bar chart. I am able to get ellipses displayed for the longer descriptions, but not word wrap.
What should I be doing?
embedding line breaks (Environment.NewLine) in the series/row labels is another possibility.
Thanks for the clarification. I won't use it because in 2008.3 its still too buggy - wordwrapped text can't even be read becaus eof the odd graphical clipping employed.
This property is not fully tested , that's why it is hidden. So as it works you may use it. Maybe it will be visible in future versions
Thanks, that works.
How was I to find this property? It isn't exposed by the intellisense listings for this.ultraChart1.Axis.Y.Labels.SeriesLabels, and its not on the property designer anywhere that I can see. I finally found the help reference for the label Style class, but unlike most of the help, this was rather light on explanation, let alone examples? is there anything you can point me to which will give a more complete explanation of when i would use Label Styles?
Also, the labels wrap AND CLIP to the height of the (horizontal) bar drawn. given the spacing between series, I'd like the label to draw over a larger area, using the otherwise blank space between bars to stop the text being clipped top/bottom (it will draw two lines, then clip the top of the first line and the bottom of the second, which is a little unfortunate). is there a way to do this?
The Bar spacing only accepts int values - it would have been nice to adjust this to a fractional value.
Please try adding this line to your code:
this.ultraChart1.Axis.Y.Labels.SeriesLabels.WrapText = true;