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.
2 parents 3bf6b02 + 77779f8 commit 90dbfa8Copy full SHA for 90dbfa8
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