Graph drawing from array woes. (SOLVED)

Is your display 125 in the x axis or y axis? What does your output values look like?

Post the full code, I can test it on my screen with dummy values. I just need to know the min and max of diff and kW.