Fills the background of a column cell using a bar proportional to the value of the cell
rule_fill_bar( x, columns, expression, low = "darkgreen", high = "white", background = "white", na.value = "gray", limits = NA, lockcells = FALSE )
A condformat object, typically created with
A character vector with column names to be coloured. Optionally
an expression to be evaluated with the data. It should evaluate to a numeric vector, that will be used to determine the colour gradient level.
Colour for the beginning of the bar
Colour for the end of the bar
Background colour for the cell
Colour for missing values
range of limits that the gradient should cover
logical value determining if no further rules should be applied to the affected cells.
The condformat_tbl object, with the added formatting information