Fixed problem with graph resizing between different data sets