2017-10-10 74 views
0

在一个有很多数据点的Highcharts柱形图中,说一整年的每一天,在我看来柱子太宽了。如何给他们一个宽度如1像素?我没有成功试过这个:Highcharts中有很多列的列太多

plotOptions: { 
    series: { 
     pointWidth: 1 
    } 
}, 

Here's a jsfiddle

+0

按照[API](http://api.highcharts.com/highcharts/plotOptions.column.pointWidth)你有它正确。 – ewolden

+0

你的小提琴看起来不错。 – wergeld

+0

那么,就像柱子一样薄? – burktelefon

回答

0

您有更多的系列数据,以便拉贝斯pointWidth: 1是罚款,否则我们要删除序列数据,或通过设置borderWidth 0采取使用这样

Highcharts API

chart: { 
     zoomType: 'x', 
     width:525 

    },