Dashed Line in the Line Chart

2 posts, 0 answers
  1. Williams
    Williams avatar
    1 posts
    Member since:
    Mar 2015

    Posted 15 Mar 2015 Link to this post

    Hi,
    Greetings,

    I just tried to draw dashed line instead of ordinary line in line series but I could not figure out.  Can any one help me.

    Thanks in advace!!!

    Regards,
    Williams.
  2. Ralitsa
    Admin
    Ralitsa avatar
    176 posts

    Posted 16 Mar 2015 Link to this post

    Hi Williams,

    Thank you for contacting us. 

    You need to set the BorderDashStyle property of the series. Please refer to the following code snippet: 

    this.radChartView1.Series[0].BorderDashStyle = System.Drawing.Drawing2D.DashStyle.DashDotDot;

    In the attachments you can find a sample project as well. 

    Should you have further questions, I would be glad to help.

    Regards,
    Ralitsa
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top