You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/09/29 03:05:38 UTC

[GitHub] KimChen2016 opened a new issue #9144: 3D绘制surface曲面的颜色映射问题

KimChen2016 opened a new issue #9144: 3D绘制surface曲面的颜色映射问题
URL: https://github.com/apache/incubator-echarts/issues/9144
 
 
   <!--
   为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
   -->
   
   
   ### One-line summary [问题简述]
   不知道是不是我理解有误,在3D绘制中选择surface类型时
   1.不能绘制垂直于X轴的平面(也就是所有点如果x值是一样的,这些点就没法画出一个面)
   2.在series中设定了data属性时,visualmap中设定的数据只能对应到坐标值上
     也就是说颜色只能随着坐标值(x或者y或者z)的变化而变化
   
   我的需求是:
   我在3D上绘制了一组连续的正方体,绘制时数据类型用的是surface,并设定了visualMap
   另外每个正方体都有一个属性值,我想要根据这个属性值和设定的visualMap来让每个正方体显示不同的颜色
   但是不知道该如果设定,或者说选择surface方式绘制时无法实现这个功能
   
   另外如果这样做不行的,时候有什么方式可以满足我的要求?
   
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:
   + Browser version [浏览器类型和版本]:
   + OS Version [操作系统类型和版本]:
   
   
   
   
   
   ### Expected behaviour [期望结果]
   
   
   
   
   
   ### ECharts option [ECharts配置项]
   <!-- Copy and paste your 'echarts option' here. -->
   <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
   ```javascript
   option = {
   
   }
   
   ```
   
   
   
   
   ### Other comments [其他信息]
   <!-- For example: Screenshot or Online demo -->
   <!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org