ecomfe / echarts-wordcloud

Word Cloud extension based on Apache ECharts and wordcloud2.js
1.68k stars 708 forks source link

词显示重叠 #36

Open zhangya5847 opened 7 years ago

zhangya5847 commented 7 years ago

image "echarts": "^3.6.2", "echarts-wordcloud": "^1.1.0",

const option = { tooltip: { show: true, }, series: [{ type: 'wordCloud', gridSize: 32, sizeRange: [24, 66], rotationRange: [0, 0], rotationStep: 90, textPadding: 0, left: 'center', top: 'center', width: '70%', height: '80%', right: null, bottom: null, drawOutOfBound: true, textStyle: { normal: { color: e => { return CATEGORY_COLORS[e.data.category] }, fontWeight: 900, fontFamily: 'Arial, Verdana, sans-serif', }, }, data: this.tempData, }], }

容器大小 1090*514

ToughRover commented 6 years ago

我也遇到类似的问题, echarts实例没有销毁,第二次渲染wordcloud之后调用echartsInstance.setoption(newOption, notMerge = true), 结果展示的词云图内容很多重叠 image

sunsmeil commented 6 years ago

遇到加1

xy1041 commented 6 years ago

同样遇到这个问题,已经设置了gridSize仍然如此,就算有重叠,词不能均匀的分布吗

wzscn commented 2 years ago

有解决的办法了么