Chartjs-How do I render PyChart.JS charts in web2py?

1๐Ÿ‘

โœ…

I fixed the issue by calling the built-in XML() helper

var expensechart = new Chart(ctx, {{=XML(chart)}})

This fixes the issue of JSON not rendering correctly inside the HTML

Leave a comment