in reply to why doesn't my array get extended?

because I am stupid and resetting rrdgraph2 inside the loop