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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Embedded Chart Width

Thread ID:





64376 Jul 19,2007 07:17 AM UTC Jul 26,2007 12:18 PM UTC ASP.NET Web Forms (Classic) 5
Tags: XlsIO
Ralf Anacker
Asked On July 19, 2007 07:17 AM UTC


how can i change the width of my embedded chart?

If i use the property width, visualstudio shows an error: width is not unique, width gets applies in IShape and IChart.

I would like to free position my embedded chart in the worksheet.


Melba Winshia [Syncfusion]
Replied On July 20, 2007 09:38 AM UTC

Hi Ralf,

Thank you for your interest in Essential XlsIO.

You can change the width of the chart by setting the property IChartShape.RightColumn.


//Embedded chart position.
chart.RightColumn = 25;


Please let me know if you have any other questions.


Ralf Anacker
Replied On July 20, 2007 11:04 AM UTC

Hello Melba,

thank you for your answer. But this is not this what i need. I don't like use then columns to anchor my chart, the position should be free.


Ramya R [Syncfusion]
Replied On July 24, 2007 01:50 PM UTC

Hi Ralf,

Thank you for the update.

Currently we do not have support to place the Chart in any position as desired.

Thanks for suggesting this valuable feature of "Support to place the Chart generated in xls file in any position" to enhance our product. We have logged it as a feature request and notified our development team. We will implement this feature in our forthcoming new version releases or service pack releases. We usually have a timeframe of at least three months between releases. The feature implementation would also greatly depend on the factors like product design, code compatibility and complexity. We will get back to you once the feature is implemented.

Please let me know if you have any queries.

Thanks & Regards,

Replied On July 25, 2007 08:30 AM UTC

I can't see any problem with it.
IChartShape is derived from IShape. And IShape has Top, Left, Height, Width read/write properties. So something like this should work
IChartShape chart = sheet.Charts[ 0 ];
IShape chartShape = ( IShape )chart;
chartShape.Top = 100;
chartShape.Left = 100;
chartShape.Width = 100;
chartShape.Height = 100;
And your chart should be moved to those coordinates (in pixels)

Melba Winshia [Syncfusion]
Replied On July 26, 2007 12:18 PM UTC

Hi Ami,

Thank you for the update.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon