How to change the interval of years x Axis

Hello, I have a bunch of Time Series panels where and there I populate them with data from my database, my query it’s described below

SELECT STR_TO_DATE(CONCAT(year, '-01-01'), '%Y-%m-%d') AS time, quantity as 'Other Country'

FROM db.ghg_emission_per_capita

WHERE party = '$party'

ORDER BY time;

And I get something like this, and I would like if I can straight the years instead on even years, to 5 in 5 years or something. Is it possible?