Skip to content

defaultValues doesn't respect numeric values #1191

@cpsievert

Description

@cpsievert
TX <- crosstalk::SharedData$new(txhousing, ~year)
p <- ggplot(TX, aes(month, median, group = year)) + geom_line() +
  facet_wrap(~city, ncol = 2)
highlight(ggplotly(p), dynamic = TRUE, selectize = TRUE, defaultValues = 2006)
  • Always transmit strings? How to handle list-columns?
  • How to set things a different color? Named list (e.g, defaultValues = list(red = 2006, blue = 2014))?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions