xbudongji commented on issue #10484: 三位散点图 inRange中设定symbol URL: https://github.com/apache/incubator-echarts/issues/10484#issuecomment-493373819 ``` option = { xAxis3D: { type: 'value', max:50, min:-50 }, yAxis3D: { type: 'value', max:50, min:-50 }, zAxis3D: { type: 'value', max:50, min:-50 }, grid3D: { show: true, axisLine: { lineStyle: { color: '#fff' } }, axisPointer: { lineStyle: { color: '#ffbd67' } } }, visualMap: { type:'piecewise', show:true, min: -50, max: 50, dimension: 0, splitNumber: 5, inRange: { color: ['#d94e5d','#eac736','#50a3ba'], symbol: ['circle', 'rect', 'roundRect', 'triangle', 'diamond', 'pin', 'arrow'], }, textStyle: { color: '#fff' }, // pieces: [ // {gt: 0, lte: 50, color: '#e84e40', symbol: 'rect'}, // {gt: -50, lte: 0, color: '#ffed26', symbol: 'pin'}, // ], }, series: [{ showAllSymbol: true, type: 'scatter3D', // coordinateSystem: 'cartesian3D', data:[[12, 14, 10], [34, 50, 15], [5, 30, 20], [10, 15, 12], [23, 10, 14]], symbolSize: 15, }] }; ``` 不好意思涂刷不出来,简单举例的话 X轴为基准,0到10的范围内是圆圈,11到20范围内是是三角,20到30范围内是方块,类似这种3D散点图
---------------------------------------------------------------- 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]
