Time based status chart

Hi all ,

I am using Influxdb+Grafana. I have a time series data that shows the state of my machines at various time interval. I would like to show the states with different colors. The width of the color will be dependent on the time difference between two entries. Sample is attached.
Can you please help me identifying which plugin I can choose.