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

Method getSortedVisibleDatasetMetas

src/core/core.controller.js:760–762  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

758 * @return {object[]}
759 */
760 getSortedVisibleDatasetMetas() {
761 return this._getSortedDatasetMetas(true);
762 }
763
764 /**
765 * 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