Lipi Reference
Lipi

Functions

table.cell_set_text_font_family()

Sets the font family of an existing cell.

Syntax

                table.cell_set_text_font_family(series table id, series int column, series int row, series string text_font_family) → void
              

Arguments

id required series table Table object.
column required series int 0-based column.
row required series int 0-based row.
text_font_family required series string Font family name.

Return Type

void

Example


          //@lipi=2
indicator("table.cell_set_text_font_family Example")
if barstate.islast {
    t = table.new(position.top_right, 1, 1)
    table.cell(t, 0, 0, text="Hello")
    table.cell_set_text_font_family(t, 0, 0, "default")
}