Loading fails for the first time
Charles-Hamilton opened this issue · comments
Charles-Hamilton commented
when I get navigated to the page which is going to render tradingview component ,the component responsible to ,fails to load diagrams and I have to reload the whole page to render that .
have you faced with similar problem ever ?
LiuBojun commented
Have you solved the problem? How to solve it?
LiuBojun commented
try{ this.initChart() }catch(err) { TradingView.onready(this.initChart.bind(this)) }
It works for me. Hope it helps you.