Skip to content

fix(visualMap): fix dark mode should not provide inRange#21114

Merged
100pah merged 1 commit intomasterfrom
fix-dark-visualMap
Jul 17, 2025
Merged

fix(visualMap): fix dark mode should not provide inRange#21114
100pah merged 1 commit intomasterfrom
fix-dark-visualMap

Conversation

@Ovilia
Copy link
Contributor

@Ovilia Ovilia commented Jul 17, 2025

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

When inRange.color was defined in dark theme, it may break the case where color isn't intended to use visualMap.

Fixed issues

Details

Before: What was the problem?

v6 dark theme breaks the example at https://echarts.apache.org/examples/zh/editor.html?c=scatter-aqi-color .

scatter-aqi-color

After: How does it behave after the fixing?

image

Document Info

One of the following should be checked.

  • This PR doesn't relate to document changes
  • The document should be updated later
  • The document changes have been made in apache/echarts-doc#xxx

Misc

ZRender Changes

  • This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

N.A.

Others

Merging options

  • Please squash the commits into a single one when merging.

Other information

@github-actions
Copy link
Contributor

The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-21114@ccf4996

@100pah 100pah merged commit c0b6b2b into master Jul 17, 2025
2 checks passed
@100pah 100pah deleted the fix-dark-visualMap branch July 17, 2025 13:34
@Ovilia Ovilia added this to the 6.0.0 milestone Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants