def line_base_01() -> Line:
c = (
Line()
.add_xaxis(arr07)
.add_yaxis("当日普通汇兑交易耗时", arr02, linestyle_opts=opts.LineStyleOpts(width=2) )
.add_yaxis("当日大小额跨行汇款交易耗时", arr04, linestyle_opts=opts.LineStyleOpts(width=2) )
.add_yaxis("昨日普通汇兑交易耗时", arr06, linestyle_opts=opts.LineStyleOpts(width=2) )
.add_yaxis("昨日大小额跨行汇款交易耗时", arr08, linestyle_opts=opts.LineStyleOpts(width=2) )
.set_global_opts(
title_opts=opts.TitleOpts(title='二代支付关键交易耗时明细',title_textstyle_opts={'fontSize':20}),
xaxis_opts=opts.AxisOpts(name='时间'),# 设置x轴名字属性
yaxis_opts=opts.AxisOpts(name='耗时'),# 设置y轴名字属性
legend_opts=opts.LegendOpts(pos_left=300),
)
)
return c