R Shiny + plotly : change color of a trace with javascript without affecting markers and legend in multiple plots
问题 This is a follow up question based on THIS post. The demo app here is a closer representation of my more complex situation of my real shiny app that I'm trying to improve by replacing code that causes re- rendering of plotly objects by javascript codes that alter the existing plots . This app has: - 4 plots with unique ID's - sets of 2 plots listen to the same set of colourInputs , 1 for each trace in each plot - the legend and marker size in all plots are linked to numericInputs The