Pre loader

How to place a single marker on a specific data point in a data series?

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

Answered
1
0

I have a WPF application where I am using SciChart to display data placed in an XyDataSeries, which is contained in a FastLineRenderableSeries.

I also have a ListView that displays the same data.

I want to place a marker on the data point selected by the user from the ListView. I would like to use the inverted triangle as the marker.

I know how to identify the item in the data series, but how do place a marker on that single point in the data series?

Thanks,
Dave

Version
4
  • You must to post comments
Great Answer
1
0

I have realized I can do this by simply adding a second renderable series (XyScatterRenderableSeries) to the SciChartSurface. So I have one data series with the complete data set contained in an XyDataSeries and another data set with a single point contained in an XyDataSeries. I also set the XyScatterRenderableSeries PointMarker property to the type of point marker I want.

If someone has a better solution I would appreciate hearing about it.

Dave

  • You must to post comments
0
0

Hi Dave, the only alternative solution I was going to suggest was to use the DataPointSelectionModifier to select your points, then use our Annotations API to place a marker right above or below the point which is selected.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies