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

词云图如何支持visualmap?

Open Ti-tanium opened this issue 4 years ago • 2 comments

场景:我想在词云数据上展示两种数据,词的大小表示词频,词的颜色由蓝到红表示其重要性。这个可以通过设置color函数,将重要性映射到颜色来实现。但如果想要在词云上增加一个visualmap组件,该如何实现呢?

echarts的visualmap组件支持的数据格式是二维数组,通过dimensions来设置visualmap对应的数据列,但由于wordcloud支持的数据是对象的数组,所以在visualmap组件上没有办法获取到重要性这一维的数据。

Ti-tanium avatar Oct 30 '20 03:10 Ti-tanium

any updates on this one? also, visualMap filtering doesn't work either.

may I do a PR if there's no way it will be done in the nearest future?

cyrstron avatar Dec 09 '22 08:12 cyrstron

#158

Added PR for this issue

cyrstron avatar Feb 09 '23 10:02 cyrstron