reactablefmtr
reactablefmtr copied to clipboard
Domain of color_scales?
Really enjoying reactablefmtr! Quick question: I am trying to apply color scales to a few columns in my table, but I need to specify the minimum and maximum range of values, instead of the minimum and maximum of whats in the table. In D3/gtExtras parlance, this is called the 'domain', e.g. gtExtras::gt_color_rows(..., domain = c(0, 1)). Is there an analogous argument in reactablefmtr? How would I do this?
Bumping this issue. I've been used data_bars() and the color scaling is not matching the min/max of values specified, rather it seems to be applying the color gradient according to the min/max of the actual data in the table. This is undesireable as this makes it difficult to standardize color scaling across datasets.
