Graph output for PDF.