Pre loader

Selecting points within a drawn polygon

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

Hi there,

I am currently evaluating SciChart for use within a new piece of software we are developing. One important feature that we need to provide is to be able to draw a polygon and determine which points are contained within it. Then the colour, visibility, etc of these points can be changed. I can see from your documentation that this could be achieved by creating a custom chart modifier to draw lines that make up the shape and then implement my own algorithm to determine which points are contained within it. Before I embark on this route, could you tell me if I have missed any implementation that already exists? Will the drawn polygon zoom and pan with the graph, therefore enclosing the same points?

Kind Regards,

Kathryn

  • You must to post comments
Best Answer
0
0

Update, SciChart v4, Feb 2016

We now natively support Data-Point Selection in sciChart WPF v4:

SciChart PointMarker Selection Example

enter image description here

Please see the DataPointSelectionModifier example for more details.

  • You must to post comments
0
0

Many thanks for answering my question so quickly and comprehensively!

  • Andrew Burnett-Thompson
    It was asked many many times, and we finally had the time to create an example (or finally cracked due to weight of number of requests). Glad it helped! Andrew
  • You must to post comments
1
0

Hi Kathryn,

We’ve extended our Custom ChartModifiers sample to include data-point selection via mouse drag. This is fresh off the press and we are still proof reading it, but if you take a look at the article ChartModifiers Part 5 – Select Data Points via Mouse Drag you will find a how-to guide.

SciChart Select DataPoints via mouse

Best regards,
Andrew

  • You must to post comments
Showing 3 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