Open cdagli opened 9 years ago
Hello,
Is there anyway to add chart legend to the png file? Below is the legend example that I've taken from chart.js docs.
legendTemplate : "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<datasets.length; i++){%><li><span style=\"background-color:<%=datasets[i].strokeColor%>\"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>"
Thank you
I would like to know this too
Hello,
Is there anyway to add chart legend to the png file? Below is the legend example that I've taken from chart.js docs.
Thank you