SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components


I took a look at the following example :—custom-legend-with-color-picker-and-custom-point-markers


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">
                    <s:EllipsePointMarker Fill="white" Stroke="white" Width="5" Height="5"/>

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?


  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.