Skip to content

Is there a way in gt to positionally align inline dumbells? #159

@j-sirgo

Description

@j-sirgo

Using gt_plt_dumbbell in gtExtras left aligns all lower end values regardless of magnitude.

head(mtcars) %>% gt() %>% gt_plt_dumbbell(disp, mpg)

Image

Could there be a way to align them numerically? It appears the same_limit argument in gt_plt_dist takes care of this. Could a similar argument be added to gt_plt_dumbbell (and other plots too) to address this issue?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions