title: ChartJs 2.0 How do I obtain point information being clicked upon?
body: <p>How do you configure ChartJS version 2.0 to upon clicking on a point on a radar chart provide the data associated with that point i.e. label, data value, dataset name. I read on <a href="https://github.com/nnnick/Chart.js/releases" rel="noreferrer">https://github.com/nnnick/Chart.js/releases</a> that version 2.0 provides: </p>
  
  <blockquote>
    <p>New event hooks like onHover and onClick do the hard work for you. They pass  you the good stuff without even having to locate via event</p>
  </blockquote>
  
  <p>Could someone please show me what I need to do I have read the documentation and tried attaching to the various click and onClick events which the different objects support but can not work out how to achieve getting the associated data.</p>
  
  <p>Sample code (simplified) which I am using is:</p>
  
  <pre><code>&lt;pre&gt;
  
      &lt;script type="text/javascript"&gt;
        var config = {
        type: 'radar',
        data: {
        labels: ["Total IOPs","Total Num. Execs","Total Worker Time Seconds","Total  Physical Reads","Total Logical Writes","Total Logical Reads","Total Elapsed Time (s)","Longest Running Time (s)","Avg. IOPs per call","Avg. Elapsed Time (ms)","Avg. Num. Execs per Sproc","Avg IOPS per sproc"],
       datasets:
      [
       {
        label: "DB1",
        fillColor: "rgba(212, 212, 106, 0.2)",
        strokeColor: "rgba(212, 212, 106, 1)",
        pointColor: "rgba(212, 212, 106, 1)",
        pointStrokeColor: "#fff)",
        pointHighlightFill: "#fff",
        pointHighlightStroke: "rgba(212, 212, 106, 1)",
        data:[100,100,33.1715210355987,100,100,100,11.8161563835901,4.29405702507729,100,5.4590570719603,39.672945113066,100]
       },
       {
        label: "DB2",
        fillColor: "rgba(165, 198, 99, 0.2)",
        strokeColor: "rgba(165, 198, 99, 1)",
        pointColor: "rgba(165, 198, 99, 1)",
        pointStrokeColor: "#fff)",
        pointHighlightFill: "#fff",
        pointHighlightStroke: "rgba(165, 198, 99, 1)",
        data: [41.7446840202287,46.5744067420714,100,79.3727756793507,20.5131426518999,41.747519880759,100,100,89.6330850100954,100,100,16.5613115389214]
       }
       ]
       }
      };
  
       $(function () {
              var myRadar = new Chart(document.getElementById("myChart"), config);
           //how do I attach to the onclick event which gives me the point info being clicked on in chartjs 2.0?
          });
  
  &lt;/script&gt;
  
  &lt;div class="radarChart"&gt;
       &lt;canvas id="myChart" width="700" height="700"&gt;&lt;/canvas&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>Many thanks in advance.</p>