Fix a bug on newXAxis and newYAxis

Empty properties xAxis, yAxis and series where not unset