Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141695 | Dec 28,2018 04:56 AM UTC | Dec 31,2018 07:39 AM UTC | WPF | 1 |
![]() |
Tags: Chart |
public class CustomLineSeries :LineSeries
{
public override void CreateSegments()
{
base.CreateSegments();
foreach (var segment in Segments)
{
Canvas.SetZIndex(segment.GetRenderedVisual(), 100);
}
}
} |
<local:CustomLineSeries XBindingPath="XValue" StrokeThickness="5"
YBindingPath="YValue" ItemsSource="{Binding Data}">
<local:CustomLineSeries.Trendlines>
<chart:Trendline />
</local:CustomLineSeries.Trendlines>
</local:CustomLineSeries> |
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.
This page will automatically be redirected to the sign-in page in 10 seconds.