Pre loader

Selecting Points using a shape other than square

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

0
0

Hi there,

We have implemented sci charts in our plotting application with great success so far. We currently have only one item outstanding. The users want to select points using a ‘lasso’ tool, basically they want to draw a custom shape and get all points within that shape to be selected.

So far we have implemented your example selected points using the square drag box. Is there anyway that the above requirement can be accomplished using your API?

Thanks for the help in advance !

Apologies if this is a duplicate question, I did search the forum but didn’t get any answers that match my question.

  • You must to post comments
0
0

Hi there,

Thanks for your question. It is possible to implement point selection within a custom area, once there is the hit test operation implemented for it. In the example, hit test is performed inside the PerformSelection method, where it checks whether the rectangular area contains a point. So you should just replace it with your own implementation and decide how to draw that area in WPF to get it working.

There is also a slightly different technique demonstrated in this example, which uses PaletteProvider for selection/coloring of points.

Please feel free to ask if you have any further questions,

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