title: Retrieve the content of series data [] in Highcharts, after rendering the chart?
body: <p>I would like to add in the click event, a line of code that when I click on the chart, grab the content of the data [] in its series, to save it in a variable for future use.</p>
  
  <p>Which one is the syntax to do so? this.chart.series didn't work.</p>
  
  <p>I am planning to pass this to another chart, as data: </p>
  
  <p>This is what I have so far; tried with get() also but I still get undefined errors</p>
  
  <pre><code>chart: {
      renderTo: 'chart',
      events: {
          click:function(event){
              extracteddata=this.chart.get('mainseries');
          }        
      },
  }
  </code></pre>
  
  <p>When I print out in console; the only thing that I get is "this"; which return me the whole chart object including everything inside.</p>
  
  <p>Tried so far with </p>
  
  <pre><code>this.series.option.data
  this.data
  this.series
  </code></pre>
  
  <p>And neither return the content of the array. I have printed out "this" and I can clearly see the series.data array which is correctly populated.</p>