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

Method _isVisible

src/core/core.scale.js:1000–1008  ·  view source on GitHub ↗

* @return {boolean} * @private

()

Source from the content-addressed store, hash-verified

998 * @private
999 */
1000 _isVisible() {
1001 const display = this.options.display;
1002
1003 if (display !== 'auto') {
1004 return !!display;
1005 }
1006
1007 return this.getMatchingVisibleMetas().length > 0;
1008 }
1009
1010 /**
1011 * @private

Callers 5

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

Calls 1

Tested by

no test coverage detected