Hello there,
The hit test provider for stackedColumnRenderableSeries returns ‘false’ for the ‘isHit’ boolean when hit testing stacked columns with negative values. However, stacked Columns with positive values correctly return ‘true’ for ‘isHit’ when used in the same setup.
I am trying to achieve that the hit test provider returns ‘true’ when hit testing stacked columns with negative values.
Here’s my demo:
https://codepen.io/maxgeldner/pen/rNXYjgX?editors=1010
I have tried exchanging the series in line 75 and 77 and clicking on the displayed columns afterwards in order to hit test them. Clicking on negative columns returns ‘false’ inside the hit test, clicking on positive columns returns ‘true’.
- Johannes Pungier asked 1 month ago
- last edited 1 month ago
- You must login to post comments
Hi Johannes,
This fix has been pushed to version 3.5.697. Thank you again!
Best regards,
Andrei Vascul
Software engineer, SciChart Ltd.
- Andrei Vascul answered 3 weeks ago
- You must login to post comments
Hello Andrei,
thank you very much for your answer and for the quick fix! Very helpful!
Kind regards,
Johannes
- Johannes Pungier answered 3 weeks ago
- last edited 3 weeks ago
- You must login to post comments
Hi Johannes,
This was an actual bug where the isHit
was checked to be between top and bottom, but only if top > bottom, thank you for spotting this!
Here is a ticket on this: https://abtsoftware.myjetbrains.com/youtrack/issue/SCJS-1854/HitTest-boolean-isHit-did-not-register-for-negative-points.
The fix is merged to dev, is waiting for testing and will be pushed into production, which will most likely be at the end of this week or start of the next week.
Best regards,
Andrei Vascul
Software engineer, SciChart Ltd.
- Andrei Vascul answered 1 month ago
- You must login to post comments
Please login first to submit.