title: Highcharts html legend, what column was clicked
body: <p>When I create a legend that is html I would like to know the element that was clicked. Hichgharts does not seem to have that tucked in there anywhere.</p>
  
  <p>Here is some sample code:</p>
  
  <pre><code>          point:{
              events:{
                  legendItemClick:function(event){
                     //how to get the element clicked here?
                     //want something to happen if it has a class of pieLegendNumber
  </code></pre>
  
  <p>And the code creating the legend:</p>
  
  <pre><code>   legend : {
      enabled: true,
      layout: 'vertical',
      align: 'left',
      useHTML: true,
      verticalAlign: 'top',
       labelFormatter: function() {
          return '&lt;div style="width:150px;"&gt;&lt;span style="float:left;width: 230px;min-width: 230px;"&gt;' 
              + this.name
              + '&lt;span style="float:right;color:red" class="pieLegendNumber"&gt;' 
              + this.y
              + '&lt;/span&gt;&lt;/div&gt;';
       }
     },
     title:{
       text:"legend"
     },
  </code></pre>
  
  <p>The whole code can be found <a href="http://jsfiddle.net/bgxa62z1/1/" rel="nofollow">here</a>.</p>
  
  <p>Thank you for taking the time to read my question.</p>