fixes #2533048 - chart axis majorUnit "distance"

majorUnit type "distance" was not working due because it was using an invalid attribute "length" - the fix is to call the parent class getLength function