Google Docs (spreadsheet chart) not showing inside a WordPress post
-
Hi all: Google added an easy way to publish spreadsheet charts by cutting and pasting embedded code. I am trying on my blog but for some reason the chart does not display. Here is a test chart code:
<script type=”text/javascript” src=”//ajax.googleapis.com/ajax/static/modules/gviz/1.0/chart.js”> {“dataSourceUrl”:”//docs.google.com/spreadsheet/tq?key=0Aix2tWUrq3y8dFdLYUl1RG1ZOHBaR1d4NmJ2eWRzdGc&transpose=0&headers=-1&range=C8%3AD10&gid=0&pub=1″,”options”:{“title”:”Test better title”,”backgroundColor”:”#FFFFFF”,”legend”:”right”,”colors”:[“#3366CC”,”#DC3912”,”#FF9900”,”#109618”,”#990099”,”#0099C6”,”#DD4477”,”#66AA00”,”#B82E2E”,”#316395”,”#994499”,”#22AA99”,”#AAAA11”,”#6633CC”,”#E67300”,”#8B0707”,”#651067”,”#329262”,”#5574A6”,”#3B3EAC”,”#B77322”,”#16D620”,”#B91383”,”#F4359E”,”#9C5935”,”#A9C413”,”#2A778D”,”#668D1C”,”#BEA413”,”#0C5922”,”#743411”],”is3D”:true,”hasLabelsColumn”:true,”hAxis”:{“maxAlternation”:1},”width”:600,”height”:371},”state”:{},”chartType”:”PieChart”,”chartName”:”Chart 1″} </script>
Is there some wrapper code to add before and after, or something else? Thinking that pasting directly in the HTML editor of WordPress should just show the Google Chart?
- The topic ‘Google Docs (spreadsheet chart) not showing inside a WordPress post’ is closed to new replies.