We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
destroy
afterDestroy
1 parent 3bf6b02 commit 77779f8Copy full SHA for 77779f8
src/plugin.ts
@@ -191,7 +191,7 @@ export class ChartDatasourcePrometheusPlugin {
191
ctx.restore();
192
}
193
194
- public destroy(chart: Chart, args: any, _options: any) {
+ public afterDestroy(chart: Chart, args: any, _options: any) {
195
// auto update
196
if (!!chart['datasource-prometheus'].updateInterval)
197
clearInterval(chart['datasource-prometheus'].updateInterval);
0 commit comments