0
我試過Y軸的最小設定爲1,在我JS提琴在這裏看到:http://jsfiddle.net/e2XPx/Highchart JS設置分Y軸從0到1
任何人都知道如何讓0值是1在默認情況下?
$(function() {
$('#container0').highcharts({
chart: {
type: 'line'
},
title: {
text: 'Keyword: test'
},
xAxis: {
categories:['04-14-2013','04-15-2013','04-16-2013','04-17-2013','04-18-2013','04-19-2013','04-20-2013']
},
yAxis: {
allowDecimals: false,
min: 1,
title: {
text: 'Number'
},
reversed: true
},
series: [{
name: 'test',
data: [1,4,5,2,6,7,8]
}],
});
});