You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/03/20 12:35:33 UTC

[GitHub] [incubator-echarts] resulyrt93 opened a new issue #12308: Hover bug on 3D Scatter when give one valued data

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] ljjeseller commented on issue #12308: Hover bug on 3D Scatter when give one valued data

Posted by GitBox <gi...@apache.org>.
ljjeseller commented on issue #12308:
URL: https://github.com/apache/incubator-echarts/issues/12308#issuecomment-700518279


   is there any solution?


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org