Drawing / Reference
alerta.box.set_text_size
TradingView-compatible spelling: box.set_text_size, runs without warnings
Updates size of box text.
alerta.box.set_text_size(id, text_size) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | box handle | Yes | — | Target box handle. |
text_size | string | Yes | — | tiny | small | normal | large | huge |
Returns
voidExample
alerta.box.set_text_size
bx = box.new(bar_index - 5, high, bar_index, low)box.set_text_size(bx, "small")Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.