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.
Unfortunately, activation email could not send to your email. Please try again.

Set Line Width

Thread ID:

Created:

Updated:

Platform:

Replies:

125419 Aug 16,2016 03:36 AM Aug 19,2016 04:32 AM Windows Forms 3
loading
Tags: XlsIO
krishna
Asked On August 16, 2016 03:36 AM

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?

Thanks,
 Krishna

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

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. 
 
 
Regards, 
Abirami. 


krishna
Replied On August 18, 2016 02:25 AM


Hi Abirami,

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

Thanks,
 Krishna

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

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


CONFIRMATION

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.

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.

;