You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/04/01 07:07:27 UTC

[GitHub] [incubator-echarts] duanluan opened a new issue #10191: map series 使用 geoIndex 指定 geo 组件时,geo 的 label.formatter 属性失效

duanluan opened a new issue #10191: map series 使用 geoIndex 指定 geo 组件时,geo 的 label.formatter 属性失效
URL: https://github.com/apache/incubator-echarts/issues/10191
 
 
   ### Version
   4.2.1
   
   ### Reproduction link
   [https://www.echartsjs.com/gallery/editor.html?c=geo-map-scatter](https://www.echartsjs.com/gallery/editor.html?c=geo-map-scatter)
   
   ### Steps to reproduce
   如[文档](https://www.echartsjs.com/option.html#geo.label.formatter)所示,geo.label.formatter 中添加 formatter 属性,此属性无效。
   
   ### What is expected?
   地图每一块的标签值随 formatter 的更改而更改。
   
   ### What is actually happening?
   标签值依旧是 series[i]-map.data[i].name 不变。
   
   ---
   ### 补充
   
   [文档 series[i]-map.geoIndex](https://www.echartsjs.com/option.html#series-map.geoIndex)中说:
   > 当设定了 geoIndex 后,series-map.map 属性,以及 series-map.itemStyle 等样式配置不再起作用,而是采用 geo 中的相应属性。
   
   <!-- 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:
users@infra.apache.org


With regards,
Apache Git Services

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