Energy Chart with Delta between current row and previous row in a table

Hi All,

Can anyone point me to the right direction. i am trying to visualise enegry over certain time with delta between the values.
instead of displaying to the total i only need to visualise the current-previous. the table consists of 2 columns (TIMESTAMP and VALUE)


What mysql version are you using??