I've put the image back on the SD card from when it was broken and restored the backup from March and it's working again.
I can now see the graph again and it shows the live data ok but missing March to June unfortunately. I don't know if there might be a method for just recovering that?
It tends to be a little slow to load mainly when expanding the monthly cost data (from 2018 to now), I'm thinking that's because I have a Pi Model B 512MB, I'm thinking of getting a newer Pi with a 16GB SD card.
So it does seem to be something contained within the latest backup which is broken somewhere.