困扰我已久的问题就解决了。
code:
//使用canvas把背景添加到echarts里
var img = new Image();
var canvas = document.createElement('canvas');
var ctx = canvas.getContext('2d');
canvas.width = myChart.getWidth() * window.devicePixelRatio;
canvas.height = myChart.getHeight() * window.devicePixelRatio;
var fullImage = new Image();
img.onload = function() {
ctx.drawImage(img, 0, 0, canvas.width, canvas.height);
fullImage.src = canvas.toDataURL();
setTimeout(function() {
myChart.resize();
}, 100)
}
img.src = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+gAAAJyCAIAAADYS30iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACArSURBVHhe7d29b2PZecDh+UPcxV0ql1blKmWqpIorF/pPDFULaIEpCKQIkAEyhgEXHgOCIWBhZLGt4SZII6QgIAGCBX+MiyU9a8k5955D6vKSkjji13l5nwdvHJKH0lDUvXN+w+Gs3vwdAAConnAHAIAAhDsAAAQg3AEAIADhDgAAAQh3AAAIQLgDAEAAwh0AAAIQ7gAAEIBwBwCAAIQ7AAAEINwBACAA4Q4AAAEIdwAACEC4AwBAAMIdAAACEO4AABCAcAcAgACEOwAABCDcAQAgAOEOAAABCHcAAAhAuAMAQADCHQAAAhDuAAAQgHAHAIAAhDsAAAQg3AEAIADhDgAAAQh3AAAIQLgDAEAAwh0AAAIQ7gAAEIBwBwCAAIQ7AAAEINwBACAA4Q4AAAEIdwAACEC4AwBAAMIdAAACEO4AABCAcAcAgACEOwAABCDcAQAgAOEOAAABCHcAAAhAuLO+q/OTN6cXzaWL0zcn51ftjd2bn/bcfdInW8dLvwQAwFET7qxnZV238b4Q8U9pwn2F5U/Q/DrLn26dPxsAABw14c76Vr3ivhz0Kyv+hVfcZx+z/Nny5xPuAMDgCXfWsqqoWyfJrNTTnZ6q63XCPf8a3e5vbmk/SrgDAIMn3NnAxenJ+cX5SUnqxbpurj1vdt823NOnaW94/CSznm8IdwBg8IQ7a1oR4jmlr85Pc193S/ul1u6uL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AAAhAuAMAQADCHQAAAhDuAAAQgHAHAIAAhDsAAAQg3AEAIADhDgAAAQh3AAAIQLgDAEAAwh0AAAIQ7gAAEIBwBwCAAIQ7AAAEINwBACAA4Q4AAAEIdwAACEC4AwBAAMIdAAACEO4AABCAcAcAgACEOwAABCDcAQAgAOEOAAABCHcAAAhAuAMAQADCHQAAAhDuAAAQgHAHAIAAhDsAAAQg3AEAIADhDgAAAQh3AAAIQLgDAEAAwh0AAAIQ7gAAEIBwBwCAAIQ7AAAEINwBACAA4Q4AAAEIdwAACEC4AwBAAMIdAAACEO4AABCAcAcAgACEOwAABCDcAQAgAOEOAAABCHcAAAhAuAMAQADCHQAAAhDuAAAQgHAHAIAAhDsAAAQg3AEAIADhDgAAAQh3AAAIQLgDAEAAwh0AAAIQ7gAAEIBwBwCAAIQ7AAAEINwBACAA4Q4AAAEIdwAACEC4AwBAAMIdAAACEO4AABCAcAcAgACEOwAABCDcAQAgAOEOAAABCHcAAAhAuAMAQADCHQAAqvf3v/8/M7bWay//uCcAAAAASUVORK5CYII=';
option = {
backgroundColor: {
image:fullImage
}
}
原文出处:http://gallery.echartsjs.com/editor.html?c=xBycRXbPgx