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/02/17 08:37:40 UTC

[GitHub] [echarts] d602221169 opened a new issue #16526: [Bug] i set the option: geo.select.label.formatter,but it doesn't take effect

d602221169 opened a new issue #16526:
URL: https://github.com/apache/echarts/issues/16526


   ### Version
   
   5.2.1
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   1.Open the example link on the Docs of echarts,
     url:https://echarts.apache.org/examples/zh/editor.html?c=geo-svg-map&version=5.2.1
   2.change the option geo.select.label to :
              {
                 show: true,
                 formatter:function(param) {
                   console.log(param)
                   return param.name + 'aaa'
                 }
               }
   3.just select any select point,you will not see any changes compared with settings before 
   
   ### Current Behavior
   
       i was making a map chart by echarts5.2.1,and i want the provincial capital on the map to have a more unique effect after being selected,so i try to use geo.select.label.formatter to  achieve this effect
      i was try it on the echarts Docs,but I have no effect after setting the formatter
   
   ### Expected Behavior
   
   i hope the option :geo.select.label.formatter can be effective
   
   ### Environment
   
   ```markdown
   - OS:windows 10
   - Browser:Chrome97.0.4692.71
   - Framework:vue@2.6.11
   ```
   
   
   ### Any additional comments?
   
   _No response_


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