0👍
✅
Insted of doing queue.pop(0)
set range
in xaxis
to length – 1 of your initial data (if type: "numeric"
).
https://apexcharts.com/docs/options/xaxis/#range
Source:stackexchange.com