Commit d558d76510c33c27d8cfe1cd389a66858c651c8a

Authored by 周铨
1 parent 03b17972

解决饼图模糊问题

1 // components/pieWxEchart/pieWxEchart.ts 1 // components/pieWxEchart/pieWxEchart.ts
2 import * as echarts from '../../ec-canvas/echarts'; 2 import * as echarts from '../../ec-canvas/echarts';
3 -function initChart(canvas: any, width: any, height: any, dpr: any) { 3 +function initChart(canvas: any, width: any, height: any, data: any, dpr: any) {
4 const chart = echarts.init(canvas, null, { 4 const chart = echarts.init(canvas, null, {
5 width: width, 5 width: width,
6 height: height, 6 height: height,