You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/11/30 11:39:43 UTC

[GitHub] [echarts] MrSquaare opened a new issue, #18000: [Feature] Get a list of associated data in tooltip formatter for map chart

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

   ### What problem does this feature solve?
   
   Currently, it is impossible to have a list of data related to a map name
   
   Example:
   For country A, there is two values : 1 and 2
   
   ```js
   option = {
     // ...
     series: {
       type: "map",
       map: "map name",
       // ...
       data: [
         { name: "CountryA", value: 1 },
          { name: "CountryA", value: 2 },
       ],
     },
   }
   ```
   
   `tooltip.formatter` will return only one of the data (actually, the first one)
   
   ### What does the proposed API look like?
   
   A new map-specific tooltip option
   
   Example: `mapGroup: "country" | "data"`


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] Ovilia closed issue #18000: [Feature] Get a list of associated data in tooltip formatter for map chart

Posted by GitBox <gi...@apache.org>.
Ovilia closed issue #18000: [Feature] Get a list of associated data in tooltip formatter for map chart
URL: https://github.com/apache/echarts/issues/18000


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] Ovilia commented on issue #18000: [Feature] Get a list of associated data in tooltip formatter for map chart

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #18000:
URL: https://github.com/apache/echarts/issues/18000#issuecomment-1333038332

   Tooltip should not contain the overall data. You should keep the data by yourself.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org