bels it is also possible to add <code>labels</code> as part of the category axis definition. Doing so does not apply the global defaults.</p>
<h2 id="category-axis-definition">Category Axis Definition</h2>
<p>Globally:</p>
<pre><code class="lang-javascript"><span class="hljs-keyword">let</span> chart = <span class="hljs-keyword">new</span> Chart(ctx, {
    type: ...
    data: {
        labels: [<span class="hljs-string">&apos;January&apos;</span>, <span class="hljs-string">&apos;February&apos;</span>, <span