在导航器的Highchart中,线下有浅色。它给出了面积图的效果。可以删除此颜色,以便在Highchart导航器中仅显示一行。
代码:
$(function () {
$('#container').highcharts('StockChart', {
navigator: {
maskFill: 'rgba(180, 198, 220, 0.75)'
},
rangeSelector: {
selected: 1
},
series: [{
name: 'USD to EUR',
data: usdeur
}]
});
});
答案 0 :(得分:4)
选中此out
$(function () {
$('#container').highcharts('StockChart', {
navigator: {
maskFill: 'rgba(180, 198, 220, 0.75)',
series: {
color: '#4572A7',
fillOpacity: 0.00,
lineWidth: 1
}
},
rangeSelector: {
selected: 1
},
series: [{
name: 'USD to EUR',
data: usdeur
}]
});
});