任何人都可以帮我解决这个代码。
<script type="text/javascript">
$(function () {
$("#chartContainer").dxChart({
dataSource: [{
st_status: "Placed Students",
oranges: 3
}, {
st_status: "Higher Students",
oranges: 2
}, {
st_status: "Overlap",
oranges: 1
}],
series: {
argumentField: "st_status",
valueField: "oranges",
name: "Series 1",
type: "bar",
color: "blue"
}
});
}
</script>
图表未显示在网页中。知道出了什么问题吗?我是菜鸟,如果我没有在正确的主题下提问,请原谅我。谢谢!
编辑:控制台中的错误说这个 Uncaught TypeError: Object [object Object] has no method 'dxChart' graph_test.php:46 Failed to load resource: server response with a status of 404 (Not Found)