Adding a Chart widget from TradingView

HI,

we are having an issue getting a Chart widget to work with BB.
We have the latest version of Wordpress and BB 1.6.4.7 on Genesis framework. An example of the widget and code we are trying to install is located here: https://www.tradingview.com/widget/

What that looks like on our site is here: http://mavericktrading.net/members/charts-2/

As you can see the Height does not expand. If we change the settings in the widget from autosize and set the height and width it works fine. The issue there is we lose all responsiveness.

Thanks in advance for your help

Hi Bob,

Would it be possible for you to provide the code you’re using to implement this widget, please.

All the best,
Danny

<!-- TradingView Widget BEGIN -->
<script type=“text/javascript” src=“https://d33t3vvu2t2yu5.cloudfront.net/tv.js”></script>
<script type=“text/javascript”>
new TradingView.widget({
“autosize”: true,
“symbol”: “FX:SPX500”,
“interval”: “D”,
“timezone”: “America/New_York”,
“theme”: “White”,
“style”: “1”,
“locale”: “en”,
“toolbar_bg”: “rgba(0, 0, 196, 1)”,
“withdateranges”: true,
“hide_side_toolbar”: false,
“allow_symbol_change”: true,
“details”: true,
“hotlist”: true,
“calendar”: true,
“news”: [
“headlines”
],
“hideideas”: true,
“show_popup_button”: true,
“popup_width”: “1000”,
“popup_height”: “650”
});
</script>
<!-- TradingView Widget END -->

Hey Bob,

I just tried the code above on a regular page without BB and I’m getting the same thing. I believe this has nothing to do with BB but with the code attributes or what it supports.

You can try doing the same thing to see what I mean, i.e., disable BB, create a new page, and paste the code inside the native WP editor.

I’d suggest hitting this up with the code widget authors. Sorry I don’t have a better answer for you.

Ben