Reputation: 5696
I have a Highcharts chart containing boxplots. The chart has 1 yaxis and 1 series containing 4 data-arrays which all are on the same yaxis, obviously.
how can i increase the padding between Series1 and Series[2]? the x-axis is based on categories.
EDIT: of course, i tried already with groupPadding/pointpadding, but couldn't get it to work. if i apply point/groupPadding to one specific array in series then its width gets smaller. if apply it to the whole series, then the padding is between each of the boxplots. however, i only need the padding between Series1 and Series[2]. are there any other ways to try?
EDIT2: updated/changed picture.
Upvotes: 0
Views: 502
Reputation: 45079
Use pointPlacemet
for each of the series. See demo: http://jsfiddle.net/6Lftuhzk/
series: [{
pointPlacement: -0.1, // to the left
data: [ ... ]
}, {
pointPlacement: -0.1, // to the left
data: [ ... ]
}, {
pointPlacement: 0.1, // to the right
data: [ ... ]
}, {
pointPlacement: 0.1, // again, to the right
data: [ ... ]
}]
Upvotes: 1