Fusion Tables API Visualization中的柱形图不是动态的

时间:2013-09-16 12:54:47

标签: javascript html javascript-events google-visualization google-fusion-tables

我的柱形图不是动态的。当我选择县时,它没有改变。我使用与融合表API高级可视化中给出的相同的代码。可能是什么问题?

 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
      }
    });
  }

0 个答案:

没有答案