score:2

Accepted answer

Your tickInterval should be in the correct order for the chart to end on your min and maxes:

yAxis:[
           {
                title: {
                    text: "Teplota (°C)"
                },
                gridLineWidth: 0,
                    min: -40,
                    max: 50,
                    tickInterval: 10
           },
            {
                title: {
                    text: "Srážky (mm)",
                },  
                opposite: true,
                gridLineWidth: 0,
                min: 0,
                max: 500,
                tickInterval: 100
            },
    ]

Here's the DEMO


Related Query

More Query from same tag