fixed the visible area from the graph