Skip to content

Conversation

@100pah
Copy link
Member

@100pah 100pah commented Jan 15, 2026

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

Follow @plainheart provided fixing code,

valueFormatter callback param dataIndex should be rawDataIndex rather than dataZoom filtered dataIndex.

Fixed issues

Fix #21477 .

Details

Before: What was the problem?

After: How does it behave after the fixing?

Document Info

Breaking change hints is required in changelog.

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

…x rather than dataZoom filtered dataIndex. Close #21477 .
@echarts-bot
Copy link

echarts-bot bot commented Jan 15, 2026

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.

The pull request is marked to be PR: author is committer because you are a committer of this project.

To reviewers: If this PR is going to be described in the changelog in the future release, please make sure this PR has one of the following labels: PR: doc ready, PR: awaiting doc, PR: doc unchanged

This message is shown because the PR description doesn't contain the document related template.

@plainheart plainheart merged commit 612fb4b into release Jan 15, 2026
1 of 2 checks passed
@plainheart plainheart deleted the fix-tooltip-valueformatter branch January 15, 2026 16:20
@echarts-bot
Copy link

echarts-bot bot commented Jan 15, 2026

Congratulations! Your PR has been merged. Thanks for your contribution! 👍

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.

[Bug] dataIndex in tooltip.valueFormatter is not absolute when zooming

2 participants