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

Drawing / Reference

alerta.table.set_border_width

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

Pine v6: set the outer frame width in pixels.

alerta.table.set_border_width(table_id, border_width) → void

Parameters

NameTypeRequiredDefaultDescription
table_idtableYes—Table handle.
border_widthintYes—Border width (px).

Returns

void

Example

alerta.table.set_border_width
var t = table.new("top_right", 2, 2)table.set_border_width(t, 2)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.