Skip to content

Crosstalk Slider will not invert #162

@mrrajahasky

Description

@mrrajahasky

I'm trying to create a crosstalk slider that runs from the largest value on the left to the smallest value on the right in quarto. Attempts to do so have led to a slider that has only the maximum value at all ticks, and I've got a minimum reproducible example below.

---
title: "Untitled"
format: html
editor: source
---
```{r}
library(crosstalk)

sd <- SharedData$new(mtcars)

filter_slider("mpg", "mpg", sd, ~mpg, min = 33.9, max = 10.4)

Image

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