VisActor / VisActor/VChart

[Bug] 切换主题时,好像是做的合并操作?导致有些样式会受到上一个主题影响

Open
#4,356 1 comment 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.10

Link to Minimal Reproduction

https://www.visactor.io/vchart/demo/theme/theme-style

Steps to Reproduce

官网图表示例的不同风格的主题注册、切换就能复现

Current Behavior

从火山蓝切换到内置亮色主题

Expected Behavior

主题正确的被切换,比如柱状图的柱子的透明色变成亮色主题的纯色

Environment
- OS: Win11
- Browser: Chrome 143.0.7499.40
- 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 minimal reproduction at https://www.visactor.io/vchart/demo/theme/theme-style and reproduce switching from 火山蓝 to the built-in light theme. Trace the theme registration and switching path to determine why styles are merged, then verify that properties such as bar transparency are fully replaced by the light-theme values.

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.