fix(matrix): label formatter not work
Brief Information
This pull request is in the type of:
- [x] bug fixing
- [ ] new feature
- [ ] others
What does this PR do?
Fix matrix label formatter not working.
demo
Fixed issues
- #21403
Details
Before: What was the problem?
matrix.x.label.formatter and matrix.y.label.formatter were ignored.
After: How does it behave after the fixing?
Label formatter now works correctly for matrix axes.
Document Info
- [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
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
test/matrix-label-formatter.html
Merging options
- [x] Please squash the commits into a single one when merging.
Other information
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.
Please DO NOT commit the files in dist, i18n, and ssr/client/dist folders in a non-release pull request. These folders are for release use only.
The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-21410@819208a
Congratulations! Your PR has been merged. Thanks for your contribution! 👍