[Feature] lableLayout supports color to dynamic set the inside and outside color

Open
#21,593 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript

Research direction

Start by locating the labelLayout API and the label-rendering entry point for bar charts. Trace how label positions are dynamically applied, then determine how the proposed labelLayout.color value should control inside and outside label colors. Done means the API supports dynamic color selection and the behavior is covered by the relevant chart tests.

Written by the indexing model from the issue text.

Description

en new-feature pending
What problem does this feature solve?

在柱状图中有可能出现inside label展示补全,目前通过labelLayout 动态设置label位置,希望也能动态设置label color

What does the proposed API look like?

labelLayout.color

Dominant language
TypeScript
Stars
67.7k
Forks
19.9k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/echarts

All issues in apache/echarts

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.