score:23

Accepted answer

there are a lot of example about plotlines

just use something like this:

yaxis: {
    plotlines:[{
        value:450,
        color: '#ff0000',
        width:2,
        zindex:4,
        label:{text:'goal'}
    }]
},

one of them: demo

score:3

you have two options:

  • use plotline instead: http://api.highcharts.com/highcharts#xaxis.plotlines

  • change data format, with fixed min and max:

         xaxis: {
             min: 0,
             max: 5
         },
         series:
        [{
            type: 'column',
            data: [4.05,2.81,2.1,1.20,0.37]
        },
        {
            type: 'line',
            name: 'globale biokapazität',
            data: [[-0.5, 1] , [5.5, 1]]
        }]
    

Related Query