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/06/13 03:27:20 UTC

[GitHub] [incubator-echarts] susiwen8 edited a comment on issue #10666: Fix #8489 geo.label.formatter is not working

susiwen8 edited a comment on issue #10666: Fix #8489 geo.label.formatter is not working
URL: https://github.com/apache/incubator-echarts/pull/10666#issuecomment-501534181
 
 
   @nihaolfccc 
   For now you can write like this 
                   label: {
                       emphasis: {
                           show: true,
                           formatter: function (params) {
                               console.log(params)
                               return params.name + '123';
                           }
                       },
                       normal: {
                           show: true,
                           formatter: function (params) {
                               console.log(params)
                               return params.name + '1234';
                           }
                       }
                   },

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