高图 - 如何更改图表基线的颜色?

时间:2015-11-11 01:22:12

标签: javascript highcharts

enter image description here

如何更改图表基线的颜色?我似乎无法在此链接中找到相关属性 - http://www.java2s.com/Tutorials/highcharts/Example/Axis/highcharts_Axis.htm?我错过了什么吗?

2 个答案:

答案 0 :(得分:0)

像这样?

app.get('/upvote', function(req, res) {
    User.update({_id: req.user._id}, {$inc: {score: 1}}, function(err, count) {
        res.redirect('/dashboard');
    });
});

文档:http://api.highcharts.com/highcharts#xAxis.plotLines

答案 1 :(得分:0)

xAxis: {
    lineColor: "#F2F2F2",
}