Add Chart as one part of a sheet

I need to add a char in the same sheet. The code I wrote is: IChart ch = sheet.Charts.Add(); ch.ChartType = ExcelChartType.Column_3D; ch.DataRange = sheet.Range["A1:D9"]; ch.XPos= 100; ch.YPos= 100; ch.Height = 200; ch.Width = 200; But nothing happend. It doesn''t work. help me, please.

1 Reply

AD Administrator Syncfusion Team January 4, 2005 10:30 AM UTC

Hi Ariel, Please refer to this article http://www.syncfusion.com/support/EvaluationCenter/viewsource.aspx?lang=csharp&id=343 Thanks, Stephen. >I need to add a char in the same sheet. >The code I wrote is: >IChart ch = sheet.Charts.Add(); > ch.ChartType = ExcelChartType.Column_3D; > ch.DataRange = sheet.Range["A1:D9"]; > ch.XPos= 100; > ch.YPos= 100; > ch.Height = 200; > ch.Width = 200; >But nothing happend. > >It doesn''t work. > >help me, please.

Loader.
Up arrow icon