我使用了highcharts库中的基本折线图,但是我觉得线条不够平滑。
有没有办法改善它?
我的代码:
chart: {
type:'line',
renderTo: 'issues_by_release',
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false
},
yAxis: {
min:0,
labels:{ enabled:true },
title: {
text:'Issues'
}
},
xAxis: {
tickmarkPlacement: 'on',
tickLength:10,
categories:['1','2','3','4','5'],
labels:{ rotation:-45,
align:'right'
}
},
plotOptions: {
line: {
dataLabels: {
enabled: true
},
enableMouseTracking : false,
showInLegend: true
}
},
series: [{
type: 'line',
name: 'Testers',
data: [1,2,3,4,5]
}
]
});
});
Thank you in advance !