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

Method releaseContext

src/platform/platform.base.js:24–26  ·  view source on GitHub ↗

* Called at chart destruction time, releases any resources associated to the context * previously returned by the acquireContext() method. * @param {CanvasRenderingContext2D} context - The context2d instance * @returns {boolean} true if the method succeeded, else false

(context)

Source from the content-addressed store, hash-verified

22 * @returns {boolean} true if the method succeeded, else false
23 */
24 releaseContext(context) { // eslint-disable-line no-unused-vars
25 return false;
26 }
27
28 /**
29 * Registers the specified listener on the given chart.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected