used better xyaxis constructors