Dear all,
I try to style default value for the FastLineRenderSeries by setting the stroke color and thinckness.
If In set directly those value inside xaml as below it works fine :
<s:SciChartSurface.RenderableSeries>
<s:FastLineRenderableSeries DataSeries="{Binding ColumnDataSeries}"
Stroke="DarkBlue"
StrokeThickness="2"/>
</s:SciChartSurface.RenderableSeries>
Then if I create the following style and apply it, it does not work
<Style x:Key="SingleStrokeStyle" TargetType="s:FastLineRenderableSeries">
<Setter Property="Stroke" Value="{StaticResource NigthBlueBrush}"/>
<Setter Property="StrokeThickness" Value="2"/>
</Style>
Any idea how to make it work ?
Regards
serge
- sc sc asked 6 years ago
- You must login to post comments
Usually you need to set the Style on the series, like this
<s:FastLineRenderableSeries Style="{StaticResource SingleStrokeStyle}"/>
Best regards,
Andrew
- Andrew Burnett-Thompson answered 6 years ago
- You must login to post comments
Please login first to submit.