diff --git a/src/components/chart/chart.core.js b/src/components/chart/chart.core.js index a399f8800..495f76b1c 100644 --- a/src/components/chart/chart.core.js +++ b/src/components/chart/chart.core.js @@ -189,7 +189,11 @@ class EvChart { this.drawTip(); - if (this.bufferCanvas) { + if ( + this.bufferCanvas + && this.bufferCanvas?.width > 1 + && this.bufferCanvas?.height > 1 + ) { this.displayCtx.drawImage(this.bufferCanvas, 0, 0); } }