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 2018/04/12 00:49:21 UTC

[GitHub] hl-stone commented on issue #7992: 地图的标签内容格式器不生效

hl-stone commented on issue #7992: 地图的标签内容格式器不生效
URL: https://github.com/apache/incubator-echarts/issues/7992#issuecomment-380639764
 
 
   @chfw 确实是有问题,使用如下代码,选中中间根本不好使,难道要采用 data 里面的 selected 吗?
   geo: {
         show: true,
         type: "map",
         map: "world",
         roam: false,
         nameMap: nameMap,
         label: {
           normal: { show: false, color: "#fff" },
           emphasis: { show: true, color: "#fff" }
         },
         itemStyle: {
           normal: { areaColor: "#0583e9", borderColor: "#1ab7fd" },
           emphasis: { areaColor: "#2a333d" }
         },
   	  regions:[{
   		name: '中国',
   		itemStyle:{
   			areaColor: 'red'
   		},
   		label:{
   			show: true
   		}
   	  }]
       },

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