Please help!

I have a simple, balanced longitudinal data set. I xtset the data and then run xtline. Each time I run xtline I am getting a completely different graph that does not reflect the summary data.

Any ideas why this is happening and how I can fix it??

Below is my code:

egen id = group(study_id)
sort id visit_month
drop study_id
xtset id visit_month

bysort arm visit_month: sum hfais_summary
xtline hfais_summary, recast(connected) i(id) t(visit_month)

bysort arm visit_month: sum wealthscore
xtline wealthscore, recast(connected) i(arm) t(visit_month)

bysort arm visit_month: sum social_support_sum
xtline social_support_sum, recast(connected) i(arm) t(visit_month)