getyAxis and getxAxis now accept 0 as valid index (#15306)

Change-Id: Ib5e7b0fda98c6d320c23ea55af8075d8d972bd93