chart.zoomToSection()
Type: function(label)
Returns: Promise<Section[]>
Zooms to the section or sections identified by label, adjusting zoom level and viewport position.
label is case-sensitive.
chart.zoomToSection('VIP seats');
- If no section has that label, the returned promise is rejected.
- If there are multiple sections and they are on different floors, it shows all of those floors.
- In 2D, that's the all-floors view, without zooming in on the sections.
- With
lockActiveFloor, it stays on the locked floor and leaves out the sections on other floors, listing them in a console warning.