tradingview / charting-library-examples

Examples of Charting Library integrations with other libraries, frameworks and data transports
MIT License
1.33k stars 744 forks source link

TradingView chart render issue #289

Closed toyazp closed 2 years ago

toyazp commented 2 years ago

After logging out and again login in application while trying to open any chart i am facing below error and chart is not getting displayed : " Uncaught ReferenceError: DEFAULT_SYMBOL is not defined"

But after refreshing the page this issue get solved and chart works properly

Any help will be Appreciated

eugene-korobko commented 2 years ago

Hello!

Try providing symbol while creating a chart widget

toyazp commented 2 years ago

Thanks for reply it got solved by using below code in widget: symbol: sym ? sym : "TCS",