Stored Data into Array for Line Chart

Maybe you can find something helpful from this thread https://discourse.nodered.org/t/more-chart-questions-sorry-folks/1822