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

Method _isVisible

src/core/core.scale.js:1005–1013  ·  view source on GitHub ↗

* @return {boolean} * @private

()

Source from the content-addressed store, hash-verified

1003 * @private
1004 */
1005 _isVisible() {
1006 const display = this.options.display;
1007
1008 if (display !== 'auto') {
1009 return !!display;
1010 }
1011
1012 return this.getMatchingVisibleMetas().length > 0;
1013 }
1014
1015 /**
1016 * @private

Callers 5

fitMethod · 0.95
getLineWidthForValueMethod · 0.95
drawMethod · 0.95
_layersMethod · 0.95

Calls 1

Tested by

no test coverage detected