This is probably because your Apple Health permissions aren't setup correctly. Please double check them by going to the Health app on your iPhone, then select the Sources tab. After tapping on MySwimPro, be sure that ALL of the requested permissions are granted.
If they weren't all granted, then the graph should appear correctly after you swim next time.