chengdu12 opened a new issue, #17815: URL: https://github.com/apache/echarts/issues/17815
### Version 5.3.0 ### Link to Minimal Reproduction _No response_ ### Steps to Reproduce code ```js const options = { legend: { // type: 'plain', show: true, top: 0, }, visualMap: [ { type: 'piecewise', categories: ['america', 'asia'], orient: 'horizontal', top: 0, left: 'center', inRange: { color: ['#51689b', '#ce5c5c', '#fbc357'] }, outOfRange: { color: '#ddd' }, seriesIndex: 2, } ], tooltip: { show: true }, series: [ { type: 'wordCloud', // colorBy: 'data', maskImage: maskImage, // 遮罩图部分 // keepAspect: false, // 保持maskImage的长宽比或形状的1:1 // sizeRange: [15, 80], // 文本最小最大区间 单位像素 // rotationStep: 45, // 旋转步长控制 rotationRange: [0, 0], // 文本随机旋转角度控制范围 layoutAnimation: true, // 加载时的动画 少->多 gridSize: 0, // 文本间隔大小 // shape: 'diamond', // 绘画形状 left: 0, top: 0, width: '100%', height: '100%', right: 0, bottom: 0, // textStyle: { // fontFamily: 'sans-serif', // fontWeight: 'bold', // // Color can be a callback function or a color string // color: function () { // // Random color // return 'green' // } // }, emphasis: { // focus: 'self', textStyle: { color: 'red', } }, // data: data?.map(item => { // const { name, value, category } = item ?? {}; // return { // name: name, // value: [value, category] // } // }), data: data, dataGroupId: 'category', }, ] } ### Current Behavior No data classification occurred ![image](https://user-images.githubusercontent.com/116553439/197492499-4cbd7c1b-049d-4db2-bd32-bc9b06d72b8f.png) ### Expected Behavior Have the classification ### Environment ```markdown - OS: - Browser: - Framework: ``` ### Any additional comments? _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org