Help with MPDF and javascript

Good community

first, sorry for my english

I have problem with the extensions MPDF and Highcharts, I generate one graphic with Highcharts and need what it is in the pdf, but the extensions MPDF not run code javascript.

How could you generate a pdf with the graph ?

thanks !!