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

Method getSortedVisibleDatasetMetas

src/core/core.controller.js:835–837  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

833 * @return {object[]}
834 */
835 getSortedVisibleDatasetMetas() {
836 return this._getSortedDatasetMetas(true);
837 }
838
839 /**
840 * 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