Great to see you back on Community E21J.
There isn't way to natively compare them using graphs, one thing you can try doing would be to export the report to Excel for each time frame then to create a graph from there comparing the two years. the reports with graphs in QuickBooks Desktop are quite limited to customisation available natively.
Please let us know if you have any further questions.