resulyrt93 opened a new issue #12308: Hover bug on 3D Scatter when give one valued data URL: https://github.com/apache/incubator-echarts/issues/12308 Hey, when i set data as object (not directly two dimensional array) and object have one value, 3d scatter's on hover event is not functional. You can try with below option code in [this example page](https://echarts.apache.org/examples/en/editor.html?c=scatter3d&gl=1&theme=dark) . I just get first item of current data and put it a array again. series: [{ type: 'scatter3D', dimensions: [ config.xAxis3D, config.yAxis3D, config.yAxis3D, config.color, config.symbolSiz ], data: [data.map(function (item, idx) { return [ item[fieldIndices[config.xAxis3D]], item[fieldIndices[config.yAxis3D]], item[fieldIndices[config.zAxis3D]], item[fieldIndices[config.color]], item[fieldIndices[config.symbolSize]], idx ]; })[0]], symbolSize: 12, // symbol: 'triangle', itemStyle: { borderWidth: 1, borderColor: 'rgba(255,255,255,0.8)' }, emphasis: { itemStyle: { color: '#fff' } } }]
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
