yufeng04 commented on issue #10269: 雷达图数据为空时显示问题
URL: 
https://github.com/apache/incubator-echarts/issues/10269#issuecomment-482434597
 
 
   看了这个问题, 源码里把null处理成NAN, 再把不合理的点转换为中心点的坐标. 具体代码如下:
   
   1. null处理成NAN
   
![bed2c4dbeba0c7205e10ca290](https://user-images.githubusercontent.com/22974511/56012614-dd51b680-5d1f-11e9-9bc3-8ae6ec9e9de3.png)
   
   2. 不合理的点转换为中心点的坐标
   
![53e40486a5254053aade45cb0](https://user-images.githubusercontent.com/22974511/56012632-f5293a80-5d1f-11e9-8fa4-9ea1e8bd48b1.png)
   
    

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

Reply via email to