height: imageHeight, }, // 用 position来设置图片的位置 position: [centerX, centerY], origin: [imageWidth / 2, imageHeight / 2], bounding: 'raw', }, ], series: { name: '', type: 'pie', center:
height: imageHeight, }, // 用 position来设置图片的位置 position: [centerX, centerY], origin: [imageWidth / 2, imageHeight / 2], bounding: 'raw', }, ], series: { name: '', type: 'pie', center:
我的圆环中心点为[28%,50%],我需要将graphic的图片一直在中心,但是发现其基准点都是为图片左上角,也没有设置偏移量的配置参数,硬将其调整百分比居中了,在其他分辨率就可能会有偏移了,该如何解决 graphic: [ { type: 'image', silent: true, style: { image: require('../assets/pieGrapic.png'), width...