labels: [{% for task in task_distribution %}'{{ task.task }}',{% endfor %}],
datasets: [{
label: 'Tasks',
data: [{% for task in task_distribution %}{{ task.count }},{% endfor %}],
backgroundColor: 'rgba(75, 192, 192, 0.2)',
borderColor: 'rgba(75, 192, 192, 1)',
borderWidth: 1
}]
},
My jinja tags are not working inside the javascript while i was using to to plot the graph, What to do or How to overcome this ?
Any other methods to overcome this?