Graph drawing from array woes. (SOLVED)

Everything works except the lines derived from the arra

Specifically, what is wrong with them?

What's the deal here?

        rises[q] = int (diff*10);

The only code that stores data in the array "casts" the value to an int before storing the data in a float array. So, why is the array type float?

 InTemp = (sensorValue(InThermo));

More useless parentheses. You really should get out of the habit of indiscriminately splattering parentheses all over the place.