Skip to content

Fix matrix label API #21108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 16, 2025
Merged

Fix matrix label API #21108

merged 4 commits into from
Jul 16, 2025

Conversation

100pah
Copy link
Member

@100pah 100pah commented Jul 16, 2025

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

  • Support option.textStyle as the default.
  • Fix the quick path of query the host of the merged cell does not work.
  • Tolerate coord input like [['x1', 'x2', 'x3'], ...], where 'x1' and 'x3' is considered the range boundary.
  • Disable the default clamp in matrix.body/corner.data[i].coord, because it consider the illegal input as "refer to the entire row/column", which is more likely to mislead users and no error message. And it is inconsistent with the default behavior of chart.convertToLayout (where clamp is disabled by default). Introduce option matrix.body/corner.data[i].coordClamp to enable it.

Test

No unexpected result in visual test:

Visual Regression Test Report 20250716.html.zip

Doc

Updated in:
apache/echarts-doc commit: 5f3930c766b19e0d6be499d621c543b4c55c1707

100pah added 4 commits July 15, 2025 21:13
…atrix4.html`, as the previous is too long to visual test regression. (2) Fix test case for coordClamp.
…, where 'x1' and 'x3' is considered the range boundary. (2) Disable the default clamp in `matrix.body/corner.data[i].coord`, because it consider the illegal input as "refer to the entire row/column", which is more likely to mislead users and no error message. Introduce option `matrix.body/corner.data[i].coordClamp` to enable it.
Copy link
Contributor

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

@100pah 100pah merged commit 0f3b25b into master Jul 16, 2025
2 checks passed
@100pah 100pah deleted the fix/matrix-label-api branch July 16, 2025 09:15
@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