apache / apache/echarts

[Feature] Set middle splitLine color on bar chart with negative value

Open
#21,002 2 comments 0 reactions 0 assignees View on GitHub
new-feature
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
15h 17m
Merged PRs (30d)
5

Description

### What problem does this feature solve?

![Image](https://github.com/user-attachments/assets/15a7377d-c020-40ed-a937-f66fd671f3c9)
xAxis.splitLine.lineStyle.color can set splitLine color except the middle one.

### What does the proposed API look like?

splitLine.lineStyle.color: function

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the bar chart case with a negative value and inspect how xAxis.splitLine.lineStyle.color is applied to the split lines, especially the middle one. Define and verify the proposed function-based color behavior, including the expected result for the middle splitLine.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.