Fix a bug on newXAxis and newYAxis

Empty properties xAxis, yAxis and series were not unset