webmobiledev / vue-tradingview

This is a tradingview chart using Vue 2, Vuex and TypeScript.

Home Page:https://vue-vuex-tradingview.firebaseapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loading fails for the first time

Charles-Hamilton opened this issue · comments

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 ?

Have you solved the problem? How to solve it?

try{ this.initChart() }catch(err) { TradingView.onready(this.initChart.bind(this)) }
It works for me. Hope it helps you.