szymonpachucki opened a new pull request, #21220: URL: https://github.com/apache/echarts/pull/21220
## Brief Information This pull request is in the type of: - [x] bug fixing - [ ] new feature - [ ] others ### What does this PR do? Now we can use indexes of custom values in formatter of axisLabel. ### Fixed issues [<!-- - #21216: -->](https://github.com/apache/echarts/issues/21216) ## Details We were not passing indexes to labelFormatter so when trying to use them in custom formatter we were just getting undefined. ### Before: What was the problem? On demo provided in the issue nothing would load due to using undefined in indexing. ### After: How does it behave after the fixing? <img width="1035" height="372" alt="Screenshot 2025-08-24 at 14 36 18" src="https://github.com/user-attachments/assets/71793665-0708-48ce-a5ba-81c6c8a634cb" /> ## Document Info One of the following should be checked. - [x] 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 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
