FVANCOP / ChartNew.js

MIT License
420 stars 143 forks source link

Templates in JSP #515

Closed ADiprashan closed 7 years ago

ADiprashan commented 7 years ago

In a template, the formula has to be surrounded by “<%=” and “%>” but it gives an error in JSP. Is there any method to solve this.

I have tried to use method mentioned in below issue- https://github.com/FVANCOP/ChartNew.js/issues/129

Thank You !

ADiprashan commented 7 years ago

I figured it out: Just have to escape those characters as below

inGraphDataTmpl: "\<\%=istoosmall(v6,v1)\%\>"