I'm using the ChartModule in PrimeNG, which uses Chart.js.
I have a pie chart that shows a few different types of data, but one of those types (deliveries) sometimes has multiple instances. For example, I might have 10 different deliveries, all of which will have it's own pie piece. Each of those are all the same color, because they are all deliveries. This results in my legend having 10 different labels, all of the same color, that say something like "Delivery to KFC on 5/1/2017", "Delivery to KFC on 5/8/2017", etc. I'd like the details to continue showing up as is when you hover over the pie chart for more details, however I'd like my legend to simply show "Delivery" once, so I don't have an enormous legend full of labels of the same color. How can I go about doing this?
For better visualization, here is an example pie chart:
When you hover over one of the two blue pie pieces, I want it to continue showing the extra details, however, I want the legend to have only one blue label that simply says "Delivery". How can I do this?
