Skip to content

Conversation

@mynk2611
Copy link
Contributor

@mynk2611 mynk2611 commented Nov 2, 2025

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

Reverses the default color order of axis.splitArea to fix a rendering bug on heatmaps with empty data.This fix works for both the Canvas and SVG renderers.

Fixed issues

Details

Before: What was the problem?

The color of the top-left block is inconsistent with the rest of its column.

Image

After: How does it behave after the fixing?

The color is now consistent for both SVG and Canvas renderers.

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

Security Checking

  • This PR uses security-sensitive Web APIs.

ZRender Changes

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

Related test cases or examples to use the new APIs

N.A.

Merging options

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

Other information

@echarts-bot
Copy link

echarts-bot bot commented Nov 2, 2025

Thanks for your contribution!
The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant