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

Set Line Width

Thread ID:





125419 Aug 16,2016 07:36 AM UTC Aug 19,2016 08:32 AM UTC WinForms 3
Tags: XlsIO
Asked On August 16, 2016 07:36 AM UTC

Let me know how do following thing from Syncfusion?

From Excel:
Select the Line -> Format -> Shape Outline -> Weight -> More Lines then Format Data Series Windows will be opened.

Now Go to Line Style -> Width; this value i want to set it from Syncfusion to an arbitrary number. Please provide me solution how to do that.

currently i am doing this like:

IChartSerie serie = chart.Series[i]
serie.SerieFormat.LineProperties.LineWeight = ExcelChartLineWeight.Wide;

But i want more think lines. how can i do it?


Abirami Varadharajan [Syncfusion]
Replied On August 17, 2016 07:13 AM UTC

Hi Krishna, 
Thank you for contacting Syncfusion support. 
You can able to set the line width for an series in number. Kindly refer below code snippet to achieve your requirement. 
Code Example: 
serie.SerieFormat.LineProperties.LineWeight = (ExcelChartLineWeight)10; 
We have shared the sample for your reference which can be downloaded from the following locations. 

Replied On August 18, 2016 06:25 AM UTC

Hi Abirami,

Thanks for your response.
Now I am able to set the weight for line.


Abirami Varadharajan [Syncfusion]
Replied On August 19, 2016 08:32 AM UTC

Hi Krishna, 
Thank you for updating us. 
We are glad that your requirement is fulfilled. Please let us know if you need further assistance. 


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