You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Here is a use case: when all the series of a particular pane are hidden, the pane should be collapsed; otherwise, the pane should be restored.
constsecondPane=chart.pane()[1];constseries=secondPane.getSeries();constvisible=series.some(s=>s.option().visible);secondPane.setHeight(visible ? 200 : 0);// It doesn't work when visible is set to false because the minimum height of the pane is 30px.
Describe the solution you'd like
Based on this use case, the IPaneApi needs to add two methods: collapse() and restore().
Is your feature request related to a problem? Please describe.
Here is a use case: when all the series of a particular pane are hidden, the pane should be collapsed; otherwise, the pane should be restored.
Describe the solution you'd like
Based on this use case, the
IPaneApi
needs to add two methods: collapse() and restore().Additional context
The text was updated successfully, but these errors were encountered: