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

Method _willRender

src/plugins/plugin.tooltip.js:1036–1038  ·  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

1034 * @returns {boolean} True if the tooltip will render
1035 */
1036 _willRender() {
1037 return !!this.opacity;
1038 }
1039
1040 draw(ctx) {
1041 const options = this.options.setContext(this.getContext());

Callers 1

afterDrawFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected