直接上代码
//载入曲线
$('#newcontent').highcharts({
chart: {
type: 'line'
},
title: {
text: null
},
xAxis: {
categories: newsub,
},
yAxis: {
min: 0,
title: {
text: null
},
labels: {
formatter: function() {
return this.value / 10000 + '万';