fix: HiChart DPR上限 2→4
This commit is contained in:
@@ -151,7 +151,7 @@
|
|||||||
this.data = new Array(60).fill(0);
|
this.data = new Array(60).fill(0);
|
||||||
this.data2 = color2 ? new Array(60).fill(0) : null;
|
this.data2 = color2 ? new Array(60).fill(0) : null;
|
||||||
this.maxVal = 100;
|
this.maxVal = 100;
|
||||||
this._dpr = Math.min(window.devicePixelRatio || 1, 2);
|
this._dpr = Math.min(window.devicePixelRatio || 1, 4);
|
||||||
this._resize();
|
this._resize();
|
||||||
var self = this;
|
var self = this;
|
||||||
window.addEventListener('resize', function(){ self._resize(); });
|
window.addEventListener('resize', function(){ self._resize(); });
|
||||||
|
|||||||
Reference in New Issue
Block a user