I assume you want to do this based on a action microflow with minimum of manual activities? Do you use the AnyChart widget for the charting?
Sadly it is not possible to use widgets inside the Mendix document template. As Ivo Sturm wrote, there is a Printscreen to PDF widget https://marketplace.mendix.com/link/component/27069 and the Templator (which afaik needs a license) https://marketplace.mendix.com/link/component/114043
You can also try to use browser print but be warned that it is a hassle to get it to work on different browsers, page orientations..