VisActor / VisActor/VChart

[Bug] If use inside-inner, your default color modify to black when strokeOpacity > 0 (PieChart)

Open
#4,236 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
1.8k
Forks
221
Avg merge
1d 6h
Merged PRs (30d)
26

Description

Version

2.0.*

Link to Minimal Reproduction

https://www.visactor.com/vchart/playground?specId=8177993264&timestamp=1760808452015&version=2.0.0&theme=light

Steps to Reproduce

label: {
visible: true,
formatter: '{percent}%',
position: 'inside-inner',
// offsetRadius: 25,
rotate: false,
line: { visible: true },
style: {
backgroundOpacity: 0,
fillOpacity: 1,
lineWidth: 3,
strokeOpacity: 1,
stroke: '#ffffff',
fontSize: 14,
fontWeight: 'bold',
// dy: 20,
// dx: -10
}
},

Current Behavior

mark as black

Expected Behavior

mark as segment colors

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

Contributor guide

Open the contributing guide

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.

Research direction

Start with the linked VChart playground reproduction and the PieChart label configuration using position inside-inner and strokeOpacity: 1. Trace how label styles determine the rendered fill or stroke, then verify that the label uses its segment color instead of black while preserving the requested stroke settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.