title: highcharts pie using javascript array
body: <p>I'm using the pie chart and just have a question. I'm filling a couple of arrays with json data like this...</p>
  
  <pre><code>for (var i = 0; i &lt; json.results.length; i++) { 
      r = json.results[i];
      a_dataPerct.push(r.Percentage);
      a_dataOptionName.push(r.OptionName);
  }
  </code></pre>
  
  <p>In the series: data: property of the chart (I'm assuming this is where it would go??) when I just do this...</p>
  
  <pre><code>data: a_dataPerct 
  </code></pre>
  
  <p>the percentages show up fine on the chart and the chart displays, but it says "Slice" for each section. </p>
  
  <p>I want the a_dataOptionName values to be the names there instead of "Slice". How do I do that? I thought it might be like this...</p>
  
  <pre><code>data: a_dataOptionName,a_dataPerct 
  </code></pre>
  
  <p>but it didn't like that.</p>