antvis / antvis/G2

[Seeking Guidance, v4/v5] - Automatic Placement of Annotations

Open
#4,548 3 comments 1 reaction 1 assignee Claimed by @pearmini View on GitHub
v5
Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Is there any automatic placement strategies built into G2 to keep annotations from overlapping with marks / other annotations? I'm evaluating whether or not we will have to write something ourselves to be able to keep the automatically annotated graphs clean.

E.g. if I have four annotations, and I say that they all point at one particular point, is there any sort of placement / automatic adjustment feature built into G2 that would allow the annotations to be positioned without overlapping?

If not is this something that would be considered for the future / is there any placement strategies or algorithms you would recommend to implement this myself?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.