chart js put meter square / superscript on y axis
<p>I would like to put meter square (m<sup>2</sup>) in chart js y axis.</p>

<p>I have the following function :</p>

<pre><code>var floorOptions = {
animation: true,
scaleLabel: 
function(label){return label.value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + ' m&lt;sup&gt;2&lt;/sup&gt;';}
</code></pre>

<p>};</p>

<p>it doesn't work. Can someone please assist? Thx</p>