SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

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.