0
votes

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.

enter image description here

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.

1
If the intent is to group them, you can also set this up as two series and use categories: jsfiddle.net/jlbriggs/zf7bcmf5jlbriggs
i already use categories, so i think i cannot reuse them for grouping, but thanks for the hint.beta

1 Answers

1
votes

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: [ ... ] 
    }]