Per default, both drawXGrid and drawGrid for the x-axis are set to true, so if the user doesn't want the x-grid to be displayed I think it is more convenient to use && here or he would explicitly have to set both options to false.