I did a thing where I subtract the previous value from the current value and that gives a delta (usage) per minute.
This is the SQL (for MySQL) that I used in my PHP code
SELECT date, (watts*60)-@last_watt AS delta, @last_watt := watts*60 AS dummy
FROM elec__elec_usage
WHERE date >= (SELECT DATE(MAX(date)) from elec__elec_usage) - INTERVAL 10 DAY
/* This WHERE clause finds the usage for May 28, 2013 */
WHERE DATE_FORMAT( date, '%Y-%m-%d' ) = '2013-05-28'
ORDER BY 1
The *60 factor is because the main number is in watt hours and I want watt minutes in my chart.