This is a migrated thread and some comments may be shown as answers.

Custom DashArray StepLineSeries

2 Answers 150 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Valentin
Top achievements
Rank 1
Iron
Iron
Valentin asked on 19 Aug 2016, 01:59 PM

Hello,

 

In my RadCartesianChart, i'm using the StepLineSeries class for my series.

In my software, I purpose to change the stroke type : Full Line, Dotted Line and Hyphen Line.

 

The serie style can be applicated in just one style :

I want to know if is it possible to have a serie (CustomStepLineSerie ??) with 2 or 3 style in an other same time ? I don't want to create other serie to fixe over it.

 

I attached differents files to illustrate my request.

 

Thank you !

2 Answers, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 22 Aug 2016, 07:50 AM
Hi Valentin,

No, it is not possible to set two different dash arrays for the line, because it is being rendered by a single Path element and the dash array is applied to this Path element.

The only way to achieve the desired scenario is to divide the items source into portions - each one represented by a series with the desired dash array.

Regards,
Petar Marchev
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Valentin
Top achievements
Rank 1
Iron
Iron
answered on 22 Aug 2016, 08:05 AM

Hello,

 

Ok, now I'm sure that it's the only possibility to do it. This is the way that I will follow.

 

Thank you for your reply.

Tags
Chart
Asked by
Valentin
Top achievements
Rank 1
Iron
Iron
Answers by
Petar Marchev
Telerik team
Valentin
Top achievements
Rank 1
Iron
Iron
Share this question
or