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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

I took a look at the following example :

http://support.scichart.com/index.php?/Knowledgebase/Article/View/17244/39/tutorial—custom-legend-with-color-picker-and-custom-point-markers

and

http://support.scichart.com/index.php?/Knowledgebase/Article/View/17183/28/pointmarker-color-bindings


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

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.