f points on the canvas that are at the same position as the click event.</span>
};
</code></pre>
<p>This functionality may be useful for implementing DOM based tooltips, or triggering custom behaviour in your application.</p>
<h2 id="getdatasetatevente">.getDatasetAtEvent(e)</h2>
<p>Looks for the element under the event point, then returns all elements from that dataset. This is used internally for &apos;dataset&apos; mode highlighting</p>
<pre><code class="lang-javascript">myLineChart.getDatasetAtEvent(e);