How to show two different overlapping graph for same field and on same panel, with different time ranges?

e.g. we have to show one graph for the data of year 2018 april, simultaneously we have to show data for 2019 april. we have to use single panel and both of the graph overlapping (partially or fully depending on data)