3👍
Try this:
var floorOptions = {
animation: true,
scaleLabel:
function(label){return label.value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + ' m/\u00B2'
;}
Canvas doesn’t support HTML tags, but you could use the unicode character for superscript ‘2’.
Source:stackexchange.com