Free Support Forum - aspose.com

Chart size

Hello,

Please provide me with the code to set the size of the chart to 6.15” high x 9” wide.

I want to set it in web.config so that the user can change it at will.

I have tried using chart.height and chart.width in the code behind but its giving a error.

Regards,

Hi,

I think you may try chart.ChartObject.HeightInch and chart.ChartObject.WidthInch attributes for your need.

Thank you.