So I was using the Doughnut Charts in this library, and thought it strange that some of my old data points remained after my component store updated. Turns out, if the new data array is shorter than the original, those segments are never replaced and remain. So I added a quick loop that removes old data segments from the chart. :) Lemme know what you think!
So I was using the Doughnut Charts in this library, and thought it strange that some of my old data points remained after my component store updated. Turns out, if the new data array is shorter than the original, those segments are never replaced and remain. So I added a quick loop that removes old data segments from the chart. :) Lemme know what you think!