Open caozhiwei opened 6 years ago
vue也出现过这种情况
angular也出现这种情况 使用 echarts 4.1.0 echarts-wordcloud 1.1.3 ngx-echarts 4.1.0
这么解决啊?
@diyxiaoshitou 我用延迟渲染(可能)解决了这个问题
render(reqText: string): void {
if (!reqText) return;
this.loading = true;
this.fetchData(reqText).pipe(
delay(100)
).subscribe((res: TagItem[]) => {
this.renderTag(res);
this.loading = false;
});
}
renderTag(data: TagItem[]) {
this.wordCloudOptions = this.wordCloudService.getOptions(data);
this.items = data;
}
把 rotationRange 设置为 [0, 0],就不会出现这个问题,似乎是个 bug
Will this issue going to be fixed @pissang @Ovilia ? It happens in Vue version as well.