susiwen8 commented 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: {
                       show: true,
                       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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to