echarts-gl icon indicating copy to clipboard operation
echarts-gl copied to clipboard

series-scatter3D.symbol 怎么设置自定义矢量图

Open caihai123 opened this issue 2 years ago • 2 comments

series-scatter3D.symbol 怎么设置自定义矢量图啊,我这样不管用 symbol:path://${require("@/assets/location-icon.svg")}

caihai123 avatar Nov 24 '22 02:11 caihai123

说一个我的解决方法,将symbolSize设置为0,通过label的textStyle-backgroundColor-image,将图片放置上去。

Siwuji avatar Feb 02 '23 00:02 Siwuji

@Siwuji, textStyle.backgroundColor is undocumented, but it works. Nice trick :+1: - Demo Code.

helgasoft avatar May 04 '23 03:05 helgasoft