Trying to change the x, y, width, and height of the plot area:
ChartFrame plot = chart.PlotArea;
plot.Width -= 2000;
plot.Height -= 2000;
plot.X = 2000;
plot.Y = 2000;
The width and height are changing correctly, but the x and y position do not appear to change as the plot area remains in the top left corner.
Thanks.
Shaun
Hi Shaun,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I tested your scenario a bit and did not find any issue in setting Plot Area’s X and Y position. Please share the complete sample code, template and generated files to show the issue. We will check it soon.
Thank You & Best Regards,
My apologies, this was an internal issue. Sorry for the inconvenience.