MCPcopy Create free account
hub / github.com/chartjs/Chart.js / onClick

Method onClick

src/controllers/controller.polarArea.js:65–68  ·  view source on GitHub ↗
(e, legendItem, legend)

Source from the content-addressed store, hash-verified

63 },
64
65 onClick(e, legendItem, legend) {
66 legend.chart.toggleDataVisibility(legendItem.index);
67 legend.chart.update();
68 }
69 }
70 },
71

Callers

nothing calls this directly

Calls 2

toggleDataVisibilityMethod · 0.80
updateMethod · 0.65

Tested by

no test coverage detected