Highcharts 如何在海图中移动直线系列?

Highcharts 如何在海图中移动直线系列?,highcharts,Highcharts,我有这种高级格式: series:[{ name: 'X', type: 'column', color: '#F4811F' },{ name: 'Y', type: 'column', color: '#8EB950' },{ name: 'Z', type: 'column', color: '#5C97D3' },

我有这种高级格式:

    series:[{
        name: 'X',
        type: 'column',
        color: '#F4811F'
    },{
        name: 'Y',
        type: 'column',
        color: '#8EB950'
    },{
        name: 'Z',
        type: 'column',
        color: '#5C97D3'
    }, {
        name: 'AvgX',
        type: 'line',
        lineWidth: 4,
        color: '#F4811F'
    }, {
        name: 'AvgY',
        type: 'line',
        lineWidth: 4,
        color: '#8EB950'
    }, {
        name: 'AvgZ',
        type: 'line',
        lineWidth: 4,
        color: '#5C97D3'
    }]
显示的图表如下所示


如何将AvgX移动到X上,将AvgZ移动到Z上?Highchart中是否有这样做的选项?

您可以为
系列设置正确的
点位置
属性:

series: [{
    name: 'X',
    type: 'column',
    color: '#F4811F',
    data: [1, 1, 1]
}, {
    name: 'Y',
    type: 'column',
    color: '#8EB950',
    data: [1, 1, 1]
}, {
    name: 'Z',
    type: 'column',
    color: '#5C97D3',
    data: [1, 1, 1]
}, {
    name: 'AvgX',
    type: 'line',
    lineWidth: 4,
    pointPlacement: -0.2,
    color: '#F4811F',
    data: [2, 2, 2]
}, {
    name: 'AvgY',
    type: 'line',
    lineWidth: 4,
    color: '#8EB950',
    data: [3, 3, 3]
}, {
    name: 'AvgZ',
    type: 'line',
    lineWidth: 4,
    pointPlacement: 0.2,
    color: '#5C97D3',
    data: [4, 4, 4]
}]
现场演示:


API:

是的,在探索其他图表类型时,我们刚刚看到了该选项。。谢谢