Regenerating kwh/d graphs

I need to re-create my kwh/d graphs after I have regenerated my kwh data set

Is this possible ?

I also need to do the histogram ones as well !

Is there a useful script to do this like the power_to_kwh.php script does to regenerate the kwh?