We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

chart and chart values at the same excel sheet

Hi,

how can I create an excel worksheet with chart and chart values at the same sheet? The example I found always creates a second sheet for the chart.

1 Reply

MW Melba Winshia Syncfusion Team August 23, 2007 04:22 AM UTC

Hi Klaus,

Thank you for your interest in Syncfusion products.

You can create an excel worksheet with chart and chart values at the same sheet by adding the chart in the sheet which has chart values.

[C#]

//Add Chart to sheet
IChartShape chart = sheet.Charts.Add();

Please refer to the sample that is shipped with Essential XlsIO which could be found in the below link.

C:\Documents and Settings\{user}\My Documents\Syncfusion\EssentialStudio\5.1.0.51\Windows\XlsIO.Windows\Samples\2.0\Charts\EmbeddedChart\cs

Please try this and let me know if this helps.

Thanks,
Melba


Loader.
Live Chat Icon For mobile
Up arrow icon