pissang commented on issue #9076: 自定义坐标轴,如何传入地理坐标数据给renderItem函数解析
URL: 
https://github.com/apache/incubator-echarts/issues/9076#issuecomment-421717248
 
 
   你可以使用 api.value 获取某个维度的数据,或者如果你数据是放在自定义的属性里的话,可以把数据放到一个数组外面然后根据 dataIndex 
去索引,比如
   
   ```js
   var customData = [....]
   option = {
     series: [{ 
         renderItem(params) {   
             var data = customData[params.dataIndex];  
         } 
     }]
   }
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to