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

Free Support Forum - aspose.com

Chart title position inside the chart

Hi,


How can i set Chart title position inside a chart. Currently it is coming just above the chart. I want title to be displayed like in the attached file.

Thanks,
Ashish

Hi,


Thanks for the screenshot.

I think you may try to use Title.X and Title.Y attributes to reposition the chart title on plot area. See the sample code segment for your reference:
e.g
Sample code:

chart.Title.Text = “Your title goes here”;
chart.Title.X = 900;
chart.Title.Y = 1200;

Thank you.

Thanks Amjad. It worked perfectly for me.