#3044 Add nullcheck for xAxis label fix