Example how create bar graph / pie chart and write in PDF file