fixed typo in Chart/Layout set/getYMode()