请问一下做这种图时间变量怎么处理?如何转成连续变量?

https://dr2pp.oss.ns-svc.cn/gb/gbw7/gbw7XULm37jp8E5xxZ0V.png