🥰 Label支持展示全部区域或者有数据的区域
- Dominant language
- TypeScript
- Stars
- 91
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
目前Choropleth区域图的label,默认都是全部展示.

但是有时候我们只希望传入的数据,展示label。
目前我的做法是给传入的数据新增一个字段叫dimensionName,然后把label的字段映射成dimensionName,从而实现只展示有数据的label。

希望可以给Label添加一个属性

Contributor guide
Research direction
Start at the Choropleth label configuration and the data-to-label mapping described in the issue. Define how the requested label property distinguishes all regions from regions with data, then verify that labels appear only for populated regions while the existing default behavior remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100