Google Visualization API. Graphs are not displaying in gsp pages

只愿长相守 提交于 2019-12-06 08:42:45
Sura Watthanalamlert

To fix this problem I looked up the internet and here is the solution.
Modify the _visualization_javascripts.gsp file in goggle visualisation api as follows:

changed from <%=row %> TO <%=raw(row) %>
changed from <%=visualizationData.options%> TO <%=raw(visualizationData.options)%>
Dixie Raj

Try adding this to you Config.groovy.

Found this on the commit history from the developer itself.

googleVisualization.grails.views.gsp.codecs.scriptlet = "none"

~Dixie

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!