rafaelklaessen / react-tradingview-widget

React component for rendering the TradingView Advanced Real-Time Chart Widget.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no side bar with drawing tools rendering

Onesun15 opened this issue · comments

Can't see the drawing tools when I have hide_side_toolbar=true.

Try

<TradingViewWidget symbol="NASDAQ:AAPL" hide_side_toolbar={false} />

when you want to show it and try

<TradingViewWidget symbol="NASDAQ:AAPL" hide_side_toolbar />

when you want to hide it.

Yes I tried this. I didn't work on my end. Any other suggestions?

For me it does work:
screen shot 2018-05-18 at 19 39 27

With the following code:

import React from 'react';
import './App.css';
import TradingViewWidget, { Themes } from 'react-tradingview-widget';

const App = () => (
  <TradingViewWidget symbol="NASDAQ:AAPL" autosize hide_side_toolbar={false} />
);

export default App;
commented

I think height size affect side tool bar maybe at least 453px above.

Hmmm could be. I'm closing this issue then since it's not a problem with this component.