Added dynamic Y axis adjustment to the graph

This fixes that it was fixed to 200 max.