Open Shay0921 opened 5 years ago
type: 'wordCloud', gridSize: 8, sizeRange: [12, 55], drawOutOfBound: true, left: 'center', top: 'center', right: null, bottom: null, width:'110%', height:'110%',
It's a bug in echarts-for-react
. Applying this PR patch https://github.com/hustcc/echarts-for-react/pull/307 will fix the problem.
给词云设置响应式,当屏幕锁小时,执行resize(),但是词云会出现频闪,并不会像echarts其他图表一样,进行百分比缩小。 也不会像之前的echarts版本进行动画位置调整。如此链接。 https://echarts.baidu.com/echarts2/doc/example/wordCloud.html#infographic