Added graph scaling