echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] Can't get the height and width of the rectangle when using series->type:treemap->label:formatter function

Open dannishushu opened this issue 1 year ago • 0 comments

Version

5.4.3

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=treemap-show-parent

Steps to Reproduce

1: import * as echarts from 'echarts' chart = proxy.$echarts.init(document.getElementById('myEcharts'),

2: treemap

3: chart.setOption->label->formatter:params

Current Behavior

Can't get the height and width of the rectangle when using series->type:treemap->label:formatter function

Expected Behavior

Get the height and width of the rectangle when using series->type:treemap->label:formatter function

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

dannishushu avatar Apr 12 '24 02:04 dannishushu