Filter a legend Item with Chartjs.org V2.7
问题 I am building a series of doughnut charts and I would like to remove the second item in the legend, so when I generate the legend with the generateLegend() method I just want to get the first value. In the documentation there is an option that reads Filters legend items out of the legend. Receives 2 parameters, a Legend Item and the chart data But I can't find an example how to use it. In this Pen you can see the 2 labels in the middle, I just want to show the first label. I tried different