想要达到的效果如下图
数据是这样
const time = [
"15:00",
"16:00",
"17:00",
"18:00",
"19:00",
"20:00",
"21:00",
"22:00",
"23:00",
"0:00",
"1:00",
"2:00",
"3:00",
"4:00",
"5:00",
"6:00",
"7:00",
"8:00",
"9:00",
"10:00",
"11:00",
"12:00",
"13:00",
"14:00",
"15:00",
"16:00",
"17:00",
"18:00",
"19:00",
"20:00",
"21:00",
"22:00",
"23:00",
"0:00",
"1:00",
"2:00",
"3:00",
"4:00",
"5:00",
"6:00",
"7:00",
"8:00",
"9:00",
"10:00",
"11:00",
"12:00",
"13:00",
"14:00",
"15:47"
]
const value = [
0.136649,
0.136644,
0.136669,
0.136687,
0.136704,
0.136696,
0.136692,
0.136679,
0.136665,
0.136667,
0.136667,
0.136678,
0.136677,
0.136677,
0.136677,
0.136677,
0.136677,
0.136677,
0.136677,
0.136656,
0.136637,
0.13663,
0.13663,
0.136626,
0.136629,
0.136624,
0.136622,
0.136622,
0.136631,
0.136632,
0.136632,
0.136632,
0.136651,
0.136651,
0.136654,
0.136654,
0.136656,
0.136656,
0.136656,
0.136656,
0.136656,
0.136656,
0.136656,
0.136671,
0.136652,
0.136648,
0.136652,
0.136649,
0.13663
]
实际效果是这样