fix: HiChart DPR上限 2→4

This commit is contained in:
qinglong
2026-06-14 15:19:22 +08:00
parent 636310dd25
commit cc5673c723
+1 -1
View File
@@ -151,7 +151,7 @@
this.data = new Array(60).fill(0);
this.data2 = color2 ? new Array(60).fill(0) : null;
this.maxVal = 100;
this._dpr = Math.min(window.devicePixelRatio || 1, 2);
this._dpr = Math.min(window.devicePixelRatio || 1, 4);
this._resize();
var self = this;
window.addEventListener('resize', function(){ self._resize(); });