               
                                <h1 id="chart-prototype-methods">Chart Prototype Methods</h1>
<p>For each chart, there are a set of global prototype methods on the shared <code>ChartType</code> which you may find useful. These are available on all charts created with Chart.js, but for the examples, let&apos;s use a line chart we&apos;ve made.</p>
<pre><code class="lang-javascript"><span class="hljs-comment">// For example:</span>
<span class="hljs-keyword">var</span> myLineChart = <span clas