Yaxis positioned wrongly inside of chart area

Hello! I am trying to create a multiple axis line chart following the last example in the guide, but the chart keeps positioning my ‘freely’ positioned axes inside the chart, instead of on the left or right of it.

Is this expected somehow?