Questions tagged [crosstalk]

Use this tag for asking question concerning the Crosstalk R package and cross-widget interactions with htmlwidgets.

Crosstalk

Crosstalk is a package for R that enhances the htmlwidgets package. It extends htmlwidgets with a set of classes, functions, and conventions for implementing cross-widget interactions.

Ressources

91 questions
1
vote
1 answer

Plotly bar chart with crosstalk

I have an app with two plotly outputs. I want to combine them using crosstalk. When I run the app, however whenever I click a bar in one of the plots, only half the bar is highlighted.…
sedsiv
  • 531
  • 1
  • 3
  • 15
1
vote
0 answers

How can I use crosstalk to produce a client-side summary table and graphics with filters?

The crosstalk package mentions that it is used for brushing and filtering in the description. There is however, summary widget, which allows for the calculation of a single summary statistic. Since I am able to calculate a single summary statistic…
Pake
  • 968
  • 9
  • 24
1
vote
0 answers

Crosstalk filtering of 2 DT tables with 2 filters

I am trying to replicate the functionality of an Excel pivot table using a Flexdashboard with crosstalk and DT. I need to be able to show both a data table and a summary table, and be able to apply the same filters on both tables at the same…
lagerratrobe
  • 151
  • 4
1
vote
0 answers

Connect more than one charts with the same table without affecting one another using crosstalk

I create the flexdashboard below in which I initially create four dataframes. Then three of these dataframes are displayed as charts(dcross2,store,supplier) and one (dcross1) as table. What I want to achieve is to connect all of these four objects…
firmo23
  • 7,490
  • 2
  • 38
  • 114
1
vote
0 answers

Can you aggregate data in a waterfall chart with Plotly?

I am creating an R flexdashboard with a waterfall chart that show sales over time. There is a filter_select (crosstalk) that allows you to select one group at a time. I'd like to enable multi-select and have the amount won aggregate across…
cincy637
  • 33
  • 6
1
vote
0 answers

Multiple Brush Instances when using plotly function highlight () in Shiny

I have a Shiny app that allows clustering of data using reactive variables and k clusters in the resulting plot and further highlight certain markers in the plot by search or highlight. Whenever I change the variables or K clusters it results in…
R noob
  • 495
  • 3
  • 20
1
vote
1 answer

responsive heatmap with crosstalk and leaflet in R

I want to make a map with points and a responsive heatmap using crosstalk in R. Like this: library(crosstalk) library(leaflet) library(DT) # Wrap data frame in SharedData sd <- SharedData$new(quakes[sample(nrow(quakes), 10),]) bscols( # Create a…
0
votes
1 answer

Linking two plotly charts on hover with highlight_key in R Shiny resulting in recursion problems?

I'm having an issue with linking two plotly charts in R Shiny. Very similiar example is shown here: Shiny with two plotly plots and crosstalk issue , but there highlighting is based on selecting an area. In my case, I'd like to highlight points on…
0
votes
0 answers

Dependent crosstalk filters in R flexdashboard

I have created a reactable with crosstalk filters in Flexdashboard. Is there a way to establish a dependency between the two filters without including shiny? title: "test" output: flexdashboard::flex_dashboard: orientation: columns vertical_layout:…
VR28
  • 184
  • 6
0
votes
0 answers

Issue with crosstalk and plotly: filter_checkbox not working correctly and ignoring values

I want to create a graph that shows the market share for three different shops. But I want to be able to select which shops I want to include and to have the market share then added up for the selected shops. In theory, this works with plotly and…
Felix
  • 1
  • 1
0
votes
0 answers

Nested/ cascading crosstalk filters in flexdashboard

I am trying to create "nested" (or cascading) filters using Flexdash and crosstalk. I would like to have two filters, "State", and "City", where the options for City are displayed based on the selected State. I cannot use Shiny as it is not an…
Hallie
  • 1
  • 2
0
votes
0 answers

Is TThread passing object to main thread via Synchronise OK?

I want to check the following code, in particular Execute method,to ensure it's not doing anything super dodgy. This code is Delphi 2007, btw. I am passing back to the main thread via synchronize a reference to an object (FToken) created in the…
0
votes
0 answers

Is there a way to use linked filters in a flexdashboard in R? (without shiny)

I'm trying to use linked filters in an R flexdashboard. I can't use RShiny due to GDPR. I'm hoping to create the following filters: country city borough street Where each filter will link to the next filters, meaning someone can select country as…
lilblue
  • 84
  • 7
0
votes
0 answers

crosstalk: filter_checkbox how to change font size

I started using a crosstalk package and faced an issue, which could not resolve. I have problem with changing a size of possible options in filter_checkbox, anyone know is it possible to do that? Please find below a screenshot and part of my code. I…
0
votes
0 answers

How to set-up R crosstalk filter_select "group" argument to match unlisted vector of individual character strings from shared dataframe

I am new to using the crosstalk package and I already have a unique case for which I would like to use it. I want to filter point coordinates based on any matching keyword contained in a list of keywords belonging to an individual point. I have…
Amanda W
  • 1
  • 2