title: 2 chart HighChart Print to PDF
body: <p>i have 2 (or more) chart on highchart and need print to PDF. i use PDf export form highchrt, it can be printed but just printed 1 chart. what's wrong with my code? 
  or any solution for my issue?</p>
  
  <p>this is my code.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(function () {
  
    window.chart = new Highcharts.Chart({
            chart: {renderTo : 'container1'},
          title: {
              text: 'Exporting module is loaded but buttons are disabled'
          },
          xAxis: {
              categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
          },
  
          series: [{
              data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
          }],
          exporting: {
              enabled: true
          }
      });
  
      window.chart = new Highcharts.Chart({
              chart: {renderTo : 'container2'},
          title: {
              text: 'Exporting module is loaded but buttons are 123123123'
          },
          xAxis: {
              categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
          },
  
          series: [{
              data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
          }],
          exporting: {
              enabled: true
          }
      });
  
      $("#export2pdf").click(function(){
          chart.exportChart({
              type: 'application/pdf',
              filename: 'my-pdf'
          });
      });
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.highcharts.com/highcharts.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.highcharts.com/modules/exporting.js"&gt;&lt;/script&gt;
  &lt;script src="https://code.highcharts.com/modules/offline-exporting.js"&gt;&lt;/script&gt;
  &lt;div id="container1" class="chart"&gt;&lt;/div&gt; &lt;
  &lt;div class="spacer"&gt;&lt;/div&gt;
  &lt;div id="container2" class="chart"&gt;&lt;/div&gt;
  &lt;button id="export2pdf"&gt;Export to PDF&lt;/button&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <h1>thanks for advance</h1>