[Chartjs]-Escape symbol '<%=' and '%>'

2๐Ÿ‘

โœ…

Add a second % to the opening tag like this:

responsive: true,
datasetStrokeWidth : 3,
multiTooltipTemplate: <%%= datasetLabel %>: <%%= value %>"

1๐Ÿ‘

If you are using it in aspx page you can escape it by using this syntax. adding backslash in front of %

"<\%=datasetLabel%> : <\%=value%>"

Leave a comment