make timegraph scale