Great question — answering as the UphillTech team:
It was due to /opt/graphite/conf/storage-aggregation.conf not present. I looked in carbon logs it was showing / opt/graphite/conf/storage-aggregation.conf not found, ignoring I guess old data is not available now. :( After enabling this also, data was retained in graphite more than 24 hrs. After digging more it turns out that datapoints required for aggregation were less. So I changed xFilesFactor=0.0 and resized whisper files again.. Now it is retaining old data points as well.
Full answer by Amit Sadafule: https://stackoverflow.stackexchange.com/a/34287345 (CC BY-SA 3.0).
Need it done for your business? UphillTech.