Custom DashArray StepLineSeries

3 posts, 0 answers
  1. Valentin
    Valentin avatar
    73 posts
    Member since:
    Mar 2016

    Posted 19 Aug Link to this post



    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. Petar Marchev
    Petar Marchev avatar
    968 posts

    Posted 22 Aug Link to this post

    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.

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Valentin
    Valentin avatar
    73 posts
    Member since:
    Mar 2016

    Posted 22 Aug in reply to Petar Marchev Link to this post



    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.

Back to Top