echarts icon indicating copy to clipboard operation
echarts copied to clipboard

fix(symbol): add rotate argument to correct text positioning issues

Open ogabz12345 opened this issue 8 months ago • 1 comments

Brief Information

This pull request is in the type of:

  • [x] bug fixing
  • [x] new feature
  • [ ] others

What does this PR do?

Add rotate argument to createSymbol to correct text position issues

Fixed issues

14718

Details

Before: What was the problem?

Text position is not in right place when Pin Symbol rotates as shown in Issue 14718

After: How does it behave after the fixing?

The texts is centred properly.

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

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

ogabz12345 avatar Jun 12 '25 15:06 ogabz12345

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.

⚠️ MISSING DOCUMENT INFO: Please make sure one of the document options are checked in this PR's description. Search "Document Info" in the description of this PR. This should be done either by the author or the reviewers of the PR.

echarts-bot[bot] avatar Jun 12 '25 15:06 echarts-bot[bot]

will do.

ogabz12345 avatar Jun 17 '25 10:06 ogabz12345