[Chartjs]-Fail to load chart on Flask/jinja2 html using chart.js

3👍

I had a similar problem. It was solved by replacing labels and data parts with

{{labels | tojson}}

{{values | tojson}}

if they are lists.

I found the answer here

Leave a comment