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

0
0

RenderableSeries Hit-Test is not working as expected. Some bugs on the the RenderableSeries Hit-Test. Distance between two points are less then its working most of the time and getting the isHit variable getting true. But the distance is high then the lines near to the point only getting the isHit true. I am attaching the image when the red marked area is working fine and the blue marked area not working.

  • You must to post comments
0
0

Hi Arun,

I’ve done some testing today. I created an example which you can run here for the Hit-Test API:
https://github.com/ABTSoftware/SciChart.JS.Examples/tree/dev/Sandbox/CustomerExamples/HitTestingPointsDemo

This seems to be working fine. Can you test it out?

enter image description here

Best regards,
Andrew

  • Arun Surendran
    Thanks Andrew Burnett-Thompson.. I have checked the example provided by you. Only change i have made is xValues: [0,1,2,3,4,5,6,7,8,9], yValues: [0,1,5,1,20,5,1,8,9,3]. Please look the attached gif or zip file on the question. When hitting on the points its working fine. But when hitting on the lines the points going somewhere else and not getting the isHit value true.
  • Andrew Burnett-Thompson
    Aha! Got it. Thanks Arun, wow that is a strange bug indeed. Investigating
  • You must to post comments
0
0

Hi Arun

This is looking a lot better. Will be publishing a fix for this shortly.

enter image description here

Best regards,
Andrew

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.