title: Chart.js: Pie chart legend "onclick" gets overwritten by "options.onclick" if both are present
body: <p>I have a pie chart that needs to call one function when you click on a segment of the chart and another different one if a label in the legend is clicked. I hoped to achieve this behaviour with the following:</p>
  
  <pre><code>options: {
              responsive: true,
              legend: {
                  position: 'right',
                  onClick: function (event, elem) {
                      graph_legend_click(elem.text);
                  },
              },
              onClick: function (event) {
                  graph_click( event);
              }
          }
  </code></pre>
  
  <p>However in practice, only the second onclick (which calls <code>graph_click( event);</code>) will actually get executed. the legend <code>onClick</code> doesnt work.
  What can i do to prevent the second onClick from overwriting the first?</p>