chart.zoomToSelectedObjects()

Type: function()
Returns: Promise<Object>

Zooms to the currently selected objects, adjusting zoom level and viewport position. If no objects are selected, no zooming is done.

chart.zoomToSelectedObjects();