(chart)
| 621 | // The labels need to be built after datasets are updated to ensure that colors |
| 622 | // and other styling are correct. See https://github.com/chartjs/Chart.js/issues/6968 |
| 623 | afterUpdate(chart) { |
| 624 | const legend = chart.legend; |
| 625 | legend.buildLabels(); |
| 626 | legend.adjustHitBoxes(); |
| 627 | }, |
| 628 | |
| 629 | |
| 630 | afterEvent(chart, args) { |
nothing calls this directly
no test coverage detected