Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_createCanvases() {
this._canvas = Dygraph.createCanvas();
this._canvas.className = 'dygraph-rangeselbarchart-canvas';
this._canvas.style.position = 'absolute';
this._canvas.style.zIndex = 20;
this._canvas_context = Dygraph.getContext(this._canvas);
}
_createCanvases() {
this._canvas = Dygraph.createCanvas();
this._canvas.className = 'dygraph-anomalybarchart-canvas';
this._canvas.style.position = 'absolute';
this._canvas.style.zIndex = 50;
this._canvas_context = Dygraph.getContext(this._canvas);
}