我想在Highcharts中显示几个数组的arrayNam.Lenth / 5。这不起作用。我该怎么办?
$(function () {
$('#number_container').highcharts({
chart: {
type: 'bar'
},
title: {
text: 'Visualization'
},
xAxis: {
categories: ['All', 'Basic', 'Intermediate', 'Advanced']
},
yAxis: {
title: {
text: 'Number'
}
},
series: [{
name: 'Scans',
data: [allScans.length / 5, 1, 4, 4]
}]
});
}); < /script>