table.cell_set_tooltip() - Pine Script Function
table.cell_set_tooltip()
Section titled “table.cell_set_tooltip()”Overview
Section titled “Overview”The function sets the tooltip in the specified cell.
Syntax
Section titled “Syntax”table.cell_set_tooltip(table_id, column, row, tooltip) → voidParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| table_id | series table | A table object. |
Examples
Section titled “Examples”Example 1
Section titled “Example 1”//@version=6indicator("TABLE example")var tLog = table.new(position = position.top_left, rows = 1, columns = 2, bgcolor = color.yellow, border_width=1)table.cell(tLog, row = 0, column = 0, text = "sometext", text_color = color.blue)table.cell_set_tooltip(tLog, row = 0, column = 0, tooltip = "sometext")