How to set tradingView to fit mobile

Multi tool use
Multi tool use


How to set tradingView to fit mobile



we have used tradingView in pc Web,and it works just fine.
now we gonna to dev a mobile web.which as I know tradingView is supported.
however, when I use the demo in GitHub https://github.com/tradingview/charting-library-examples



it looks like the layout and font size are not right.it doesn't support mobile(I've set the resize:true, this may also need some configs with the tooltips?):
demo on my Iphone



but the demo in official site looks just fine:



demo on official site



what should I config to support mobile well, thanks
(I've tried to search this type questions in SO,but got nothing)




1 Answer
1



Just add this line in index.html in the public folder




<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">



<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">



https://github.com/tradingview/charting_library/issues/3031






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Sv,25uV tf53pyGZ2SYMXW0ZaSMybE,hr5louWn,JXk,B5RJddaOh q WmN 57EHq Fyo
uBIa0i6I,Hk1CaDTlj9r2s6F3wqmbJqDrTThg,Vl 5 xQVrVwlOj3xVlG 8AZ6ctx,ES

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications