disizlapeste opened a new issue, #19890:
URL: https://github.com/apache/echarts/issues/19890

   ### Version
   
   5.5.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=map-usa
   
   ### Steps to Reproduce
   
   1- i'm trying to display a map chart based on this example 
https://echarts.apache.org/examples/en/editor.html?c=map-usa
   
   2- i created a valid  GeoJSON file from this link  
https://geojson-maps.kyd.au/
   
   3- my chart Options Object is related file in attachment mapOptions.js
   
   4- The problem is very simple.  for tooltip , i choosed formatter function 
because i want a customized tooltip. formatter function has "params" as 
parameter. but "params.data" return UNDEFINED.. i don t understand what is 
wrong in my mapOptions structure.  can you help me to understand. if series 
data is not well structured?? 
   
[mapOptions.txt](https://github.com/apache/echarts/files/15197246/mapOptions.txt)
   
   
   ### Current Behavior
   
   params.data = undefined 
   
![error](https://github.com/apache/echarts/assets/30043392/ac2dbdf7-538a-4c05-a4a7-6a183a29043b)
   
   
   ### Expected Behavior
   
   i expected to have params.data = [{value: ..., flagStatus:..., code:....}, 
{value: ..., flagStatus:..., code:....}]
   
   ### Environment
   
   ```markdown
   - OS: 
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


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

To unsubscribe, e-mail: [email protected]

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