Added posibility to scale the graph