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

Is there any styles for Line Series like Solid, Dotted, LongDash, Dash Dash ?

Thread ID:

Created:

Updated:

Platform:

Replies:

120017 Aug 24,2015 12:36 PM UTC Aug 31,2015 12:04 PM UTC Xamarin.iOS 5
loading
Tags: SfChart
Dorababu
Asked On August 24, 2015 12:36 PM UTC

Is there any styles for Line Series like Solid, Dotted, LongDash, Dash Dash ?

Manivannan Elangovan [Syncfusion]
Replied On August 25, 2015 01:23 PM UTC

Hi Dorababu,


Thanks for using Syncfusion products.


We are able to achieve your requirement by using LineWidth and Dashes properties in SFLineSeries. The below code snippet shows how to define the styles for Line Series.


CodeSnippet:


SFLineSeries series = new SFLineSeries ();

// For Solid Style

series.LineWidth = 6;

//For Dotted and LongDash Style

NSObject[] dashes = new NSObject[2];

dashes [0] = (NSNumber)2;

dashes [1] = (NSNumber)2;

series.Dashes = NSArray.FromObjects(dashes);


We have prepared a sample based on requirement. You can download the sample from the following location.


Sample: LineSeries


Please let us know, if you need any further assistance on this.


Regards,
Manivannan.E


Dorababu
Replied On August 27, 2015 06:28 AM UTC

Awesome, Thank you.

Manivannan Elangovan [Syncfusion]
Replied On August 28, 2015 12:39 PM UTC

Hi Dorababu,


Thanks for the update.


Please let us know if you have any query.


Regards,
Manivannan.E


Dorababu
Replied On August 28, 2015 01:04 PM UTC

Hi , Today I have asked one more question regarding custom labels in X - Axis, Can you please look at that.

Manivannan Elangovan [Syncfusion]
Replied On August 31, 2015 12:04 PM UTC

Hi Dorababu,

We have already updated the forum. You can refer that forum.

Please let us know, if you have any query.

Regards,
Manivannan.E


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.

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

;