1๐
โ
So I found the answer by myself and it was to write the push like this :
dates.push({x:[data[i].c_min,data[i].c_max], y: field[i]})
If that may help.
Thanks if you tried to help me.
Source:stackexchange.com