-
Notifications
You must be signed in to change notification settings - Fork 208
Open
Description
Hi, I'm trying to add a span around each number to be able to format each number differently.
formatter: function (value, options) { var value = value.toFixed(options.decimals); return value.replace (/(<.*?>)|(.)/g, function (m0, tag, ch) { return tag || ('<span>' + ch + '</span>'); }); }
I tried to use this formatter function, which works, but ouptuts the tag so they get displayed, instead as HTML. Is there a way to fix this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels