SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
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.
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.
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,
Please login first to submit.