fix: bug when no data are given to timegraph