I took a look at the following example :
and
I noticed that I can change the stroke thickness and color of the line of the renderable series but not those of the pointmarkers . How can I achieve this in this specific example?
I need a style or templated solution because I have multiple renderable series on several charts on separate panes.
I tried the following but even setting the fill/stroke to specific values within a style-template does not work :
<Style TargetType="{x:Type s:BaseRenderableSeries}">
<Setter Property="PointMarkerTemplate">
<Setter.Value>
<ControlTemplate>
<s:EllipsePointMarker Fill="white" Stroke="white" Width="5" Height="5"/>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
When I create a FastLineRenderableSeries without PointMarkers then only a line is shown on the chart without point markers despite the style in my UserForm.Resources. Anything I am doing wrong?
P.S.: I should have mentioned that I add RenderableSeries via ViewModel and add to ChartSeriesViewModel. But whether the RenderableSeries is created in the viewmodel and not in xaml should not make a difference right?
Thanks
- bbmat asked 9 years ago
- last edited 9 years ago
- You must login to post comments
Please login first to submit.