defaultValues doesn't respect numeric values
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
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))?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the supplied R example using crosstalk::SharedData$new, ggplotly(), and highlight() with defaultValues = 2006. Trace how defaultValues is handled, then clarify expected behavior for numeric values, strings, list-columns, and named color values; the issue is done when those cases have an agreed, tested outcome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100