title: How to disable Print Chart button when there is no Chart present
body: <p>I have the following code</p>
  
  <pre><code>$.ajax({
          url: '@Url.Action("CollectionsBySuburb", "DashBoard")',
          data: { Period: 2015 },
          success: function (data) {
              var catArr = data.map(function (o) { return o.Category; });
              var paidArr = data.map(function (o) { return parseInt(o.TotalTax + o.TotalArrears + o.TotalDiscount); });
              var outArr = data.map(function (o) { return parseInt(o.TotalBillAmount - (o.TotalTax + o.TotalArrears + o.TotalDiscount)); });
  
              $('#CollectionsBySuburb').highcharts({
                  chart: {
                      type: 'bar',
                      events: {
                          click: function () {
                              alert();
                          }
                      }
                  },
                  credits: {
                      enabled: false
                  },
                  colors: ["#62BD00", "#FA1B02"],
                  title: {
                      text: 'Amount  Collection By Suburb'
                  },
                  xAxis: {
                      categories: catArr
                  },
                  yAxis: {
                      min: 0,
                      title: {
                          text: 'Amount  ( '' )'
                      }
                  },
                  legend: {
                      reversed: true
                  },
                  plotOptions: {
                      series: {
                          stacking: 'normal'
                      }
                  },
                  tooltip: {
                      pointFormat: '&lt;span style="color:{point.color}"&gt;{series.name}&lt;/span&gt;: GH₵ &lt;b&gt;{point.y}&lt;/b&gt;'
                  },
                  series: [{
                      name: 'Paid',
                      data: paidArr
                  }, {
                      name: 'Outstanding',
                      data: outArr
                  }]
              });
          }
      });
   $.ajax({
   //Rendering other chart here
   });
   $.ajax({
   //Rendering other chart here
   });
   $.ajax({
   //Rendering other chart here
   });
   $.ajax({
   //Rendering other chart here
   });
  </code></pre>
  
  <p>So now my requirement is since I have multiple charts when I click on Print Button I want to check if a chart is present if present then enabling the options to so that user can download it else hiding the options to download. I tried using different ways but cannot do it. Any help is appreciated.</p>
  
  <p><img src="https://i.stack.imgur.com/LgX03.png" alt="enter image description here"></p>