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 2021/03/04 03:45:44 UTC

[GitHub] [echarts] yuanpan365 opened a new issue #14396: How to achieve real time dynamic walking effect in 3dbar

yuanpan365 opened a new issue #14396:
URL: https://github.com/apache/echarts/issues/14396


   ### What problem does this feature solve?
   Real time walk by cycle
   
   Similar to this effect
   
   https://www.arction.com/lightningchart-js-interactive-examples/examples/lcjs-example-0904-3dSpectrogramBox.html
   
   ### What does the proposed API look like?
   var data = []; for(var a = 0; a<50 ;a  ) { for(var b = 0 ; b<128;b  ) { data.push([a,b*2.81256,Math.ceil(Math.random()*10)]) } } option = { backgroundColor:'#111', animation: false, tooltip: { show:false, }, toolbox: { show : true, orient:'horizontal', top:0, right:'0', showTitle:false, iconStyle:{ borderColor:'#fff' }, emphasis:{ show:false, iconStyle:{ borderColor:'#fff' } }, feature : { mark : {show: true}, restore : {show: true}, saveAsImage : {show: true} } }, visualMap: [{ seriesIndex:0, min:-20, max:80, show:false, itemWidth:5, orient:"vertical", inRange: { color: ['transparent','#00ee00','#eeee00', '#ee0000', '#4e0211'] }, formatter: function (value) { return parseInt(value-80); } },{ type:'continuous', seriesIndex:2, orient:"vertical", textStyle: { show:false, color: '#fff', }, itemHeight:80, right:0, top:20, min:1, max:15, calculable: true, hoverLink :false, itemWidth:2, textGap:1, inRange: { color: ['#ffff00', '#ffcc00', '#ff9900','#ff6600','#ff3300','#ff0000'] }, }], x
 Axis3D: { type: 'value', min:0, max:50, splitNumber:5, name:'cycle', nameGap:24, nameTextStyle:{ borderWidth:1, fontSize :12, }, axisLabel:{ fontSize :8, formatter:function (value, index) { value=50-value;if(value>=0){ return value; }} }, }, yAxis3D: { type: 'value', min:0, max:360, splitNumber:4, interval:90, name:'Phase', nameGap:24, splitArea:{ interval:4, }, nameTextStyle:{ borderWidth:1, fontSize :12, }, axisLabel:{ fontSize:8, }, }, zAxis3D: { type: 'value', min:0, max:80, scale:true, splitNumber:4, name:'amplitude', nameGap:24, nameTextStyle:{ fontSize :14, }, axisLabel:{ fontSize:8, formatter:function (value, index) { if(value>=0){ return value-80; }} }, }, grid3D: [{ boxHeight:100, boxWidth: 120, boxDepth: 100, axisLine: { lineStyle: { color: '#fff' ,opacity :0.1} }, axisPointer: { show:false, lineStyle: { color: '#fff' }, }, viewControl: { distance: 260, minDistance: 40, maxDistance: 400, rotateSensitivity: [ 1, 1 ], zoomSensitivity: 0, panSensitivity: 1, panMouseButton: "
 middle", rotateMouseButton: "left", orthographicSize: 150, maxOrthographicSize: 400, minOrthographicSize: 20, center: [ 0, -10, 0 ], minBeta:30, maxBeta:180, minAlpha: -90, maxAlpha: 90, projection: "perspective", autoRotateDirection: "cw", autoRotateSpeed: 0.01, autoRotateAfterStill: 3, damping: 0.8 }, light: { main: { intensity: 1.2 }, ambient: { intensity: 0.3 } } }], roam:false, series: [{ type: 'bar3D', barSize:1, data:data, adata:[1,2], shading: 'color', label: { show: false, textStyle: { fontSize: 16, borderWidth: 1 }, formatter: function (param) { return parseInt(param.value[2]-80); } }, itemStyle: { opacity: 0.8 }, silent:true, emphasis: { label: { show:false, }, } }] }
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
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


[GitHub] [echarts] echarts-bot[bot] commented on issue #14396: How to achieve real time dynamic walking effect in 3dbar

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14396:
URL: https://github.com/apache/echarts/issues/14396#issuecomment-790267202


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
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