Note that there are some explanatory texts on larger screens.

plurals
  1. POGoogle Chart Won't Show Up When Adsense Is On The Page
    primarykey
    data
    text
    <p>So I've got a test site that uses Google's Chart API. I wanted to put an Adsense banner on this site. When I add the Adsense code the chart won't display, but the ad does. Take the Adsense code out and the chart displays just fine.</p> <p>EDIT: Doesn't matter where the Adsense code is put either. If it's there, the chart is not.</p> <p>Here's the entire page:</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;script type="text/javascript" src="https://www.google.com/jsapi"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; google.load("visualization", "1", {packages:["corechart"]}); google.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['Date', 'Price'], ['Yesterday', 10.00], ['Today', 12.00], ]); var options = { title: 'kyurem' }; var chart = new google.visualization.LineChart(document.getElementById('chart_div')); chart.draw(data, options); } &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div&gt; &lt;h3&gt;doeiqts's Pokemon Price Guide&lt;/h3&gt; &lt;/div&gt; &lt;div id="adsense"&gt; &lt;script type="text/javascript"&gt;&lt;!-- google_ad_client = "ca-pub-4255182576260971"; /* Pokemon Graph */ google_ad_slot = "2704848389"; google_ad_width = 728; google_ad_height = 90; //--&gt; &lt;/script&gt; &lt;script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt; &lt;/script&gt; &lt;/div&gt; &lt;div id="cardPicture" style="height: 400px; width: 227px; float: left;"&gt; &lt;img src=http://pokegym.net/gallery/displayimage.php?imageid=53682 style="height: 320px; width: 227px; position: relative; top: 80px;" /&gt; &lt;/div&gt; &lt;div id="chart_div" style="width: 900px; height: 500px; float: left;"&gt;&lt;/div&gt; &lt;div style="clear: both;"&gt; &lt;p&gt; &lt;br&gt; &lt;p&gt; This site is not affiliated with Nintendo, Pokemon, PokeGym, or eBay. &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload