pan> (firstPoint) {
        <span class="hljs-keyword">var</span> label = myChart.data.labels[firstPoint._index];
        <span class="hljs-keyword">var</span> value = myChart.data.datasets[firstPoint._datasetIndex].data[firstPoint._index];
    }
}
</code></pre>
<h2 id="getelementsatevente">.getElementsAtEvent(e)</h2>
<p>Looks for the element under the event point, then returns all elements at the same data index. This is used internally for &apos;label&apos; mode highlighting.</p>
<p>Calling <code>getEleme