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

Method _willRender

src/plugins/plugin.tooltip.js:1094–1096  ·  view source on GitHub ↗

* Determine if the tooltip will draw anything * @returns {boolean} True if the tooltip will render

()

Source from the content-addressed store, hash-verified

1092 * @returns {boolean} True if the tooltip will render
1093 */
1094 _willRender() {
1095 return !!this.opacity;
1096 }
1097
1098 draw(ctx) {
1099 const options = this.options.setContext(this.getContext());

Callers 1

afterDrawFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected