Zooming is not working correctly when chart is inside another pane
kerner1000 opened this issue · comments
Kerner commented
Probably the wrong background is used (the root parent instead of the chart parent) to calculate zoom-boundaries.
Floxii commented
There is a way to make it work well in this case or not ? Your zoom is so great and I need it in a project, then if there is a solution tell me :)
Kerner commented
Pull requests are welcome! :)
dpere326 commented
Updating line 313 as shown below worked for me. Thanks!
final Bounds bb = chartBackground.parentToLocal(rect.getBoundsInParent());
Govind commented
Thanks, Zoom is perfect !!, Any new version planned with above change. As i have the same issue.