Open gopal-panigrahi opened 3 months ago
Hi @kurkle, Please can you review the PR.
Hi @gopal-panigrahi I believe this would fix an issue we're having in our charts. Is there any portable solution I can try on my end to see if it works?
Hi @zloveless, In our project, I had to create a patch file for these changes, you can try the same. I used the patch-package library.
Hi @zloveless, In our project, I had to create a patch file for these changes, you can try the same. I used the patch-package library.
Thanks! I found some code in one of the tracking issues on this here... I just used added a callback to onZoomStart() to check if the zoom action is in the chart area. I still wish one of these PR's that fix it would get merged.
Fix: #770 Fix: #807
Changes:
mousemove
event tocanvas.ownerDocument
for calculating drag rectangle even when cursor is outside the chart area.clientX/Y - chartArea.left/top