Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.table.set_border_color
On this pageSignatureParametersReturnsExample

Drawing / Reference

alerta.table.set_border_color

TradingView-compatible spelling: table.set_border_color, runs without warnings

Pine v6: set the outer border / frame color.

alerta.table.set_border_color(table_id, border_color) → void

Parameters

NameTypeRequiredDefaultDescription
table_idtableYes—Table handle.
border_colorcolorYes—Border color.

Returns

void

Example

alerta.table.set_border_color
var t = table.new("top_right", 2, 2)table.set_border_color(t, color.white)if barstate.islast    table.cell(t, 0, 0, "Styled cell", text_color=chart.fg_color)    table.cell(t, 1, 0, "Second cell", text_color=chart.fg_color)

Names and aliases

Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.

AlertaScript

No results found.

Search by name, alias, or keyword.