Skip to content

Allow customizing font size in gt_plt_sparkline() #154

@rossellhayes

Description

@rossellhayes

Prework

Proposal

The numeric labels produced by gt_plt_sparkline() are by default very small. It would be useful to add an argument that would set a custom font size. See e.g. the very small labels below:

mtcars %>%
    dplyr::group_by(cyl) %>%
    dplyr::summarize(mpg_data = list(mpg), .groups = "drop") %>%
    gt() %>%
    gt_plt_sparkline(mpg_data)
Image

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