Trendymen opened a new issue #12952:
URL: https://github.com/apache/incubator-echarts/issues/12952


   ### Version
   4.8.0
   
   ### Reproduction link
   
[https://gallery.echartsjs.com/editor.html?c=xKVaWRy2QO](https://gallery.echartsjs.com/editor.html?c=xKVaWRy2QO)
   
   ### Steps to reproduce
   
数据第一个维度为ordinal类型,api.value()读取时值不正确,41行,api.value(0)得到的并不是字符串类型而是像0,1,2的数据项索引。而如果把字符串放到第一个维度之后并定义为ordinal类型则又能正确读取。
   
   ### What is expected?
   example:41 line,
   api.value(0) return the string type value defined in data.
   
   ### What is actually happening?
   The api.value(0) return the index of data item in data array.
   
   ---
   Sorry about  using chinese to issue.
   
   <!-- This issue is generated by echarts-issue-helper. 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:
[email protected]



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

Reply via email to