StrokeDashArray in WPF Q2 2014

3 posts, 0 answers
  1. Joe
    Joe avatar
    11 posts
    Member since:
    May 2014

    Posted 23 Sep 2014 Link to this post

    After upgrading to WPF Q2 2014, the StrokeDashArray property stopped working for me.  I confirmed with the same project linking to Q1 2014 that the property is working.

    Here is the XAML that reproduces the issue.  Any ideas?  Note that the Stroke and StrokeThickness properties are being updated correctly to Red and thickness 2.  It's just the StrokeDashArray that stopped working.

    <chartView:ScatterLineSeries ItemsSource="{Binding LineData}" XValueBinding="XValue" YValueBinding="YValue">
         <chartView:ScatterLineSeries.StrokeShapeStyle>
              <Style TargetType="Path">
                   <Setter Property="Stroke" Value="Red"/>
                   <Setter Property="StrokeDashArray" Value="10 5"/>
                   <Setter Property="StrokeThickness" Value="2"/>
              </Style>
         </chartView:ScatterLineSeries.StrokeShapeStyle>
    </chartView:ScatterLineSeries>
  2. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 24 Sep 2014 Link to this post

    Hi Joe,

    Indeed, the StrokeDashArray property is not applied correctly in Q2 2014 release. We are going to investigate the reason behind this behavior.

    Hoewever, to set a dash array for the line you can use the DashArray property of the series.
    <telerik:ScatterLineSeries DashArray="10 5">

    I hope this helps.

    Regards,
    Martin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 26 Sep 2014 Link to this post

    Hi Joe,

    We can confirm this is an issue in RadChartView and we logged in our feedback portal where you can track its status. We also updated your Telerik points as a small sign of gratitude for the report.

    Regards,
    Martin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top