Is this possible?

I have a line graph which represent voltage data. I would like to highlight the graph using which charge mode the charger is in or somehow label the time periods so I can better distinguish the changes. Something like below. The time frames for each mode are variable depending on the sun and power used.