x axis inputs must be strictly increasing

thx to @QuLogic for pointing that out