title: Highcharts - Exporting Module
body: <p>I am using highcharts to generate graphical data pulled from a database. </p>
  
  <p>I am having trouble using the exporting module. I have included the exporting property:</p>
  
  <pre><code>exporting{
    enabled:true
  }
  </code></pre>
  
  <p>but the buttons do not appear...</p>
  
  <p>I have also linked the exporting.js to the file too...no buttons appear..</p>
  
  <p>Has anyone else had this issue?</p>
  
  <p>EDIT:</p>
  
  <p>Here is the code:</p>
  
  <pre><code>$.ajax({
                 type:"POST",
                 url: "retrievechartdata.php",
             data: {questionId:qId, questionIdTwo:qIdTwo, title:title, titleTwo:titleTwo, from:from, to:to},
                 dataType: "json",
                 success: function(data) {
           //$("#response").html("&lt;div class='successMessage'&gt;"+ data.valuesTwo +"&lt;/div&gt;");   
                     var maxY = parseInt(data.max) + 1;          
                     var minY = parseInt(data.min);          
  
             if(minY &gt; 0){
               minY = 0;
             }else{
               minY -= 1;
             }
  
             var cdata = new Array();  
             cdata= data.values.split(',');  
             for(var i=0;i&lt;cdata.length;i++)  
             {  
               cdata[i]= parseInt(cdata[i]);  
             } 
             var leg = false;
             var title = data.questionTitle;
             if(data.valuesTwo != "FALSE"){
               leg = true;
               title += " &amp; "+data.questionTitleTwo; 
               var cdataTwo = new Array();  
               cdataTwo = data.valuesTwo.split(',');  
               for(var i=0;i&lt;cdataTwo.length;i++)  
                 {  
               cdataTwo[i]= parseInt(cdataTwo[i]);  
                 } 
             }
                chart = new Highcharts.Chart({
        chart: {
           renderTo: 'container',
           zoomType: 'x',
           spacingRight: 20
        },
        credits: {
          enabled: false
        },
         title: {
           text: title
        },
         subtitle: {
           text: document.ontouchstart === undefined ?
              'Click and drag in the plot area to zoom in' :
              'Drag your finger over the plot to zoom in'
        },
        xAxis: {
           type: 'datetime',
           maxZoom: 14 * 24 * 3600000, // fourteen days
           lineWidth: 1,
           lineColor: '#999999',
           title: {
              text: 'Date' 
           }
        },
        yAxis: {
           title: {
              text: data.questionTitle
           },
       labels: {
          y: 2
       },
       lineWidth: 1,
           lineColor: '#999999',
           gridLineWidth: 1,
       gridLineColor: '#eaeaea',
       min: minY,
       max: maxY, 
           startOnTick: false,
           showFirstLabel: false
        },
        tooltip: {
           shared: true               
        },
        legend: {
           enabled: leg
        },
        plotOptions: {
           area: {
              Color: {
                 linearGradient: [0, 0, 0, 600],
                 stops: [
                    [0, 'rgb(69, 114, 167)'],
                    [1, 'rgba(2,0,0,0)']
                 ]
              },
              lineWidth: 1,           
              marker: {
                 enabled: false,
                 states: {
                    hover: {
                       enabled: true,
                       radius: 5
                    }
                 }
              },
              shadow: false,
              states: {
                 hover: {
                    lineWidth: 1                  
                 }
              }
           }
        },
  
        series: [{
           type: 'spline',
           name: data.questionTitle,
           pointInterval: 24 * 3600 * 1000,
       pointStart: Date.UTC(data.year, data.month, data.day),
       data: cdata,
       lineColor:  '#f6a828',
       color: '#418ed6'
        },
        {
           type: 'spline',
           name: data.questionTitleTwo,
           pointInterval: 24 * 3600 * 1000,
       pointStart: Date.UTC(data.year, data.month, data.day),
       data: cdataTwo,
       lineColor:  '#808080',
       color: '#ff0000'
        }],
        exporting: {
          enabled: true
        }
     })
  </code></pre>