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

direct labels aligned boxes qp solver #174

Open
tdhock opened this issue Dec 3, 2024 · 0 comments
Open

direct labels aligned boxes qp solver #174

tdhock opened this issue Dec 3, 2024 · 0 comments

Comments

@tdhock
Copy link
Collaborator

tdhock commented Dec 3, 2024

in R we have library(quadprog) which we use in directlabels::last.polygons etc https://tdhock.github.io/directlabels/docs/lineplot/posfuns/last.polygons.html
to do that in javascript we could use https://github.com/albertosantini/quadprog
it would probably be better to introduce a new geom for that, geom_label_column etc? with aes x, y, color, fill, label (top/bottom of box calculated based on label text and y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant