title: Pie Chart With Export PDF Highchart Not Working Properly
body: <p>When I export a PDF with this pie chart some times it's working and some times not. It's like an below image.</p>
  
  <p><a href="https://i.stack.imgur.com/5g9oe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5g9oe.png" alt="enter image description here"></a></p>
  
  <p>This is a code for generate pie chart.
  obj data is fine.</p>
  
  <pre><code>    $(".curve_chart").each(function () {
          var dataXAxis = [];
          var length = 0;
          length = obj.length;
          for (var i = 0; i &lt; length; i++) {
              dataXAxis.push({name: obj[i].label, y: obj[i].y});
          }
          $('#curve_chart_' + que_id).highcharts({
              chart: {
                  renderTo: 'container',
                  plotBackgroundColor: null,
                  plotBorderWidth: null,
                  plotShadow: false,
                  type: 'pie'
              },
              title: {
                  text: que_txt,
              },
              tooltip: {
                  pointFormat: '{point.name}: &lt;b&gt;{point.y}&lt;/b&gt;'
              },
              plotOptions: {
                  pie: {
                      allowPointSelect: true,
                      cursor: 'pointer',
                      dataLabels: {
                          enabled: true,
                          format: '&lt;b&gt;{point.name}&lt;/b&gt;: {point.y} ',
                      }
                  }
              },
              series: [{
                      name: "names",
                      colorByPoint: true,
                      data: dataXAxis
                  }]
          });
      });
  });
  </code></pre>
  
  <p>Please help me for the same.</p>
  
  <p>Thank you in advance.</p>