Chartjs-Chartjs with JSP

1👍

You do not need to specify the default if you want the default, so try deleting the line in question.

If you wish to keep it exactly, it must be escaped because the correct JavaScript here has a JSP Expression in it.

You can escape it with a JSP Expression.

scaleLabel : "<<%= "%=value%" %>>",

You can escape it with a JSP EL Expression.

scaleLabel : ${ '"<%=value%>"' },

Another option is to use equivalent JavaScript that does not contain a JSP Expression.

scaleLabel : "<" + "%=value%" + ">",

Leave a comment