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

Chart not displaying on hosted website #277

Closed rucha0702 closed 2 years ago

rucha0702 commented 2 years ago

Trading view chart is visible on localhost but does not display on the hosted website.

Steps followed for integration: 1.Added charting library folder in both public and src folders of the root directory 2.Added datafeeds folder in the public folder 3.Added TVChartContainer in the components folder in src folder

Tried changing library_path in charting but it still didn’t work.

image

edew commented 2 years ago

Hi @rucha070

Can you can share a link to the hosted website so we can investigate?

rucha0702 commented 2 years ago

Hi @edew Here's the link: https://www.sharksigma.com/charts License Key: ORCASHARK21

edew commented 2 years ago

@rucha0702

It seems your site has some SSL errors when trying to connect to the TradingView's demo data feed.

You need to connect the chart to your own data source: https://github.com/tradingview/charting_library/wiki/Connecting-Data

rucha0702 commented 2 years ago

Okay, Thank you for letting me know.