Gwt ChartWrapper:“无法读取未定义的属性'count'”

Gwt ChartWrapper:“无法读取未定义的属性'count'”,gwt,google-visualization,jsni,Gwt,Google Visualization,Jsni,当我想使用Google Visualization API的ChartWrapper时,我遇到了一个奇怪的问题,我使用smartgwt和JSNI方法将图表放入窗口,我成功地使用了普通的图表PieChart、LineChart。。。但使用ChartWrapper,我有一个无法解决的错误: "Cannot read property 'count' of undefined" ChartWrapper调用“count”中没有属性 我使用教程的示例 google.load('visualizatio

当我想使用Google Visualization API的ChartWrapper时,我遇到了一个奇怪的问题,我使用smartgwt和JSNI方法将图表放入窗口,我成功地使用了普通的图表PieChart、LineChart。。。但使用ChartWrapper,我有一个无法解决的错误:

"Cannot read property 'count' of undefined"
ChartWrapper调用“count”中没有属性

我使用教程的示例

google.load('visualization', '1');   // Don't need to specify chart libraries!
google.setOnLoadCallback(drawVisualization);
function drawVisualization() {
    var wrapper = new google.visualization.ChartWrapper({
      chartType: 'ColumnChart',
      dataTable: [['', 'Germany', 'USA', 'Brazil', 'Canada', 'France', 'RU'],
                  ['', 700, 300, 400, 500, 600, 800]],
      options: {'title': 'Countries'},
      containerId: 'vis_div'
    });
    wrapper.draw();
  }
我还试图用官方网页上的一个简单示例绘制图表,但我也有同样的错误: