antvis / antvis/G2Plot

🤔 [QUESTION] Is it possible to set a different color scheme for a single bar of Bullet chart?

Open
#3,644 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Question description

Hi! I need to set a different color scheme for a single bar of Grouped Bullet plot. How can I do that?
Thank you!

### 💻 Link to minimal reproduction

[g2plot](https://g2plot.antv.antgroup.com/en/examples/progress-plots/bullet/#grouped)

[codesandbox](https://codesandbox.io/api/v1/sandboxes/define)

### 🏞 Expected result

![image](https://github.com/antvis/G2Plot/assets/46863533/9b5ca6c2-a6bf-4afa-8bc5-531a7f394d7f)

### 🚑 Any additional [like screenshots]

* **G2Plot Version**: last
* **Platform**: react

Contributor guide

Open the contributing guide

Research direction

Start with the linked G2Plot grouped bullet example and inspect the chart configuration used there. Determine whether a single bar can receive a distinct color scheme, and define the relevant configuration or limitation clearly; the issue is done when the requested behavior is supported or its usage is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.