Chartjs-How do I group legend entries using Chartjs?

0👍

After more research, yes Chartjs provides an easy interface to customize the legend. Each chart accepts a legendCallback function that takes the chart object as it’s only argument and returns a html string representing the legend.

See Chartjs docs for more info.

Leave a comment