echarts icon indicating copy to clipboard operation
echarts copied to clipboard

geo.label.formatter params return {name:'cityName',status:'normal'}

Open crushh opened this issue 3 years ago • 3 comments

Version

4.9.0

Reproduction link

https://www.makeapie.com/editor.html?c=xORmXghiRB&v=2

Steps to reproduce

Open the console and view the parameters printed by the formatter function

What is expected?

The parameters are consistent with what the document says

What is actually happening?

only return {name:'cityName',status:'normal'}

crushh avatar Dec 22 '20 11:12 crushh

Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

echarts-bot[bot] avatar Dec 22 '20 11:12 echarts-bot[bot]

I look up the code https://github.com/apache/echarts/blob/master/src/coord/geo/GeoModel.ts#L264, Looks like {name:'cityName',status:'normal'} was by design. Maybe we should correct the doc?

susiwen8 avatar Jun 04 '21 13:06 susiwen8

I also get same issue,how I do that? I want formatter:function(params){ } params.data.value and params.data.name

duriancashewTasty avatar Aug 03 '22 06:08 duriancashewTasty

image different from the document backdata {name: 'as1', status: 'normal'}

HCenggel avatar Aug 11 '22 03:08 HCenggel