Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.text.align_center
On this pageSignatureReturnsExample

Drawing / Reference

alerta.text.align_center

TradingView-compatible spelling: text.align_center, runs without warnings

Pine v6: Center horizontal alignment.

alerta.text.align_center → string

Value

center

Returns

string

Example

alerta.text.align_center
var t = table.new("top_right", 1, 1)table.cell(t, 0, 0, "x")table.cell_set_text_halign(t, 0, 0, text.align_center)

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.