blinktrade/frontend-legacy

Corrigir gráfico

Opened this issue · 1 comments

O TradingView está bloqueando iFrame.

Agora é necessário usar o widget deles.

O novo código é:

<script type="text/javascript" src="https://s3.amazonaws.com/tradingview/tv.js"></script>
<script type="text/javascript">

new TradingView.widget({
     "width": 800,
    "height": 600,
    "symbol": "FOXBIT:BTCBRL",
    "interval": "240",
    "timezone": "exchange",
    "theme": "White",
    "toolbar_bg": "#f4f7f9",
    "hide_side_toolbar": false,
    "watchlist": [
    "BITFINEX:BTCUSD",
    "OKCOIN:BTCCNY"
    ],
    "details": true,
    "locale": "pt",
    "hideideas": true
});

</script>

Só trocar o width e height pelo tamanho ou usar autosize: true.

This can be closed.
Its fixed on master