adapt to method renaming (setYAxis becomes addYAxis)