(chart)
| 812 | // The labels need to be built after datasets are updated to ensure that colors |
| 813 | // and other styling are correct. See https://github.com/chartjs/Chart.js/issues/6968 |
| 814 | afterUpdate(chart) { |
| 815 | const legend = chart.legend; |
| 816 | legend.buildLabels(); |
| 817 | legend.adjustHitBoxes(); |
| 818 | }, |
| 819 | |
| 820 | |
| 821 | afterEvent(chart, args) { |
nothing calls this directly
no test coverage detected