Pre loader

Ergonomics of the selection

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 EveryBody,

I hope you are fine,

I am working on tablet windows with only one DataSerie vizualisation.

To increase the ergonomic of my application on DatapointSelection, I want to be able to click on any point in the scichart then the DataPoint corresponding to the X axes of my point click get Selected.

Is it possible? Can you help me please.

I sent a picture to explain you the needed functionnality.

Thank you very much,

Princy Andriampaniry

Version
Version 5
Images
  • You must to post comments
0
0

To achieve this you would have to modify the source-code or create a custom chartmodifier. You can try using the Hit-Test API:

There is a function called BaseRenderableSeries.HitTestProvider.VerticalSliceHitTest which will return a HitTestInfo closest to the x-value.

Try our Hit-Test example and modify it to use VerticalSliceHitTest. Does it provide the info you need?

Next, you can programmatically select points by using the PointMetadata API.

Basically it is possible, just requires using a few different APIs to get the desired result.

You might also be interested in our ‘ChartModifier Sandbox’ which shows how to create chart modifiers or behaviours. One of them is a simple example of data-point selection: ChartModifier Sandbox.

Best regards,
Andrew

  • 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