title: onClick function in Chart.js passing the selected object, Typescript
body: <p>There is onClick function in Chart.js documentation, <a href="http://www.chartjs.org/docs/#chart-configuration-common-chart-configuration" rel="nofollow noreferrer">http://www.chartjs.org/docs/#chart-configuration-common-chart-configuration</a>
  it got called everytime an click on chart occurs, it looks like this:</p>
  
  <pre><code>options: {
      onClick: this.Function
    }
  
  Function(event, array){
  ...
  }
  </code></pre>
  
  <p>But then it is passing the entire context and how can I know which specific part of the chart got clicked?</p>