How about the code you are currently using? Since there are multiple ways such a graph might be made it helps to have your code so we can suggest something easily compatible. If we have to guess as to the code results can be problematic.
Is your Year variable a SAS DATE value with a format like YEAR4 used or a simple number like 2024?