-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chart is getting hidden if resized too small #1747
Comments
Hi @vishnuc, could you please provide a codesandbox with a reproduction of the issue? I tried to replicate the issue but couldn't reproduce it on v5-candidate. |
Hi , I am travelling , will send you once I am back, just try to create a responsive div and reduce the height of chart very small <=0.. make sure there is pane added to the chart.. should be pane1 and pane2 |
if you are talking about resizing panes, we have a minimum height of 30 pixels for that. If you are resizing the full chart element into 1px, you need to call |
Hi , can u remove that restriction , because If i have 5 panes (5 indicators) and 5 charts per page.... sometimes its bettter to resize more... Right now I forked the v5 candidate and changed the min pane height const , but it would be great if its removed officially... I see no use for keeping min 30 pixels. |
we need to set some minimum height for the pane on resize, but we can think of introducing some API to collapse/restore the pane |
For pane reszing thats fine , u can stop at 30px .. if you see tradingview original if there are like two panes 1.When pane is resized it stops at 30px Also please include api like , hidePane , ShowPane , maximize pane .. for moving pane we have option I guess (moveTo) and removePane |
Hi I was forking from v5-candidate today , previously used before forking 2 weeks before .. this bug was not there before.. suddenly today it happened.. check video ..
https://www.youtube.com/watch?v=TMhoAb1dCMQ
The text was updated successfully, but these errors were encountered: