Is it possible to center the Chart around the expanded node

Hello,

Is it possible to center the chart around the last expanded node?

I have tried to use $plumsail.layoutController().getScrollContainer().scrollLeft property but it has some weird number like 48000+ by default. And I do not know how to get the coordinates of the last clicked “+” box.

Thanks.

Hi,

Thank you for your question.

Try

$.layoutController().adjustCenterScroll()

The code you have mentioned just centers the chart. I want to center around the “+” sign which is just clicked.

Hello,

Looks like I misunderstood your initial questions. Unfortunately there is no API for this. You can contact support@plumsail.com to request this functionality. We don’t have such requests from our customer yet, but you can order Pro Support to add such functionality.