We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Setting series datalabel width c#

Hi, I am making a fairly narrow clustered bar chart so when I display the data labels the text wraps onto a second line. I have tried setting the width of the datalabel using:
chart.ChartData.Series[0].Labels[0].Width = .2F;
but all that happens is the datalabel doesn’t display at all. Can you advise how I can correctly change the width of a datalabel?

Thanks.

@mmr-jef,

I have observed your comments. Can you please share source code and generated result. Also please share environment details and which Aspose.Slides version you are using on your end so that we may further investigate to help you out.