Skip to content
Algo Trade Analytics Docs

table.cell_set_text_font_family() - Pine Script Function

The function sets the font family of the text inside the cell.

table.cell_set_text_font_family(table_id, column, row, text_font_family) → void
NameTypeDescription
table_idseries tableA table object.
//@version=6
indicator("Example of setting the table cell font")
var t =
table.new(position.top_left, rows = 1, columns = 1)table.cell(t, 0, 0, "monospace", text_color = color.blue)table.cell_set_text_font_family(t, 0, 0, font.family_monospace)