Free Support Forum - aspose.com
Chart title position inside the chart
Aspose.Cells Product Family
ashish.nagar
March 16, 2017, 6:24am
1
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
amjad.sahi
March 16, 2017, 7:06am
2
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.
ashish.nagar
March 16, 2017, 8:18am
3
Thanks Amjad. It worked perfectly for me.