apache / apache/echarts

[Feature] legend.formatter

Open
#21,730 0 comments 0 reactions 0 assignees View on GitHub
en new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

```
legend.formatter(name) ----------> legend.formatter(name,serieName) or legend.formatter(name,serieOption)

```

### What does the proposed API look like?

```
legend.formatter(name,serieName)
```

or
```
series:{

legendFormatter(name){
}
}
```

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing legend.formatter API and how legend labels are generated for different series. Compare the proposed formatter(name, serieName) and series.legendFormatter(name) options, then identify the expected behavior and coverage needed for the selected API before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.