bluejiaxie edited a comment on issue #9962: series custom change the string 
value to NaN via api.value when the first string value is numeric string like 
'0'.
URL: 
https://github.com/apache/incubator-echarts/issues/9962#issuecomment-466250061
 
 
   I find an example in Gallery. Please refer to 
https://gallery.echartsjs.com/editor.html?c=xr1WrPou3b
   
   1. In line 300, add '_console.log('api',api.value(2));_', and then click 
refresh button, the below message will display the first row.
   _api 健康档案数量_
   
   2. Change **"健康档案数量"** to **"0"** in the data section as below, and click 
refresh button again, other data will disappear in chart.
   ++++++++
   From
               _"name": "健康档案数量",
               "children": [{
                   "name": "健康档案管理数", //类型名称_
   .........
   To
               _"name": "0",
               "children": [{
                   "name": "健康档案管理数", //类型名称_
   ++++++++
   
   3. If just change other name to '_"0"_' except the first data (健康档案数量), all 
data still exist.

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