Skip to content
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

[Feature] markLine label auto position #699

Closed
da730 opened this issue Aug 29, 2023 · 1 comment
Closed

[Feature] markLine label auto position #699

da730 opened this issue Aug 29, 2023 · 1 comment
Assignees
Labels
bp enhancement New feature or request
Milestone

Comments

@da730
Copy link
Contributor

da730 commented Aug 29, 2023

What problem does this feature solve?

when markline.autoRange=true, label of the markline will be clipped:
image

the position of the label should be auto changed to avoid clip like this:
image

It will first use the position in label.position if it can be fully displayed.

What does the proposed API look like?

markline:{
autoRange:true,
label:{
autoPosition:true
}

}

@da730 da730 added enhancement New feature or request bp labels Aug 29, 2023
@kkxxkk2019 kkxxkk2019 added this to the v1.4.0 milestone Sep 8, 2023
kkxxkk2019 added a commit that referenced this issue Sep 12, 2023
@kkxxkk2019 kkxxkk2019 mentioned this issue Sep 12, 2023
20 tasks
@kkxxkk2019
Copy link
Collaborator

label 上配置 confine: true 即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bp enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants