MCPcopy
hub / github.com/chartjs/Chart.js / getSortedVisibleDatasetMetas

Method getSortedVisibleDatasetMetas

src/core/core.controller.js:756–758  ·  view source on GitHub ↗

* Gets the visible dataset metas in drawing order * @return {object[]}

()

Source from the content-addressed store, hash-verified

754 * @return {object[]}
755 */
756 getSortedVisibleDatasetMetas() {
757 return this._getSortedDatasetMetas(true);
758 }
759
760 /**
761 * Draws all datasets unless a plugin returns `false` to the `beforeDatasetsDraw`

Callers 8

_drawDatasetsMethod · 0.95
evaluateInteractionItemsFunction · 0.80
indexFunction · 0.80
beforeDrawFunction · 0.80
beforeDatasetsDrawFunction · 0.80

Calls 1

Tested by

no test coverage detected