AccelStepper Weird Acceleration

Hi i have a weird acceleration curve on one of my motors. I posted it on reddit but no one helped me. See here

Basically, my acceleration curve would be like that for some reason:

What are the units for the x axis and the y axis?