Reputation: 2077
My column chart is not dynamic. Its not changing when I select the county. I am using the same same code as the one given in fusion tables API advanced visualization. What could be the problem?
function drawVisualization(County) {
google.visualization.drawChart({
containerId: "visualization",
dataSourceUrl: "http://www.google.com/fusiontables/gvizdata?tq=",
query: "SELECT Environment,'BoyPupils','GirlPupils'" +
"FROM 1eC4sIAgVXfFj01mOM2cDiyW2nly7TcFeIXj1G3s WHERE County = '" + County + "'",
chartType: "ColumnChart",
options: {
title: County,
height: 400,
width: 400
}
});
}
Upvotes: 0
Views: 82