I am using the below code to fit a linear regression line, Private_Hospital is a binary variable

graph twoway lfit Private_Hospital_1 Differential_Distance

I would like to show the R2 on the graph if possible, does anyone know how to do this?

i have looked at the help file and no luck so far