Answer the question
In order to leave comments, you need to log in
How to connect this widget in react?
I am writing an application in React, I want to display a widget (crypt graph) in html, it is connected like this
<script type="text/javascript" src="https://s3.tradingview.com/tv.js"></script>
<script type="text/javascript">
new TradingView.widget(
{
"width": 980,
"height": 610,
"symbol": "NASDAQ:AAPL",
"interval": "D",
"timezone": "Etc/UTC",
"theme": "Light",
"style": "1",
"locale": "en",
"toolbar_bg": "#f1f3f6",
"enable_publishing": false,
"allow_symbol_change": true,
"container_id": "tradingview_0ce88"
}
);
</script>
How to display it in react, here is the widget site - https://www.tradingview.com/widget/advanced-chart/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question