Functions
table.set_bgcolor()
Sets the table background color.
Syntax
table.set_bgcolor(series table id, series color color) → void
Arguments
id required series table Table object. color required series color New table background color. Return Type
void Example
//@lipi=2
indicator("table.set_bgcolor Example")
if barstate.islast {
t = table.new(position.top_right, 1, 1)
table.cell(t, 0, 0, text="Hi")
table.set_bgcolor(t, color.navy)
}