我使用來自highcharts庫的基本折線圖,我認爲線條不夠光滑。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]
}
]
});
});
預先感謝您!
Highcharts提供了一個樣條擬合:http://www.highcharts.com/demo/spline-symbols/grid – Mark