Hello everyone,

I'm working with a time series data set and I'm making some graphs, using the tsline command. However I'm working with quarterly data and I'd like to change the xlabel of the graphs, from 2017q1, to T1-2017 (for every date...), however I don't know how to do it. I started doing:

Code:
tsline discriminacion, title("Evolución denuncias ingresadas (2017-2022)") subtitle("Discriminación") ytitle("Número de denuncias" " ") ylabel(0(100)500) xtitle(" " "Trimestres") xlabel(tq(2017q1) "T1-2017" tq(2017q2) "T2-2017" tq(2017q3) "T3-2017" tq(2017q4) "T4-2017" tq(2018q1) "T1-2018") recast(connected) tline(2020q2, lpattern(dash))
However, the code isn't working. And also I think that the way I'm doing it, it isn't efficient at all, because the dates are from 2017q1, to 2022q3. I would really appreciate your help!