making the threshold work for the entire graph instead of just the series by using the whole plot height/width