我的以下代码产生“TypeError:节点为空”。请帮助解决问题。
function(Chart, theme, Pie, Tooltip, MoveSlice) {
var chartData = [1000,3000,2000,4000,2300,2600];
var chart = new Chart("chartNode");
chart.setTheme(theme);
chart.addPlot("default", {
type: Pie,
markers: true,
radius:300
});
chart.addAxis("x");
chart.addAxis("y", { min: 5000, max: 30000, vertical: true, fixLower: "major", fixUpper: "major" });
chart.addSeries("Monthly Sales - 2010",chartData);
var tip = new Tooltip(chart,"default");
var mag = new MoveSlice(chart,"default");
chart.render();
)};
提前致谢...