echarts-wordcloud
echarts-wordcloud copied to clipboard
词云图如何支持visualmap?
场景:我想在词云数据上展示两种数据,词的大小表示词频,词的颜色由蓝到红表示其重要性。这个可以通过设置color函数,将重要性映射到颜色来实现。但如果想要在词云上增加一个visualmap组件,该如何实现呢?
echarts的visualmap组件支持的数据格式是二维数组,通过dimensions来设置visualmap对应的数据列,但由于wordcloud支持的数据是对象的数组,所以在visualmap组件上没有办法获取到重要性这一维的数据。
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?
#158
Added PR for this issue