[7]Fixed the rotation of the graph