support for pdf creation
extended support for pdf and chart addition
worked on the pdf