The knee pain can be due to the curvature at the end of the seat of the chair which might be compressing your nerves in the back side of the knee.
Next Steps
If you had knee pain before and it has still not resolved then other causes need to be evaluated like acl tear, meniscus injury etc.
Health Tips
Get a proper consult for further evaluation.