fixed chart clipping at end of pdf page