Embedded Google Trends charts not displaying properly
-
I have been playing around with Google Trends charts recently and working on a new post with a number of them. I recently discovered, though, that a previous post with Google Trends charts is having some issues.
All charts are found on Google Trends, which provides an embed code. It appears that in all cases, the first chart in each post displays the full image. All of the additional charts show only the very top of the chart and the rest is cut off. In the linked page the first chart that is cut off is about “home haircuts” and the embed code in use is:
<script type="text/javascript" src="https://ssl.gstatic.com/trends_nrtr/2213_RC01/embed_loader.js"></script> <script type="text/javascript"> trends.embed.renderExploreWidget("TIMESERIES", {"comparisonItem":[{"keyword":"home haircuts","geo":"US","time":"today 12-m"}],"category":0,"property":""}, {"exploreQuery":"q=home%20haircuts&geo=US&date=today 12-m","guestPath":"https://trends.google.com:443/trends/embed/"}); </script>
I have added this code a couple of different ways. I added it directly in the code editor and I have also used the custom html blocks and both exhibit the same behavior. When added using the custom html blocks and previewed while still in editing mode, everything looks correct. When the full post is then previewed, or published, the charts begin displaying as they are in the post I linked to where the top of the chart is visible but the rest is cut off.
This is my first post here, so I apologize if I missed some important information. Other things that might be relevant are I am on the latest version of Hestia (3.0.1). I use BlueHost as my hosting service. I did go through them for support initially, but they concluded it was an issue with the theme and to reach out here.
Any help is appreciated.
The page I need help with: [log in to see the link]
- The topic ‘Embedded Google Trends charts not displaying properly’ is closed to new replies.